hypertrace / javaagent

Hypertrace OpenTelemetry Java agent with payload/body and headers data capture.
Apache License 2.0
28 stars 14 forks source link

Create 'otel.extension.library.version' attribute in all spans #371

Closed bradAtTraceable closed 1 year ago

bradAtTraceable commented 1 year ago

Because the otel.library.version span attribute contains the OTEL version, rather than our version, this PR is introducing a new attribute: 'otel.extension.library.version', which will contain the version of the Hypertrace agent.

bradAtTraceable commented 1 year ago

@shashank11p I'll give that a try. I didn't like the idea of making the changes in so many places, I was trying to instrument the OTEL code which set the otel.library.version attribute, but it proved to be impossible.