Kibana version:
7.4
Elasticsearch version:
APM Server version:
7.4
APM Agent language and version:
1.18.1
Original install method (e.g. download page, yum, deb, from source, etc.) and version:
deb
Fresh install or upgraded from other version?
fresh install
Description of the problem including expected versus actual behavior. Please include screenshots (if relevant):
My APM instance is correctly working with Spring Boot server in production. Every controller method call is traced. But I need a different behaviour for some HTTP invocations.
For some of my spring mvc controllers, even if the HTTP call is the same, I need 2 distict transactions. I added the @CaptureTransaction annotations inside the business code but I don't understand how to disable the tracing for the controllers.
Steps to reproduce:
I tried to:
- add
classes_excluded_from_instrumentation=my.contoller.package.*
but doesn't work becaus the transaction (I guess) is started earlier by the agent -
transaction_ignore_urls=/controller/path
but again, i still see the traced controller methods - add
disable_instrumentations=spring-mvc
(disables all tracing, but doesn't open new transactions when invoking annotated methods.