elastic / apm-server

https://www.elastic.co/guide/en/apm/guide/current/index.html
Other
1.17k stars 515 forks source link

Support global labels for aggregated metrics for RUM #11037

Open simitt opened 1 year ago

simitt commented 1 year ago

Global labels can have high cardinality when used for RUM. They are not currently part of aggregated metrics since https://github.com/elastic/apm-server/pull/10624, to avoid causes for overflow buckets. This currently impacts apm data collected by the "rum-js", "js-base", "android/java", "iOS/swift" agents.

We should find a way to also support global labels for RUM.

Update the docs once this is completed, to undo the change in https://github.com/elastic/observability-docs/pull/3877

b2ronn commented 9 months ago

In version 8.10, global metrics for aggregated indices have still not been introduced.

11768

simitt commented 9 months ago

@b2ronn due to an often expected high cardinality in RUM global labels, we would need to find a different solution than just adding global labels as an aggregation dimension. This can also be a challenge for non-RUM setups, and we are thinking about a more global solution to this. But the task is not currently scheduled for implementation and will likely not be part of the next minor versions.

b2ronn commented 8 months ago

As an alternative, it may be worth to consider adding the capability for the admin of the APM server to define the list of permitted global labels for "rum-js," "js-base," "android/java," "iOS/swift"?