TracerProviderBuilder
in package
Table of Contents
Properties
- $configurator : Configurator|null
- $resource : ResourceInfo|null
- $sampler : SamplerInterface|null
- $spanProcessors : array<int, SpanProcessorInterface>
Methods
- addSpanProcessor() : self
- build() : TracerProviderInterface
- setConfigurator() : self
- setResource() : self
- setSampler() : self
Properties
$configurator
private
Configurator|null
$configurator
= null
$resource
private
ResourceInfo|null
$resource
= null
$sampler
private
SamplerInterface|null
$sampler
= null
$spanProcessors
private
array<int, SpanProcessorInterface>
$spanProcessors
= []
Methods
addSpanProcessor()
public
addSpanProcessor(SpanProcessorInterface $spanProcessor) : self
Parameters
- $spanProcessor : SpanProcessorInterface
Return values
selfbuild()
public
build() : TracerProviderInterface
Return values
TracerProviderInterfacesetConfigurator()
public
setConfigurator(Configurator $configurator) : self
Parameters
- $configurator : Configurator
Return values
selfsetResource()
public
setResource(ResourceInfo $resource) : self
Parameters
- $resource : ResourceInfo
Return values
selfsetSampler()
public
setSampler(SamplerInterface $sampler) : self
Parameters
- $sampler : SamplerInterface