Skip to content

Conversation

@alexwizp
Copy link
Contributor

@alexwizp alexwizp commented Apr 4, 2020

Dev-Docs

Mark chartResolution and minimumBucketSize as deprecated configuration properties for TSVB 👋

In #9725 TSVB visualization was added to Kibana. Also in this PR we can find that 2 configuration properties were declared: chartResolution and minimumBucketSize. The problem is that until today no one has started using these properties, an implementation has not been added

@alexwizp alexwizp self-assigned this Apr 4, 2020
@alexwizp alexwizp added Feature:TSVB TSVB (Time Series Visual Builder) Team:Visualizations Team label for Lens, elastic-charts, Graph, legacy editors (TSVB, Visualize, Timelion) t// labels Apr 4, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app (Team:KibanaApp)

@alexwizp alexwizp added v7.8.0 v8.0.0 release_note:plugin_api_changes Contains a Plugin API changes section for the breaking plugin API changes section. labels Apr 4, 2020
@flash1293
Copy link
Contributor

I don't feel comfortable removing these in a minor version - if an installation still has these settings set, Kibana won't start for them. My suggestion:

This will have the following effect when a user still has these settings: Kibana will still start but log a warning that the setting is unused. With 8.0 we can remove the setting completely and add it to the breaking changes list.

@alexwizp alexwizp marked this pull request as ready for review April 6, 2020 12:22
@alexwizp alexwizp requested a review from a team as a code owner April 6, 2020 15:43
@alexwizp
Copy link
Contributor Author

alexwizp commented Apr 6, 2020

@elasticmachine merge upstream

@cjcenizal cjcenizal self-requested a review April 6, 2020 17:47
Copy link
Contributor

@cjcenizal cjcenizal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested the changes to the Rollup plugin locally, code LGTM.

@flash1293
Copy link
Contributor

This test failure is probably legit, the infra app has a dependency on the metrics/vis_type_timeseries plugin. The reference has to be renamed.

@alexwizp alexwizp requested a review from a team as a code owner April 7, 2020 07:03
@alexwizp
Copy link
Contributor Author

alexwizp commented Apr 7, 2020

ping @elastic/logs-metrics-ui

@alexwizp
Copy link
Contributor Author

alexwizp commented Apr 8, 2020

@elasticmachine merge upstream

@flash1293
Copy link
Contributor

flash1293 commented Apr 9, 2020

I tested this PR and it looks and works fine - one thing I noticed though is that if you just use visTypeTimeseries.enabled: false, then the server will be gone but the visualization will still show up because it's still in the legacy plugin (you would have to use it along with metrics.enabled: false to disable everything).

@alexwizp what do you think about parking this PR till we moved the rest of timeseries over? This will very likely happen next week as there are no more blockers.

@alexwizp
Copy link
Contributor Author

alexwizp commented Apr 9, 2020

@flash1293 np, let's parking it =)

# Conflicts:
#	src/legacy/core_plugins/vis_type_timeseries/index.ts
#	x-pack/legacy/plugins/rollup/server/plugin.ts
@alexwizp alexwizp requested a review from a team April 15, 2020 16:26
@kibanamachine
Copy link
Contributor

💚 Build Succeeded

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

Copy link
Contributor

@flash1293 flash1293 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, bye bye metrics plugin

Copy link
Contributor

@Zacqary Zacqary left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good from the infra side

@alexwizp alexwizp merged commit 871f720 into elastic:master Apr 16, 2020
alexwizp added a commit to alexwizp/kibana that referenced this pull request Apr 16, 2020
* [Timeseries] remove unused configuration properties

* Fix PR comments

* update id of vis_type_timeseries plugin

* metrics -> vis_type_timeseries

* fix wrong plugin id

* update requiredPliugins for infra/kibana.json

* change id

* update plugin id in infra folder

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
alexwizp added a commit that referenced this pull request Apr 16, 2020
* [Timeseries] remove unused configuration properties

* Fix PR comments

* update id of vis_type_timeseries plugin

* metrics -> vis_type_timeseries

* fix wrong plugin id

* update requiredPliugins for infra/kibana.json

* change id

* update plugin id in infra folder

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Feature:TSVB TSVB (Time Series Visual Builder) release_note:plugin_api_changes Contains a Plugin API changes section for the breaking plugin API changes section. Team:Visualizations Team label for Lens, elastic-charts, Graph, legacy editors (TSVB, Visualize, Timelion) t// v7.8.0 v8.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants