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

Migrate semantic conventions code generation to Weaver #11828

Open
rogercoll opened this issue Dec 9, 2024 · 0 comments
Open

Migrate semantic conventions code generation to Weaver #11828

rogercoll opened this issue Dec 9, 2024 · 0 comments

Comments

@rogercoll
Copy link
Contributor

Is your feature request related to a problem? Please describe.

semconvgen tool fails at generating Semantic conventions packages for version > v1.27.0:

$ make gensemconv SPECPATH=/tmp/opentelemetry/semantic-conventions SPECTAG=v1.29.0
...
          File "/usr/local/lib/python3.13/site-packages/opentelemetry/semconv/model/utils.py", line 97, in raise_or_warn
            raise error
        opentelemetry.semconv.model.exceptions.ValidationError: Semantic Convention metric.container.network.io reference `network.interface.name` but it cannot be found! - @73:5 ('metric.container.network.io')


goroutine 1 [running]:
main.main()
        go.opentelemetry.io/build-tools/[email protected]/generator.go:64 +0x665
make: *** [Makefile:251: gensemconv] Error 2

Describe the solution you'd like

As no new version will be produced for build-tools, the maintained OpenTelemetry Weaver tool should be used. See:

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

1 participant