-
Notifications
You must be signed in to change notification settings - Fork 628
feat(host-metrics)!: use the package name as the default instrumentation scope name, to align with instrumentations #1822
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
feat(host-metrics)!: use the package name as the default instrumentation scope name, to align with instrumentations #1822
Conversation
…on scope name, to align with instrumentations Closes: open-telemetry#1782
…ntrib repo requirements on changelog entries
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #1822 +/- ##
=======================================
Coverage 91.49% 91.49%
=======================================
Files 144 144
Lines 7388 7388
Branches 1474 1474
=======================================
Hits 6760 6760
Misses 628 628
|
| } | ||
|
|
||
| const DEFAULT_NAME = 'opentelemetry-host-metrics'; | ||
| const DEFAULT_NAME = '@opentelemetry/host-metrics'; |
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.
This could be potentially a breaking change if someone is already relying on this, we should mention that in the changelog
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.
IIUC the changelog will automatically get this PR title added to it for the next release. However,
- that doesn't include the explicit strings, so won't be as helpful as possible.
- Do you think I should add the bang (
feat(host-metrics)!: ...) so that this gets added to the "breaking change" section and triggers a new major version (0.34.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.
Yeah, I think 0.34.0 should be used for next release.
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.
I've updated the PR title to add the !. I hope that is sufficient -- i.e. that the PR title and not the original comment message title is used.
hectorhdzg
left a comment
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.
LGTM
Closes: #1782
@pichlermarc I wasn't sure if this should count as a feature or a fix. You had put the "enhancement" label on the issue, so I used "feat" in the commit/PR title.
Update: As pointed out below this change could be a breaking change if one relied on the
instrumentationScope.namevalue.