-
Notifications
You must be signed in to change notification settings - Fork 707
Add linter checking we use the latest semconv version #8231
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
base: main
Are you sure you want to change the base?
Conversation
| list-mode: lax | ||
| deny: | ||
| - pkg: go.opentelemetry.io/otel/semconv | ||
| desc: Use go.opentelemetry.io/otel/semconv/v1.37.0 instead. If a newer semconv version has been released, update the depguard rule. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same comment as I made on collector.
| desc: Use go.opentelemetry.io/otel/semconv/v1.37.0 instead. If a newer semconv version has been released, update the depguard rule. | |
| desc: Use go.opentelemetry.io/otel/semconv/v1.38.0 instead. When a newer semconv version is released, it must be added to the depguard rule. |
Or
| desc: Use go.opentelemetry.io/otel/semconv/v1.37.0 instead. If a newer semconv version has been released, update the depguard rule. | |
| desc: Use go.opentelemetry.io/otel/semconv/v1.38.0 instead. If a newer semconv version has been released, update the depguard rule. |
| desc: Use go.opentelemetry.io/otel/semconv/v1.37.0 instead. If a newer semconv version has been released, update the depguard rule. | ||
| allow: | ||
| - go.opentelemetry.io/otel/semconv/v1.21.0 # still used by otelmongo | ||
| - go.opentelemetry.io/otel/semconv/v1.37.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| - go.opentelemetry.io/otel/semconv/v1.37.0 | |
| - go.opentelemetry.io/otel/semconv/v1.37.0 | |
| - go.opentelemetry.io/otel/semconv/v1.38.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Upgrading to 1.38 makes sense. But it shouldn't be within this PR.
This is inspired by open-telemetry/opentelemetry-collector-contrib#44606
Mongo is the only package with an older semconv. See #8230 to move forward with the upgrade.