open-telemetry/opentelemetry-java

Annotations support for non-auto instrumented code

Open

#3,035 opened on Mar 17, 2021

View on GitHub
 (15 comments) (1 reaction) (0 assignees)Java (1,005 forks)auto 404
Feature Requesthelp wanted

Repository metrics

Stars
 (2,433 stars)
PR merge metrics
 (PR metrics pending)

Description

Just a question - Do we have any example to create span for a method with Annotations.? I see @WithSpan in extension for auto instrumenting..But i dont see any annotations for adding spans in code.

Will we support for non-autoinstrumented solutions? If not, do we have any references to create custom annotations to create spans for methods using annotations.

Contributor guide