Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

OpenTelemetry Resource detectors for containers

pypi

This library provides custom resource detector for container platforms

Installation

pip install opentelemetry-resource-detector-containerid

Usage example for opentelemetry-resource-detector-containerid

from opentelemetry import trace
from opentelemetry.sdk.trace import TracerProvider
from opentelemetry.resource.detector.containerid import (
    ContainerResourceDetector,
)
from opentelemetry.sdk.resources import get_aggregated_resources


trace.set_tracer_provider(
    TracerProvider(
        resource=get_aggregated_resources(
            [
                ContainerResourceDetector(),
            ]
        ),
    )
)

References

Release files for opentelemetry-resource-detector-containerid 0.66b0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for opentelemetry-resource-detector-containerid 0.66b0
File Size Uploaded
opentelemetry_resource_detector_containerid-0.66b0.tar.gz 8.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for opentelemetry-resource-detector-containerid 0.66b0
File Interpreter ABI Platform
opentelemetry_resource_detector_containerid-0.66b0-py3-none-any.whl Python 3 none any Details

Total release size: 15.9 kB

Release files / opentelemetry_resource_detector_containerid-0.66b0.tar.gz

Download URL opentelemetry_resource_detector_containerid-0.66b0.tar.gz
Size 8.1 kB
Tags Source
SHA-256 checksum
How to use checksums
3cc47c4306da924d7cf5a73350474c735d5efdd39feb91be4be5dd73f2712d71
BLAKE2b-256 checksum
How to use checksums
f73894ea3e754bbb47d729cb8a9ba4581febd4fc464b74fb53574b1af41c5966
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.21

Release files / opentelemetry_resource_detector_containerid-0.66b0-py3-none-any.whl

Download URL opentelemetry_resource_detector_containerid-0.66b0-py3-none-any.whl
Size 7.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f27b514556b0c51ef2ad6c45b9811b874756eba6ed25ce7fb0f9cdcea27bd41a
BLAKE2b-256 checksum
How to use checksums
8c7bef69f8b0e7ef26a32946d51c7348e2b68d29afb96bc7b5ccd8414a807c74
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.21
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page