Experimental network.interface.name
slipped into stable semconv due to semconv bug
#3251
Labels
bug
Something isn't working
needs-triage
Indicates an issue or PR lacks a `triage/foo` label and requires one.
network.interface.name
now appears in the stable part of semantic conventionsopentelemetry-cpp/api/include/opentelemetry/semconv/network_attributes.h
Line 25 in ced7986
due to open-telemetry/semantic-conventions#1777 - there was no stability set on it. Combining it with
opentelemetry-cpp/buildscripts/semantic-convention/templates/registry/weaver.yaml
Line 37 in ced7986
it results in
network.interface.name
appearing as stable and it seems to be part of a stable release now.The question now is how to handle it:
Do a breaking change - this attribute is very new and very unlikely to be used by anyone. Still, this is a reputational problem
This is easy and can be done with this change similar to Exclude attributes without stability from stable semconv part opentelemetry-python#4391
Keep it around, hardcode in jinja template as deprecated. Here's how it can be done main...lmolkova:opentelemetry-cpp:workaround-network-interface-name
Additional context:
semconv 1.30.0 are coming out in the next few days and will have this attribute as experimental again. The next codegen would remove this attribute from stable part.
The text was updated successfully, but these errors were encountered: