TraceIdRatioBasedSamplerTest
extends TestCase
-
#[CoversClass]
-
\OpenTelemetry\SDK\Trace\Sampler\TraceIdRatioBasedSampler::class
Table of Contents
Methods
-
invalidProbabilityProvider()
: array<string|int, mixed>
-
test_get_description()
: void
-
test_invalid_probability_trace_id_ratio_based_sampler()
: void
-
test_should_sample()
: void
invalidProbabilityProvider()
public
static invalidProbabilityProvider() : array<string|int, mixed>
Return values
array<string|int, mixed>
test_get_description()
public
test_get_description() : void
test_invalid_probability_trace_id_ratio_based_sampler()
public
test_invalid_probability_trace_id_ratio_based_sampler(float $probability) : void
Parameters
-
$probability
: float
-
-
#[DataProvider]
-
'invalidProbabilityProvider'
test_should_sample()
public
test_should_sample() : void