ProviderFactory
class ProviderFactory
Methods
create(array $configuration, ProcessIdentity $identity, Closure $resolveExporterFactory)
Build the enabled worker-local signal providers.
MeterProviderInterface|null
TracerProviderInterface|null
LoggerProviderInterface|null
ResourceInfo
resource(array $configuration, ProcessIdentity $identity)
Build the standard resource for one producing process.
array
exporterConfiguration(array $configuration, string $name)
Resolve one configured exporter record.
SamplerInterface
sampler(string $sampler, mixed $argument)
Resolve a standard or application sampler.
ExemplarFilterInterface
exemplarFilter(string $filter)
Resolve the configured exemplar filter.
object
resolve(string $class, string $contract, string $description)
Resolve and validate a configured service.
Details
at line 54
__construct(Container $container)
Create a provider factory.
at line 64
ProviderSet
create(array $configuration, ProcessIdentity $identity, Closure $resolveExporterFactory)
Build the enabled worker-local signal providers.
at line 99
protected MeterProviderInterface|null
metrics(array $configuration, Closure $resolveResource, Closure $resolveExporterFactory)
Build or resolve the metrics provider.
at line 151
protected TracerProviderInterface|null
traces(array $configuration, Closure $resolveResource, Closure $resolveExporterFactory, MeterProviderInterface|null $internalMeterProvider)
Build or resolve the trace provider.
at line 202
protected LoggerProviderInterface|null
logs(array $configuration, Closure $resolveResource, Closure $resolveExporterFactory, MeterProviderInterface|null $internalMeterProvider)
Build or resolve the log provider.
at line 249
protected ResourceInfo
resource(array $configuration, ProcessIdentity $identity)
Build the standard resource for one producing process.
at line 293
protected array
exporterConfiguration(array $configuration, string $name)
Resolve one configured exporter record.
at line 301
protected SamplerInterface
sampler(string $sampler, mixed $argument)
Resolve a standard or application sampler.
at line 319
protected ExemplarFilterInterface
exemplarFilter(string $filter)
Resolve the configured exemplar filter.
at line 337
protected object
resolve(string $class, string $contract, string $description)
Resolve and validate a configured service.