Are env labels supported in Elastic APM Agent?

I want to be able to filter APM transactions by environment (env) in Kibana. This is available as an ECS field as shown here.

Is this supported in Elastic APM Agent yet? I can't seem to find anything to do with labels in Span or the rest of the code.

No, .NET Agent doesn't support global labels yet. There is an issue in the backlog -

I'm using the environment configuration option in JS-Base and Java agents.
You can then filter on that in Kibana under service.environment.

I think it works for processor.event type transaction and metric but not span

Regarding service.environment - .NET agent doesn't send it yet. Here is the issue.

Also IIUC OP wanted to send a set key/value pairs while service.environment is just one string value.

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.