Interface ConfigPropertySource
- All Superinterfaces:
Ordered
A service provider that allows to override default OTel agent configuration. Properties returned
by implementations of this interface will be used after the following methods fail to find a
non-empty property value: system properties, environment variables, properties configuration
file.
This is a service provider interface that requires implementations to be registered in a
provider-configuration file stored in the META-INF/services
resource directory.
-
Method Summary
Modifier and TypeMethodDescriptionReturns all properties whose default values are overridden by this property source.
-
Method Details
-
getProperties
Returns all properties whose default values are overridden by this property source. Key of the map is the propertyName (same as system property name, e.g.otel.traces.exporter
), value is the property value.
-