elastic / elastic/apm-agent-java

Proper Transaction Name for Spring Boot Actuators

Open
#513 1 comment 5 reactions 0 assignees View on GitHub
instrumentation
Dominant language
Java
Stars
594
Forks
338
Avg merge
1d 13h
Merged PRs (30d)
25

Description

Calls to the Spring Boot Actuators are labels: "ControllerClassName#methodName". For many kinds and for many kinds of applications (like with Kubernetes and health checks), those endpoints will be called often. One can configure https://www.elastic.co/guide/en/apm/agent/java/current/config-http.html#config-use-path-as-transaction-name to make use of the path as transcation names, but this can lead to other issues. Since it is a common use case, would be great to have a good default for the Spring MVC integration to support the Actuators out-of-the-box with reasonable labels, probably the first path element would already be sufficient (and will mostly stay like that anyway, like /health).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.