Interface PropertySource


  • public interface PropertySource
    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.
    • Method Detail

      • getProperties

        Map<String,​String> 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.