-
Notifications
You must be signed in to change notification settings - Fork 825
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(node-sdk): added resourceDetectors option to NodeSDK #3210 #3212
feat(node-sdk): added resourceDetectors option to NodeSDK #3210 #3212
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #3212 +/- ##
==========================================
- Coverage 93.22% 93.20% -0.02%
==========================================
Files 196 196
Lines 6491 6492 +1
Branches 1370 1371 +1
==========================================
Hits 6051 6051
- Misses 440 441 +1
|
…com:epsagon/opentelemetry-js into feat/add-sdk-node-resource-detectors-option
I guess the change in the protos files is not intended. |
@Flarna Fixed, thanks! |
config?: ResourceDetectionConfig | ||
): Promise<void> { | ||
public async detectResources(): Promise<void> { | ||
const internalConfig: ResourceDetectionConfig = { | ||
detectors: [envDetector, processDetector], | ||
...config, | ||
detectors: this._resourceDetectors, |
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 is a breaking change please add it to 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.
Fixed, thanks!
Co-authored-by: Gerhard Stöbich <[email protected]>
Fixes #3210
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Checklist: