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

Add std_dev aggregation for metric visualization #20084

Closed
joejuzl opened this issue Jun 20, 2018 · 4 comments
Closed

Add std_dev aggregation for metric visualization #20084

joejuzl opened this issue Jun 20, 2018 · 4 comments
Labels
enhancement New value added to drive a business result Feature:Aggregations Aggregation infrastructure (AggConfig, esaggs, ...) Team:Visualizations Visualization editors, elastic-charts and infrastructure

Comments

@joejuzl
Copy link

joejuzl commented Jun 20, 2018

Kibana version:
6.1.1

Elasticsearch version:
6.1.1

Describe the bug:

This exact bug #13267 seems to have recurred in 6.1.1

@lukasolson lukasolson added Feature:Visualizations Generic visualization features (in case no more specific feature label is available) triage_needed labels Jun 20, 2018
@timroes timroes changed the title Missing aggregations for metric visualisation Add std_dev aggregation for metric visualization Jun 20, 2018
@timroes timroes added Feature:Aggregations Aggregation infrastructure (AggConfig, esaggs, ...) enhancement New value added to drive a business result and removed triage_needed labels Jun 20, 2018
@timroes
Copy link
Contributor

timroes commented Jun 20, 2018

Just for the information why this vanished: We merged gauge and metric implementation in 5.6, but had to revert it again in 6.1, due to several issues, so that got lost by reverting that implementation again.

@joejuzl
Copy link
Author

joejuzl commented Jun 20, 2018

Thanks for in the info @timroes. Just to clarify after the title change - I think the list of missing aggs is: std_dev, percentiles, percentile_ranks, serial_diff, moving_avg, cumulative_sum.

@timroes timroes added Team:Visualizations Visualization editors, elastic-charts and infrastructure and removed Team:Visualizations Visualization editors, elastic-charts and infrastructure Feature:Visualizations Generic visualization features (in case no more specific feature label is available) labels Sep 16, 2018
@wylieconlon
Copy link
Contributor

I assume that for a metric visualization we would want the single-value extended_stats.std_deviation, while the default "Standard deviation" aggregation today includes upper and lower bounds. I can imagine two potential fixes:

  • Always use the single-value standard deviation, which should enable it in the Metric vis
  • Implement a second kind of Std deviation aggregation which is single-value

@stratoula
Copy link
Contributor

This is possible in Lens metric
image

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:Aggregations Aggregation infrastructure (AggConfig, esaggs, ...) Team:Visualizations Visualization editors, elastic-charts and infrastructure
Projects
None yet
Development

No branches or pull requests

5 participants