Repository navigation
Closed
Milestone
Description
In v8, we will use OpenTelemetry for performance instrumentation in Node packages - see #9842
### Tasks
- [ ] https://github.com/getsentry/sentry-javascript/issues/10898
- [ ] https://github.com/getsentry/sentry-javascript/issues/10900
- [ ] https://github.com/getsentry/sentry-javascript/issues/10902
- [ ] https://github.com/getsentry/sentry-javascript/pull/10960
- [ ] https://github.com/getsentry/sentry-javascript/pull/10997
- [ ] https://github.com/getsentry/sentry-javascript/pull/11033
- [ ] https://github.com/getsentry/sentry-javascript/pull/11239
- [ ] https://github.com/getsentry/sentry-javascript/pull/11016
This has a bunch of implications for the public API of Sentry:
startTransaction()will be removed - instead, use the already existingstartSpan,startSpanManualandstartInactiveSpanAPIs- Should we still provide
startTransaction()and similar but make them noop/warn?
- Should we still provide
- The Sentry
TransactionandSpantype will be removed in favor of a singular newSpantype - In Node, OTEL Spans will be used. In Browser/Edge, we need to use a Span API that is compatible with OTEL Spans.
- This means that e.g.
span.setTag()and similar APIs will def. not work in Node - Should we make them work in non-OTEL environments?
- Should we have the old APIs as noops or similar still?
- This means that e.g.
Metadata
Metadata
Assignees
Labels
No labels
Activity
danielkhan commentedon Dec 21, 2023
setTag(). Yet, doesn't OTel offer something similar? Can we alias that?mydea commentedon Dec 21, 2023
re 2.: We have to re-write them to attributes, which I guess we can do 🤔
But also, important to note, that we currently don't really show some of this data for spans anyhow. Tags at least are not shown I think, not sure what is shown 🤔
danielkhan commentedon Dec 21, 2023
They might still be used for filters in Dashboards, I guess?
mydea commentedon Dec 21, 2023
We should def. make a list of things that are/are not shown for transactions and spans right now, so we can make sure the user experience remains stable!
feat(v8/bun): Update @sentry/bun to use OTEL node (#10997)
feat(profiling): Use OTEL powered node package (#11239)
feat(profiling): Use OTEL powered node package (getsentry#11239)