-
Notifications
You must be signed in to change notification settings - Fork 832
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
@opentelemetry/semantic-conventions
constants differ from spec
#3834
Comments
There were quite some changes done in the spec regarding this. e.g. the HTTP conventions show also some warning and hints regarding transition from old to new. Seems now it's up to all of us to follow this changes. I added the |
Started some work to upgrade to semconv v1.19.0 in a separate branch, following opentelemetry-java's implementation I'll work on getting the test suite working, then update tests as needed A couple of thoughts while proceeding:
Thank you for the assistance; all is appreciated! EDIT:
This seems like we should stick with our current semconv version until HTTP semconvs are stable? Will hold off on changes for now. Please LMK if I am misunderstanding, or if there's a different approach we should take |
@Flarna have you all considered putting these into some meta format then code generating into all the libraries? |
@daniel-white There are yaml files in the spec repo one could use instead the generated js files. But I doubt they are easier to consume. Or which sort of meta format do you have in mind here? |
@Flarna oh I was meaning that meta format would be converted into typescript for release for the package. That way some tool/process could automatically update them when the yaml changes |
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 14 days. |
This issue was closed because it has been stale for 14 days with no activity. |
Noticed a couple of inconsistencies between the trace semantic-conventions spec and the JS semantic-conventions package, particularly around messaging system attributes
Some of the attributes defined in
@opentelemetry/semantic-conventions
seem to be attribute namespaces, and several other attributes from the spec are not present in@opentelemetry/semantic-conventions
.NET seems to have similar inconsistencies (see open-telemetry/opentelemetry-dotnet#4101), while Java matches the spec closer
3 examples:
messaging.destination.name
messaging.destination
messaging.destination
messaging.destination.name
messaging.message.id
messaging.message_id
messaging.message_id
messaging.message.id
messaging.source.name
messaging.source.name
Fairly new to contributing, but if a contribution is needed, I'll do my best to dive in (any guidance appreciated). I noticed there is a semconv build script in this repo, as well as a build tool for semantic-convention auto-generation mentioned in #2064
The text was updated successfully, but these errors were encountered: