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

Metadata

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

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.66b2
File Size Uploaded Provenance Actions
opentelemetry_resource_detector_containerid-0.66b2.tar.gz 8.1 kB Without provenance Details for opentelemetry_resource_detector_containerid-0.66b2.tar.gz

Built distribution (wheel)

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

Total release size: 15.9 kB

Release files / opentelemetry_resource_detector_containerid-0.66b2.tar.gz

Download URL opentelemetry_resource_detector_containerid-0.66b2.tar.gz
Size 8.1 kB
Tags Source
SHA-256 checksum
How to use checksums
5861e64bc773efa1d5d92c480b9580756504446822dab8127a537d1896f9ee1e
BLAKE2b-256 checksum
How to use checksums
c6f92251b1214d9219a5e705e502ca0ee29b237ac923c430a66bdda5cb80fc08
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.22

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

Download URL opentelemetry_resource_detector_containerid-0.66b2-py3-none-any.whl
Size 7.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2d4cb1b5727dffbeaadb7ded758af483e45ff1385902f93f5e7a0656814bee93
BLAKE2b-256 checksum
How to use checksums
ef655e67ff774057e07d07eb5611d03e095c0b29ef19ee3f3b3cb079efda0612
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.22

Security for opentelemetry-resource-detector-containerid 0.66b2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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