Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Lens] Time scaling without date histogram #79656

Closed
flash1293 opened this issue Oct 6, 2020 · 3 comments · Fixed by #140107
Closed

[Lens] Time scaling without date histogram #79656

flash1293 opened this issue Oct 6, 2020 · 3 comments · Fixed by #140107
Assignees
Labels
enhancement New value added to drive a business result Feature:Lens Team:Visualizations Visualization editors, elastic-charts and infrastructure WIP Work in progress

Comments

@flash1293
Copy link
Contributor

In #77811 the option to apply a time unit to the value of a time series is discussed (e.g. per hour, per day independent of the underlying Elasticsearch interval).

The same function could also be provided for non-timebased charts as long as a time range filter can be applied because the used index pattern has a configured default timefield.

In this case the time scaling would behave as if the complete time range is a single large bucket and scaled accordingly.

A visualization which can be realized using this is to show the rate of ingested documents per hour for the complete current time range by using a metric visualization on count with time scale applied to it.

@flash1293 flash1293 added enhancement New value added to drive a business result Team:Visualizations Visualization editors, elastic-charts and infrastructure Feature:Lens labels Oct 6, 2020
@elasticmachine
Copy link
Contributor

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

@flash1293
Copy link
Contributor Author

@flash1293
Copy link
Contributor Author

@alexwizp alexwizp self-assigned this Sep 1, 2022
@alexwizp alexwizp added the WIP Work in progress label Sep 6, 2022
alexwizp added a commit to alexwizp/kibana that referenced this issue Sep 6, 2022
alexwizp added a commit to alexwizp/kibana that referenced this issue Sep 7, 2022
kibanamachine added a commit to alexwizp/kibana that referenced this issue Sep 7, 2022
kibanamachine added a commit to alexwizp/kibana that referenced this issue Sep 8, 2022
kibanamachine added a commit to alexwizp/kibana that referenced this issue Sep 12, 2022
kibanamachine added a commit to alexwizp/kibana that referenced this issue Sep 14, 2022
kibanamachine added a commit to alexwizp/kibana that referenced this issue Sep 14, 2022
kibanamachine added a commit to alexwizp/kibana that referenced this issue Sep 14, 2022
alexwizp added a commit that referenced this issue Sep 15, 2022
* [Lens] Time scaling without date histogram

Closes: #79656

* cleanup

* fix observability tests

* fix scale_fn jest

* add test

* fix PR comments

* fix PR comment

* remove adjustTimeScaleOnOtherColumnChange

* add reducedTimeRange argument into time_scale

Co-authored-by: Kibana Machine <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New value added to drive a business result Feature:Lens Team:Visualizations Visualization editors, elastic-charts and infrastructure WIP Work in progress
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants