Skip to content

Question about Tracer Provider Versions #1040

Answered by arielvalentin
thetizzo asked this question in Q&A
Discussion options

You must be logged in to vote

Should I only be using the tracer provider to find my own custom tracers and not sure the auto-instrumenter ones directly?

Yes, you should create as many named tracers as your application needs and avoid using the tracers created by auto-instrumented libraries. The auto-instrumentation libraries register themselves with the appropriate version when they are installed so there is nothing to be concerned about there.

The name and version parameters are mapped to OTLP InstrumentationLibrary.name and Instrumentation.version when the data is exported to OTLP collectors.

Interpreting these attributes is vendor specific, e.g. the OTEL Collector maps them as span attributes when exporting them …

Replies: 1 comment

Comment options

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