Skip to content

Elastic APM Agent with Open telemetry plugin #9881

Answered by jackshirazi
AyushCarb1 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @AyushCarb1,

I can answer for Elastic.

The Elastic APM agent automatically allows you to use Opentelemetry APIs, eg you can use (as shown in the example from that reference you linked)

Span custom = tracer.spanBuilder("my custom span").startSpan();

in your code where Span is an Opentelemetry Span, and the Elastic APM agent will correctly handle the span

If your question is that you have an Opentelemetry extension or instrumentation plugin and you would like to use that with the Elastic agent, that is not supported at this time. We (Elastic) are working on converging the Elastic APM agent to the Opentelemetry agent and so that will become possible at some point in the future

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by AyushCarb1
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants