Skip to content

Commit b3bc50f

Browse files
committed
add missing import
1 parent af0e821 commit b3bc50f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/opentelemetry/src/sampler.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { TraceState } from '@opentelemetry/core';
44
import type { Sampler, SamplingResult } from '@opentelemetry/sdk-trace-base';
55
import { SamplingDecision } from '@opentelemetry/sdk-trace-base';
66
import { SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE, hasTracingEnabled, sampleSpan } from '@sentry/core';
7-
import type { Client } from '@sentry/types';
7+
import type { Client, SpanAttributes } from '@sentry/types';
88
import { logger } from '@sentry/utils';
99
import { SENTRY_TRACE_STATE_SAMPLED_NOT_RECORDING } from './constants';
1010

@@ -14,7 +14,7 @@ import { getPropagationContextFromSpanContext, getSamplingDecision } from './pro
1414
import { setIsSetup } from './utils/setupCheck';
1515

1616
/**
17-
* A custom OTEL sampler that uses Sentry sampling rates to make it's decision
17+
* A custom OTEL sampler that uses Sentry sampling rates to make its decision
1818
*/
1919
export class SentrySampler implements Sampler {
2020
private _client: Client;

0 commit comments

Comments
 (0)