I am trying to instrument a fairly involved Spring Boot application and it seems there is either too little or way too many spans being included in a trace. I have tried vanilla auto-instrumentation and also decorating method(s) with @WithSpan but neither have given me what I need. I have experimented with otel.instrumentation.=false and a variety of combinations therein, all with limited success. Is there a way to exclude a method from being included in a span (e.g. @NoSpan)
Asked
Active
Viewed 74 times