Skip to content
This repository has been archived by the owner on Nov 10, 2022. It is now read-only.

Commit

Permalink
Merge 4cb6476 into 17ccb3a
Browse files Browse the repository at this point in the history
  • Loading branch information
legendecas committed Aug 9, 2022
2 parents 17ccb3a + 4cb6476 commit 0d125e7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/trace/Sampler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import { SamplingResult } from './SamplingResult';
import { SpanKind } from './span_kind';

/**
* @deprecated use the one declared in @opentelemetry/sdk-trace-base instead.
* This interface represent a sampler. Sampling is a mechanism to control the
* noise and overhead introduced by OpenTelemetry by reducing the number of
* samples of traces collected and sent to the backend.
Expand Down
2 changes: 2 additions & 0 deletions src/trace/SamplingResult.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
import { SpanAttributes } from './attributes';

/**
* @deprecated use the one declared in @opentelemetry/sdk-trace-base instead.
* A sampling decision that determines how a {@link Span} will be recorded
* and collected.
*/
Expand All @@ -39,6 +40,7 @@ export enum SamplingDecision {
}

/**
* @deprecated use the one declared in @opentelemetry/sdk-trace-base instead.
* A sampling result contains a decision for a {@link Span} and additional
* attributes the sampler would like to added to the Span.
*/
Expand Down

0 comments on commit 0d125e7

Please sign in to comment.