-
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
[chore] add semconvkit to reduce toil #9057
[chore] add semconvkit to reduce toil #9057
Conversation
This code, copied from the opentelemetry-go repo, allows to generate schema.go automatically as well, reducing effort needed to generate semantic convention packages in the future Signed-off-by: Alex Boten <[email protected]>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #9057 +/- ##
=======================================
Coverage 91.55% 91.55%
=======================================
Files 316 316
Lines 17154 17154
=======================================
Hits 15706 15706
Misses 1152 1152
Partials 296 296 ☔ View full report in Codecov by Sentry. |
Signed-off-by: Alex Boten <[email protected]>
@@ -27,4 +27,6 @@ import ( | |||
_ "golang.org/x/exp/cmd/apidiff" | |||
_ "golang.org/x/tools/cmd/goimports" | |||
_ "golang.org/x/vuln/cmd/govulncheck" | |||
|
|||
_ "go.opentelemetry.io/collector/internal/tools/semconvkit" |
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.
Should this live in go-build-tools?
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.
Maybe, but I didn't want to block on this. I'm happy to open a follow up issue
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.
Ya followup thing
Signed-off-by: Alex Boten <[email protected]>
This code, copied from the opentelemetry-go repo, allows to generate schema.go automatically as well, reducing effort needed to generate semantic convention packages in the future