opentelemetry-java-instrumentation
opentelemetry-java-instrumentation copied to clipboard
Support declarative configuration
When declarative config is used, AutoConfigureUtil.getConfig(AutoConfiguredOpenTelemetrySdk) returns null.
This adjusts all calls to this method to be able to accommodate the null response.
Introduces StructuredConfigPropertiesBridge, which implements ConfigProperties when structured config is used and reads agent / instrumentation configuration from the YAML source. See comment for more details.