-
Notifications
You must be signed in to change notification settings - Fork 526
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
Store various metrics (sum,count,etc) as aggregate_metric_double #4612
Comments
👍 I'd like to introduce explicit types for metrics, one of which would be "summary" ("aggregate"?) or similar, which would enable bundling these together. We probably won't be able to change existing metrics until 8.0 though. |
We should also consider setting |
I think we should defer this a bit longer (post 8.0), until Elasticsearch TSDB work has firmed up a bit more. I'd like to avoid having to migrate twice, if there are any fundamental changes to summary types. |
In 7.11 Elasticsearch added an
aggregate_metric_double
field type:We could consider doing this for breakdown and span metrics as well. Storage cost might be lower but selfishly/more importantly, it means we can just use an avg aggregation on a field rather than a sum + count aggregation and some Kibana-side post-processing:
This field type is also used by rollups I think.
See https://www.elastic.co/guide/en/elasticsearch/reference/master/aggregate-metric-double.html
The text was updated successfully, but these errors were encountered: