Repository navigation
feat(deps): Bump @opentelemetry/api to 1.10.0 - #25629
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
| public startSpan(name: string, options?: SpanOptions): Span { | ||
| return startInactiveSpan({ | ||
| ...options, | ||
| links: options?.links as SpanLink[] | undefined, |
There was a problem hiding this comment.
Yea unfortunately, alternative is we widen our type and pass the pain on to users.
There was a problem hiding this comment.
since we have this in a few places. can we add a utility to handle this, e.g. links: convertSpanLinkType(options?.links), then we could theoretically also properly cast this at some point if needed, and it is a bit clearer what this does/why it does it?
There was a problem hiding this comment.
(IMHO that utility could for now just cast this the same way as it is here, but it would be a bit encapsulated)
There was a problem hiding this comment.
Added convertSpanLinkType to @sentry/opentelemetry and @sentry/deno. I didn't want to export this via core, hence the per-package helpers. Updated in c3387e4
|
|
||
| const spanOpts = { | ||
| ...opts, | ||
| links: opts.links as SpanLink[] | undefined, |
size-limit report 📦Compared: 9cf5551 (PR test merge using develop at b3e0c9e) Against: b3e0c9e (develop) · base run #63030 ✅ Baseline matches: this diff contains only this PR's changes.
|
Optional E2E testsSome optional checks were not successful. They do not block the merge. 2 failing, 62 successful. See the run.
Successful checks
|
57d6a57 to
c3387e4
Compare

What
Bump
@opentelemetry/apito 1.10.0 in all SDK packages. The peer range of@sentry/opentelemetrystays at^1.9.0.Why
1.10.0 changes OTel attribute values to
unknown. Our tracers and the SvelteKit handler need small type changes so they compile with the new types. Runtime behavior does not change.