Class ResourcesConfig


  • @Immutable
    public abstract class ResourcesConfig
    extends Object
    Class that holds global resources parameters.

    Configuration options for ResourcesConfig can be read from system properties, environment variables, or Properties objects.

    For system properties and Properties objects, ResourcesConfig will look for the following names:

    • otel.java.disabled.resource_providers: to set the fully qualified class names of ResourceProvider implementations that are found on the classpath but should be disabled.

    For environment variables, ResourcesConfig will look for the following names:

    • OTEL_JAVA_DISABLED_RESOURCES_PROVIDERS: to set the fully qualified class names of ResourceProvider implementations that are found on the classpath but should be disabled.