Skip to content

Commit 18f1f11

Browse files
committed
remove stronger typing of SpanAttributes
1 parent 4295727 commit 18f1f11

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

packages/types/src/span.ts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,7 @@ export type SpanAttributeValue =
2323
| Array<null | undefined | number>
2424
| Array<null | undefined | boolean>;
2525

26-
export type SpanAttributes = Partial<{
27-
'sentry.origin': string;
28-
'sentry.op': string;
29-
'sentry.source': string;
30-
'sentry.sample_rate': number;
31-
}> &
32-
Record<string, SpanAttributeValue | undefined>;
26+
export type SpanAttributes = Record<string, SpanAttributeValue | undefined>;
3327

3428
/** This type is aligned with the OpenTelemetry TimeInput type. */
3529
export type SpanTimeInput = HrTime | number | Date;

0 commit comments

Comments
 (0)