-
Notifications
You must be signed in to change notification settings - Fork 806
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
refactor(resources)!: replace ResourceAttributes with Attributes #5016
refactor(resources)!: replace ResourceAttributes with Attributes #5016
Conversation
… of github.com:david-luna/opentelemetry-js into dluna/4175-replace-attrib-interfaces-resources-package
@@ -32,12 +32,12 @@ import { | |||
Span, | |||
SpanExporter, | |||
} from '../../../src'; | |||
import { context } from '@opentelemetry/api'; | |||
import { Attributes, context } from '@opentelemetry/api'; |
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.
note for reviewer: leftover from #5009
@@ -36,7 +36,8 @@ import { | |||
} from '../../../src'; | |||
import { TestStackContextManager } from './TestStackContextManager'; | |||
import { TestTracingSpanExporter } from './TestTracingSpanExporter'; | |||
import { Resource, ResourceAttributes } from '@opentelemetry/resources'; | |||
import { Attributes } from '@opentelemetry/api'; |
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.
note for reviewer: leftover from #5009
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## next #5016 +/- ##
=======================================
Coverage 93.96% 93.96%
=======================================
Files 310 310
Lines 8147 8147
Branches 1630 1630
=======================================
Hits 7655 7655
Misses 492 492
|
Which problem is this PR solving?
Replaces
ResourceAttributes
withAttributes
Refs #4175
Short description of the changes
Replace the interfaces in sources & tests. This PR targeting
next
since the version bump of@opentelemetry/api
package and the changes in public types make it a breaking change.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: