-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Ensure semantic conventions are up to date #2600
Comments
Currently we use the hand-crafted |
There are some existing tools that process the semconv yaml files: https://github.com/open-telemetry/build-tools/blob/main/semantic-conventions/README.md. It looks like they are already being used for Java codegen. @bogdandrutu were you thinking about extending that tooling with a new Jinja template, or building something else? |
@rakyll are you looking at this - can you share your doc / thoughts here? |
There is a spec change related to this: open-telemetry/opentelemetry-specification#1515 |
@bogdandrutu please advise on next steps given this would be important to implement before GA. @Aneurysm9 can we reuse the Go semantic conventions that you've been adding support for in the Go API/SDK as a common package in Go that the Collector can use too? |
@Aneurysm9 I think we should share the generated semconv if go library has already this. We can do the following:
Otherwise we can ask for a different repo as well. |
I like the idea of having a new repository dedicated to the I think isolating the purpose of each repository (i.e. protos and semantic conventions) will promote cohesive and single-focused Go packages. |
@Aneurysm9 - can you provide your recommendations used for the Go API/SDK which we can reuse here? Thx. |
I'm with @MrAlias in thinking that a new repo with a new vanity URL would be the way to go. I think the generation tooling we recently added to the Go repo can easily be moved elsewhere. The one problem I see that we'll need to work through is that the I've put this topic on the agenda for the Go SIG meeting today. |
From the Go SIG: Currently the Would it make more sense to just move the generation code to a separate repo? |
@MrAlias Having the generation code to a separate repo would help in both the Go library and the Collector being able to leverage the same package. @bogdandrutu had mentioned this strategy could be reused in the long run for all Go components. |
I'm not sure I understand what is being said here. I agree that unifying the location of shared code is a good idea. Do we want to put the generation code in the repository or the generated code? If it is the generated code, would the collector be okay with that code using |
Based on the Collector SIG discussion today, the Go library and Collector maintainers will sync to finalize next steps in setting up a common repo as proposed by @Aneurysm9 to reuse common packages between Go based code bases. |
@bogdandrutu Have you signed off on all the items that need to be completed for this task? I can close the issue if you sign off. Thx. |
This way it applies to local builds as well as CI builds
We should build a tool or share a tool with opentelemetry-go for all semantic conventions.
/cc @MrAlias @punya
The text was updated successfully, but these errors were encountered: