Closed pdudits closed 4 months ago
From brief look, the attributes did change significantly: http.method
is now http.request.method
, net.sock.peer.addr
became network.peer.address
etc.
It is therefore important to address question of semantic convention version(ing) in next version of MP Telemetry
We should depend on otel v2.0 because of the HTTP stabilisation. See: https://github.com/open-telemetry/semantic-conventions/blob/main/docs/http/migration-guide.md#summary-of-changes
I agree, we should move to 2.0 with the new MP Telemetry version.
Unfortunately, HTTP attributes names that we assert in the TCK changed. They had a brief transition period where both old and new were supported, but that is not available in 2.0.
The question I am asking here is if in addition to that would be implementations required to implement OTEL_SEMCONV_STABILITY_OPT_IN
and its property equivalent and support emiting previous set of attributes as well.
The question I am asking here is if in addition to that would be implementations required to implement
OTEL_SEMCONV_STABILITY_OPT_IN
and its property equivalent and support emiting previous set of attributes as well.
If we move to 2.0 that property is no longer available in the OTel instrumentation, @pdudits
Correct, the stability property was added in 1.27, available until 1.32, and was removed in 2.0.
We should depend on otel v2.0 because of the HTTP stabilisation. See: https://github.com/open-telemetry/semantic-conventions/blob/main/docs/http/migration-guide.md#summary-of-changes
@brunobat what v2.0 do you mean? The latest otel semantic convention is v1.24.0. Where is the v2.0 from? The next upcoming semantic-conventions-java release is v1.23.0.
It's this version, @Emily-Jiang : https://github.com/open-telemetry/opentelemetry-java-instrumentation/releases/tag/v2.0.0
We will rely on the v2.x apis, which would be stable.
MicroProfile Telemetry 1.1 depends on semantic conventions 1.20.0.
Current semantic conventions state:
HTTP instrumentation was indeed experimental, but it is stable since version 1.23.0. A diff between 1.20.0 and current version should be taken (1.20.0 vs 1.24.0, they are now in different repos).
Unless any of the required attributes changed between the versions, then specification itself does not need to mandate it. However if implementors were emitting extra attributes that did change, they need to address this requirement.