ConfigProvider
in package
implements
ConfigProviderInterface
FinalYes
Reads file-based instrumentation configuration from `OTEL_CONFIG_FILE`, registered under {@see ConfigProviderInterface} via SPI.
This is the spec's entry point for instrumentations that read their own configuration without depending on the SDK. It is deliberately not on SdkAutoloader's path: the autoloader parses the document once and reads both configuration roots off that single Configuration, so resolving this service there would cost it a second parse.
Tags
Table of Contents
Interfaces
Methods
Methods
getInstrumentationConfig()
public
getInstrumentationConfig([Context $context = new Context() ]) : ConfigProperties
Parameters
Attributes
- #[Override]