We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f4ea02 commit 4295727Copy full SHA for 4295727
packages/core/src/tracing/span.ts
@@ -133,11 +133,11 @@ export class Span implements SpanInterface {
133
// eslint-disable-next-line deprecation/deprecation
134
this.instrumenter = spanContext.instrumenter || 'sentry';
135
136
- this._attributes = {
+ this._attributes = dropUndefinedKeys({
137
[SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]: spanContext.origin || 'manual',
138
[SEMANTIC_ATTRIBUTE_SENTRY_OP]: spanContext.op,
139
...spanContext.attributes,
140
- };
+ });
141
142
143
this._name = spanContext.name || spanContext.description;
0 commit comments