@dynatrace/opentelemetry-core
Version:
Dynatrace OpenTelemetry core package
15 lines • 529 B
TypeScript
import { Context, Sampler, SamplingResult } from "@opentelemetry/api";
import { ParentBasedSampler } from "@opentelemetry/sdk-trace-base";
/**
* Sampler that respects the ignore flag of the FW4 tag. If no FW4 tag exists the span
* is sampled.
*/
export declare class DtFw4TagSampler implements Sampler {
shouldSample(context: Context): SamplingResult;
toString(): string;
}
export declare class DtSampler extends ParentBasedSampler {
constructor();
toString(): string;
}
//# sourceMappingURL=DtSampler.d.ts.map