-
Notifications
You must be signed in to change notification settings - Fork 454
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Experimental network.interface.name
slipped into stable semconv due to semconv bug
#3251
Comments
network.interface.name
slipped into stable semconv due to semconv bugnetwork.interface.name
slipped into stable semconv due to semconv bug
Thanks for the report. The release notes for opentelemetry-cpp v1.19.0 are now updated with an errata. This is sufficient in my opinion, there is no need to run code generation again and make a new release just for that, given that this will be resolved with the next code generation. Keeping this issue opened, to make exclude_stability more defensive as proposed, to prevent similar issues in the future. |
The following code:
is very fragile. Every time a new stability value is added in semantic conventions, like "development", the semantic convention will be treated as stable, right ? Could weaver expose |
@marcalff absolutely should - open-telemetry/weaver#569 The suggestion above is for immediate actions (if you decide to take any) |
sorry, missed this one. For this specific case ( The |
Blocked by:
so we can change the weaver config file once a weaver+semconv release is ready. |
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: