EnvDetectorSync can be used to detect the presence of and create a Resource from the OTEL_RESOURCE_ATTRIBUTES environment variable.
Returns a Resource populated with attributes from the OTEL_RESOURCE_ATTRIBUTES environment variable. Note this is an async function to conform to the Detector interface.
Generated using TypeDoc
EnvDetectorSync can be used to detect the presence of and create a Resource from the OTEL_RESOURCE_ATTRIBUTES environment variable.