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 1a2bebd commit 261cd89Copy full SHA for 261cd89
packages/types/src/span.ts
@@ -23,12 +23,13 @@ export type SpanAttributeValue =
23
| Array<null | undefined | number>
24
| Array<null | undefined | boolean>;
25
26
-export type SpanAttributes = {
+export type SpanAttributes = Partial<{
27
'sentry.origin': string;
28
'sentry.op': string;
29
'sentry.source': string;
30
'sentry.sample_rate': number;
31
-} & Record<string, SpanAttributeValue | undefined>;
+}> &
32
+ Record<string, SpanAttributeValue | undefined>;
33
34
/** This type is aligned with the OpenTelemetry TimeInput type. */
35
export type SpanTimeInput = HrTime | number | Date;
0 commit comments