Hi,
just wanted to confirm if this is expected behavior:
If I use the Elastic APM Agent in a servlet environment (e.g. JAX-RS running on a Wildfly) and don't set the service_name
, then the span breakdown metrics won't be available (i.e. the "Time spent by span type" will be empty).
This is because apparently the span breakdown metrics will be computed not per display-name, but only once per application server (in my case, they all have service.name = jboss-application).
I know the documentation states:
When relying on auto-discovery of the service name in Servlet environments (including Spring Boot), there is currently a caveat related to metrics. The consequence is that the Metrics tab of a service does not show process-global metrics like CPU utilization.
However, this does not necessarily imply span breakdown metrics being unavailable. I would not assume them to be "process-global" metrics.
Any way to get the span breakdown metrics per display-name and not only per application server?
Thanks!