Closed SylvainJuge closed 7 months ago
Override the upstream resource attributes for the agent distribution and version:
telemetry.distro.name
elastic-otel-java
telemetry.distro.version
0.0.1-SNAPSHOT
This is done by disabling the provided resource provider from upstream (DistroVersionResourceProvider) and adding our own.
DistroVersionResourceProvider
Tried to use semconv java bindings, but they must match the upstream agent, and it's still using version 1.21.0, however there is already a PR to update to a more recent version: https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/10272
Override the upstream resource attributes for the agent distribution and version:
telemetry.distro.name
=elastic-otel-java
(same as GH repository name)telemetry.distro.version
= project version, thus0.0.1-SNAPSHOT
for nowThis is done by disabling the provided resource provider from upstream (
DistroVersionResourceProvider
) and adding our own.Tried to use semconv java bindings, but they must match the upstream agent, and it's still using version 1.21.0, however there is already a PR to update to a more recent version: https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/10272