OpenTelemetry PHP

ComposableParentThreshold
in package
implements ComposableSamplerInterface

FinalYes

Propagates the sampling decision of the parent and delegates root spans to the root sampler.

  • A valid parent th that is consistent with the sampled flag of the parent (sampled == R >= th) is propagated with a reliable adjusted count.
  • An apparently inconsistent th is erased, that is treated as absent.
  • Without a usable th, a sampled parent gives threshold 0 and an unsampled parent drops the span, both with an unreliable adjusted count.
Tags
experimental

Table of Contents

Interfaces

ComposableSamplerInterface
A sampler that returns its sampling preference (a {@see SamplingIntentInterface}) instead of a decision.

Properties

$description  : string
$rootSampler  : ComposableSamplerInterface

Methods

__construct()  : mixed
getDescription()  : string
getSamplingIntent()  : SamplingIntentInterface

Properties

Methods

On this page

Search results