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 52
__construct(Container $container)
Create a provider factory.
at line 62
ProviderSet
create(array $configuration, ProcessIdentity $identity, Closure $resolveExporterFactory)
Build the enabled worker-local signal providers.
at line 97
protected MeterProviderInterface|null
metrics(array $configuration, Closure $resolveResource, Closure $resolveExporterFactory)
Build or resolve the metrics provider.
at line 149
protected TracerProviderInterface|null
traces(array $configuration, Closure $resolveResource, Closure $resolveExporterFactory, MeterProviderInterface|null $internalMeterProvider)
Build or resolve the trace provider.
at line 200
protected LoggerProviderInterface|null
logs(array $configuration, Closure $resolveResource, Closure $resolveExporterFactory, MeterProviderInterface|null $internalMeterProvider)
Build or resolve the log provider.
at line 247
protected ResourceInfo
resource(array $configuration, ProcessIdentity $identity)
Build the standard resource for one producing process.
at line 292
protected array
exporterConfiguration(array $configuration, string $name)
Resolve one configured exporter record.
at line 300
protected SamplerInterface
sampler(string $sampler, mixed $argument)
Resolve a standard or application sampler.
at line 318
protected ExemplarFilterInterface
exemplarFilter(string $filter)
Resolve the configured exemplar filter.
at line 336
protected object
resolve(string $class, string $contract, string $description)
Resolve and validate a configured service.