Skip to content

Commit 1b8c372

Browse files
committed
ref(core)!: Make attributes in sampling context required
1 parent e57d55c commit 1b8c372

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎packages/core/src/types/samplingcontext.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export interface SamplingContext extends CustomSamplingContext {
3838
name: string;
3939

4040
/** Initial attributes that have been passed to the span being sampled. */
41-
attributes?: RawAttributes<Record<string, unknown>>;
41+
attributes: RawAttributes<Record<string, unknown>>;
4242
}
4343

4444
/**

0 commit comments

Comments
 (0)