APM Server version:
APM Agent language and version:
Is there a way or plan for it to be possible to add default tags/labels to the transaction instrumentation on java (or any other language, I guess)?
For example, I'm setting up APM for a whole universe of environments, host machines, groups of running services, and each group is semantically separated from each other by name (and sometimes even contract type, data visibility, etc). I'll have a single global elastic cluster to receive all APM/beat data from all of those groups/services, but I'd like to separate them accordingly when needed (infrastructure between them vary a lot, and it'd be unfair to compare all instances of a service performance-wise).
So, what I thought was adding manually a tag/label indicating the
ecosystem (it's the name we use for a group of services/customers/hosts in the same infrastructure) that service is running in. I know I can do it for each transaction/request, but it'd be idea if I could inform these default tags/labels during setup/attach time, so that all transactions/instrumentation could automatically reuse them on that agent lifecycle.
I'm sure this would come in handy for a lot of use cases where such tags/labels were to be set per-request on a multi-servlet-one-container environment too.
Is this already possible somehow? Would it be a welcome change to the API?