Skip to main content
Drupal API
Menu
User account menu
Log in
Breadcrumb
Drupal Core 11.1.x
ParentBased.php
ParentBased::$localParentNotSampler
Type:
localParentNotSampler
File
vendor/
open-telemetry/
sdk/
Trace/
Sampler/
ParentBased.php
, line 35
Class
ParentBased
This implementation of the SamplerInterface that respects parent context's sampling decision and delegates for the root span. Example: ``` use OpenTelemetry\API\Trace\ParentBased; use OpenTelemetry\API\Trace\AlwaysOnSampler
Namespace
OpenTelemetry\SDK\Trace\Sampler
Code
private readonly SamplerInterface $localParentNotSampler;
RSS feed