Class ResourceConfiguration
java.lang.Object
io.opentelemetry.sdk.autoconfigure.ResourceConfiguration
-
Method Details
-
createEnvironmentResource
-
createEnvironmentResource
Create aResourcefrom the environment. The resource contains attributes parsed from environment variables and system property keysotel.resource.attributesandotel.service.name.- Parameters:
config- theConfigPropertiesused to obtain resource properties- Returns:
- the resource.
-