-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
metric_type
does not work for all the expected fields
#148057
Comments
Pinging @elastic/fleet (Team:Fleet) |
cc @juliaElastic @nchaulet - I don't have a great understanding of the specifics for the |
I wasn't aware that more types support
@ruflin I'm not really sure what do you mean, could you clarify? |
Under
|
Ah yes, |
I'm currently running
8.7.0-SNAPSHOT
and played around with the TSDB metrics fields. I modified the integration package and added themetric_type: gauge
and counter to various fields but the outcome is not persistent. Looking closer, it looks liketime_series_metric
is only applied to fields that are scaled_float but it should apply to a much broader range of fields: https://www.elastic.co/guide/en/elasticsearch/reference/current/tsds.html#time-series-metric Looking at the code, it seems the time_series_metric part is only implemented for scaled_float. This was implemented in #126322Few questions:
Examples
The fields .yml looks as following:
The resulting json template:
The text was updated successfully, but these errors were encountered: