File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
packages/core/src/tracing Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,6 @@ import type {
2626} from '../types-hoist' ;
2727import type { SpanLink } from '../types-hoist/link' ;
2828import { logger } from '../utils-hoist/logger' ;
29- import { dropUndefinedKeys } from '../utils-hoist/object' ;
3029import { generateSpanId , generateTraceId } from '../utils-hoist/propagationContext' ;
3130import { timestampInSeconds } from '../utils-hoist/time' ;
3231import {
@@ -223,7 +222,7 @@ export class SentrySpan implements Span {
223222 * use `spanToJSON(span)` instead.
224223 */
225224 public getSpanJSON ( ) : SpanJSON {
226- return dropUndefinedKeys ( {
225+ return {
227226 data : this . _attributes ,
228227 description : this . _name ,
229228 op : this . _attributes [ SEMANTIC_ATTRIBUTE_SENTRY_OP ] ,
@@ -240,7 +239,7 @@ export class SentrySpan implements Span {
240239 is_segment : ( this . _isStandaloneSpan && getRootSpan ( this ) === this ) || undefined ,
241240 segment_id : this . _isStandaloneSpan ? getRootSpan ( this ) . spanContext ( ) . spanId : undefined ,
242241 links : convertSpanLinksForEnvelope ( this . _links ) ,
243- } ) ;
242+ } ;
244243 }
245244
246245 /** @inheritdoc */
You can’t perform that action at this time.
0 commit comments