For elastic/apm#70, we have the need for top-level tags/labels for metrics. In particular, these are transaction.name, transaction.type, span.type and span.subtype. This is needed for a unified query bar experience. For example, filtering for a particular transaction.name should filter the related metrics as well as they should be used on the service detail view, powering the breakdown graphs.
Some ideas on how to enable top-level labels:
For elastic/apm#70, we have the need for top-level
tags/labelsfor metrics. In particular, these aretransaction.name,transaction.type,span.typeandspan.subtype. This is needed for a unified query bar experience. For example, filtering for a particulartransaction.nameshould filter the related metrics as well as they should be used on the service detail view, powering the breakdown graphs.Some ideas on how to enable top-level labels:
transaction_nameandtransaction_typeand brings them to top-level