PredicatedSampler
in package
FinalYes
A rule of {@see ComposableRuleBased}: the sampler is used for spans that match the predicate.
Tags
Table of Contents
Properties
Methods
Properties
$predicate read-only
private
PredicateInterface
$predicate
$sampler read-only
private
ComposableSamplerInterface
$sampler
Methods
__construct()
public
__construct(PredicateInterface $predicate, ComposableSamplerInterface $sampler) : mixed
Parameters
- $predicate : PredicateInterface
- $sampler : ComposableSamplerInterface
getPredicate()
public
getPredicate() : PredicateInterface
Return values
PredicateInterfacegetSampler()
public
getSampler() : ComposableSamplerInterface