TraceIdRatioBasedSamplerTest
extends TestCase
in package
Attributes
- #[CoversNothing]
Table of Contents
Methods
- test_always_trace_id_ratio_based_sampler_decision() : void
- test_failing_trace_id_ratio_based_sampler_decision() : void
- test_ignore_parent_sampled_flag() : void
- test_never_trace_id_ratio_based_sampler_decision() : void
- test_passing_trace_id_ratio_based_sampler_decision() : void
- createParentContext() : ContextInterface
Methods
test_always_trace_id_ratio_based_sampler_decision()
public
test_always_trace_id_ratio_based_sampler_decision() : void
test_failing_trace_id_ratio_based_sampler_decision()
public
test_failing_trace_id_ratio_based_sampler_decision() : void
test_ignore_parent_sampled_flag()
public
test_ignore_parent_sampled_flag() : void
test_never_trace_id_ratio_based_sampler_decision()
public
test_never_trace_id_ratio_based_sampler_decision() : void
test_passing_trace_id_ratio_based_sampler_decision()
public
test_passing_trace_id_ratio_based_sampler_decision() : void
createParentContext()
private
createParentContext(bool $sampled, bool $isRemote[, TraceStateInterface|null $traceState = null ]) : ContextInterface
Parameters
- $sampled : bool
- $isRemote : bool
- $traceState : TraceStateInterface|null = null