OpenTelemetry PHP

TracerSharedState
in package

FinalYes

Stores shared state/config between all {@see API\TracerInterface} created via the same {@see API\TracerProviderInterface}.

Table of Contents

Properties

$idGenerator  : IdGeneratorInterface
$resource  : ResourceInfo
$sampler  : SamplerInterface
$shutdownResult  : bool|null
$spanLimits  : SpanLimits
$spanProcessor  : SpanProcessorInterface

Methods

__construct()  : mixed
getIdGenerator()  : IdGeneratorInterface
getResource()  : ResourceInfo
getSampler()  : SamplerInterface
getSpanLimits()  : SpanLimits
getSpanProcessor()  : SpanProcessorInterface
hasShutdown()  : bool
shutdown()  : bool
Returns `false` is the provider is already shutdown, otherwise `true`.

Properties

Methods


        
On this page

Search results