ComposableAlwaysOff
in package
implements
ComposableSamplerInterface
FinalYes
Drops every span (no threshold, adjusted count not reliable).
Tags
Table of Contents
Interfaces
- ComposableSamplerInterface
- A sampler that returns its sampling preference (a {@see SamplingIntentInterface}) instead of a decision.
Properties
Methods
- __construct() : mixed
- getDescription() : string
- getSamplingIntent() : SamplingIntentInterface
Properties
$intent read-only
private
SamplingIntentInterface
$intent
Methods
__construct()
public
__construct() : mixed
getDescription()
public
getDescription() : string
Attributes
- #[Override]
Return values
stringgetSamplingIntent()
public
getSamplingIntent(ContextInterface $parentContext, string $spanName, int $spanKind, AttributesInterface $attributes, array<string|int, mixed> $links) : SamplingIntentInterface
Parameters
- $parentContext : ContextInterface
- $spanName : string
- $spanKind : int
- $attributes : AttributesInterface
- $links : array<string|int, mixed>
Attributes
- #[Override]