We have various types of metrics:
- system metrics (e.g. memory usage, cpu usage)
- transaction breakdown/duration metrics
- span metrics
IIRC, a user might have also have custom metrics.
Currently we don't really have a way to tell what kind of metric a document is. This makes it a little harder to write efficient queries, as we have to add safe-guards to make sure that a certain field is present. It's also a (small) burden on maintenance, and we've found that it's hard for us to understand how we should get the data we need.
It would help if a field was added that identified the type of metrics, e.g. metric.type:transaction_duration. There might be just a group, but maybe a sub-group as well.
See also: elastic/kibana#75881 and #4004.
We have various types of metrics:
IIRC, a user might have also have custom metrics.
Currently we don't really have a way to tell what kind of metric a document is. This makes it a little harder to write efficient queries, as we have to add safe-guards to make sure that a certain field is present. It's also a (small) burden on maintenance, and we've found that it's hard for us to understand how we should get the data we need.
It would help if a field was added that identified the type of metrics, e.g.
metric.type:transaction_duration. There might be just a group, but maybe a sub-group as well.See also: elastic/kibana#75881 and #4004.