opentelemetry-specification icon indicating copy to clipboard operation
opentelemetry-specification copied to clipboard

OTLP exporters should add their version information as a resource attribute

Open codeboten opened this issue 3 years ago • 3 comments

As a result of the discussion in April 19th SIG meeting, it was suggested that it would be useful for debugging purposes that the OTLP exporter add version information to the resource attributes it emits.

codeboten avatar Apr 19 '22 15:04 codeboten

This is not about the version of the exporter component but the opentelemetry-proto version the payload conforms to, right?

arminru avatar Apr 26 '22 11:04 arminru

No, it is about the version of the exporter component. We decided intentionally to not add the version of the opentelemetry-proto to disallow backends to do business decisions based on the proto version. This information can be used only for metrics/debugging purpose.

bogdandrutu avatar Apr 26 '22 16:04 bogdandrutu

Maybe worthy of a separate issue, but I think it also makes sense to add this information in the user-agent (or equivalent). Much in the same way that was done in the collector project https://github.com/open-telemetry/opentelemetry-collector/pull/3970.

alanwest avatar Apr 29 '22 23:04 alanwest