Uh oh!
There was an error while loading. Please reload this page.
feat(browser): Add support for streamed spans in cultureContextIntegration - #20352
Conversation
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit d6dedf6. Configure here.
Uh oh!
There was an error while loading. Please reload this page.
size-limit report 📦
|
Uh oh!
There was an error while loading. Please reload this page.
| @@ -1,5 +1,4 @@ | |||
| import { defineIntegration } from '../integration'; | |||
| import { hasSpanStreamingEnabled } from '../tracing/spans/hasSpanStreamingEnabled'; | |||
There was a problem hiding this comment.
seems like we are not emitting errors for unused imports during linting, should we change that?
There was a problem hiding this comment.
yeah I brought this up a while ago. +1 for erroring on lint warnings all together tbh
There was a problem hiding this comment.
yes agreed, seems like warnings usually get ignored so mostly add noise
3b97589 to
878ef99CompareUh oh!
There was an error while loading. Please reload this page.
…ration` (#20352) This PR adds span processing support for the `cultureContextIntegration` plus a few integration API additions to make span processing on an integration level easier: - `Integration::processSegmentSpan` - `Integration::processSpan` - register a `processSegmentSpan` callback on `cultureContextIntegration` that adds the attributes. All attributes are already registered in sentry conventions: https://getsentry.github.io/sentry-conventions/attributes/culture/ - adds a span streaming-specific integration test in addition to the already existing error/event-based integration test closes#20353closes#20354

This PR adds span processing support for the
cultureContextIntegrationplus a few integration API additions to make span processing on an integration level easier:Integration::processSegmentSpanIntegration::processSpanprocessSegmentSpancallback oncultureContextIntegrationthat adds the attributes. All attributes are already registered in sentry conventions: https://getsentry.github.io/sentry-conventions/attributes/culture/closes#20353
closes#20354