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 0639e97 commit f7d70a0Copy full SHA for f7d70a0
packages/core/test/lib/tracing/span.test.ts
@@ -105,9 +105,6 @@ describe('span', () => {
105
it('disallows invalid attribute types', () => {
106
const span = new Span();
107
108
- /** @ts-expect-error this is invalid */
109
- span.setAttribute('str', {});
110
-
111
/** @ts-expect-error this is invalid */
112
span.setAttribute('str', null);
113
packages/types/src/span.ts
@@ -30,6 +30,7 @@ export type SpanAttributes = Partial<{
30
'sentry.op': string;
31
'sentry.source': string;
32
'sentry.sample_rate': number;
33
+ measurements: Measurements;
34
}> &
35
Record<string, SpanAttributeValue | undefined>;
36
0 commit comments