Interface ConfigPropertySource
-
- All Superinterfaces:
Ordered
public interface ConfigPropertySource extends 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Map<String,String>
getProperties()
Returns all properties whose default values are overridden by this property source.
-