Skip to content

Commit 6a30fc9

Browse files
committed
add missing import
1 parent d8c4b1e commit 6a30fc9

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

@@ -15,7 +15,7 @@ import { getSamplingDecision } from './utils/getSamplingDecision';
1515
import { setIsSetup } from './utils/setupCheck';
1616

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

0 commit comments

Comments
 (0)