Skip to content
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

Automate semconv library codegen for new versions #565

Open
lmolkova opened this issue Nov 29, 2023 · 1 comment
Open

Automate semconv library codegen for new versions #565

lmolkova opened this issue Nov 29, 2023 · 1 comment
Assignees

Comments

@lmolkova
Copy link
Contributor

The other thing I think would be really useful is to have a workflow convention so that generation, and ultimately creating maybe a PR, for the new version can be done by the semantic conventions repository to reduce the time that each SIG takes to release the new package. If those are stuck behind in the various languages, we'll get into the same state as we have been around the perception of instability and maturity across languages.

Originally posted by @martinjt in #551 (comment)

@lmolkova
Copy link
Contributor Author

lmolkova commented Nov 29, 2023

Many SIGs are way behind on semconv version and don't have expertise in jinja/otelsemconv code generation tools.

One way to approach it would be to have a CI pipeline that

  1. is triggered by semconv version release (if possible)
  2. runs in individual language repos
  3. takes the new version and (using language-owned jinja templates and update script) generates new semconvs
  4. sends a PR back to language repo for the review

From what I can tell, everything except step 1 is totally possible today with #550 being the only blocker.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants