OpenTelemetry Python - Resource Detector for Containers¶
- class opentelemetry.resource.detector.container.ContainerResourceDetector(raise_on_error=False)[source]¶
Bases:
opentelemetry.sdk.resources.ResourceDetector
Detects container.id only available when app is running inside the docker container and return it in a Resource