-
Notifications
You must be signed in to change notification settings - Fork 6
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
maint(deps): bump the otel group in /packages/honeycomb-opentelemetry-web with 8 updates #349
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -66,7 +66,7 @@ export interface HoneycombOptions extends Partial<WebSDKConfiguration> { | |
endpoint?: string; | ||
|
||
/** Optionally pass extra headers to the exporter. Commonly used if sending to a collector that requires authentication */ | ||
headers?: { [key: string]: string | number }; | ||
headers?: { [key: string]: string }; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Technically this is a breaking change 😭 The alternative is to map over That said, I would rather we stick to the otel API as closely as possible. Thoughts? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I guess were still labeled as experimental but also we have this in the readme
If its not too hard then massaging the values as we are already doing a little seems ok. But also I think it's fine to have this breaking change and call it out in the release notes. Maybe point fingers at the otel package that caused it as it looks like none of the packages increment a major version number for this There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Under semver, if you're still I'll merge this change as-is and link back to the OTel change. I'm also opening an issue against otel-js to update their changelog. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
|
||
/** The API endpoint where traces telemetry is sent. Defaults to endpoint if not set. */ | ||
tracesEndpoint?: string; | ||
|
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.
OTLPTraceExporter updated their
headers
type so that it isRecord<string, string>
, which means values can't beundefined
anymore.This code change now only adds the values if they exist.