Class EnvironmentResourceProvider
java.lang.Object
io.opentelemetry.sdk.autoconfigure.internal.EnvironmentResourceProvider
- All Implemented Interfaces:
Ordered, ResourceProvider
ResourceProvider for automatically configuring ResourceConfiguration.createEnvironmentResource(ConfigProperties).
This class is internal and is hence not for public use. Its APIs are unstable and can change at any time.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateResource(ConfigProperties config) intorder()Returns the order of applying the SPI implementing this interface.
-
Constructor Details
-
EnvironmentResourceProvider
public EnvironmentResourceProvider()
-
-
Method Details
-
createResource
- Specified by:
createResourcein interfaceResourceProvider
-
order
public int order()Description copied from interface:OrderedReturns the order of applying the SPI implementing this interface. Higher values are applied later, for example: an SPI with order=1 will run after an SPI with order=0. SPI implementations with equal values will be run in a non-deterministic order.
-