function SamplerInterface::getDescription
Returns the sampler name or short description with the configuration. This may be displayed on debug pages or in the logs. Example: "TraceIdRatioBasedSampler{0.000100}"
4 methods override SamplerInterface::getDescription()
- AlwaysOffSampler::getDescription in vendor/
open-telemetry/ sdk/ Trace/ Sampler/ AlwaysOffSampler.php - Returns the sampler name or short description with the configuration. This may be displayed on debug pages or in the logs. Example: "TraceIdRatioBasedSampler{0.000100}"
- AlwaysOnSampler::getDescription in vendor/
open-telemetry/ sdk/ Trace/ Sampler/ AlwaysOnSampler.php - Returns the sampler name or short description with the configuration. This may be displayed on debug pages or in the logs. Example: "TraceIdRatioBasedSampler{0.000100}"
- ParentBased::getDescription in vendor/
open-telemetry/ sdk/ Trace/ Sampler/ ParentBased.php - Returns the sampler name or short description with the configuration. This may be displayed on debug pages or in the logs. Example: "TraceIdRatioBasedSampler{0.000100}"
- TraceIdRatioBasedSampler::getDescription in vendor/
open-telemetry/ sdk/ Trace/ Sampler/ TraceIdRatioBasedSampler.php - Returns the sampler name or short description with the configuration. This may be displayed on debug pages or in the logs. Example: "TraceIdRatioBasedSampler{0.000100}"
File
-
vendor/
open-telemetry/ sdk/ Trace/ SamplerInterface.php, line 45
Class
- SamplerInterface
- This interface is used to organize sampling logic.
Namespace
OpenTelemetry\SDK\TraceCode
public function getDescription() : string;