This repository was archived by the owner on Nov 10, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ import { SamplingResult } from './SamplingResult';
21
21
import { SpanKind } from './span_kind' ;
22
22
23
23
/**
24
+ * @deprecated use the one declared in @opentelemetry/sdk-trace-base instead.
24
25
* This interface represent a sampler. Sampling is a mechanism to control the
25
26
* noise and overhead introduced by OpenTelemetry by reducing the number of
26
27
* samples of traces collected and sent to the backend.
Original file line number Diff line number Diff line change 17
17
import { SpanAttributes } from './attributes' ;
18
18
19
19
/**
20
+ * @deprecated use the one declared in @opentelemetry/sdk-trace-base instead.
20
21
* A sampling decision that determines how a {@link Span} will be recorded
21
22
* and collected.
22
23
*/
@@ -39,6 +40,7 @@ export enum SamplingDecision {
39
40
}
40
41
41
42
/**
43
+ * @deprecated use the one declared in @opentelemetry/sdk-trace-base instead.
42
44
* A sampling result contains a decision for a {@link Span} and additional
43
45
* attributes the sampler would like to added to the Span.
44
46
*/
You can’t perform that action at this time.
0 commit comments