opentelemetry-container-distro
An OpenTelemetry distro which automatically discovers container attributes
Decision gist · record as of 2026-08-14
No. The package is abandoned (last commit 2022-09-18, no updates for over three years) and its dependencies have likely evolved significantly. For new projects, use the current opentelemetry-distro and add resource detectors explicitly. For existing deployments already running this version, evaluate whether upstream OpenTelemetry updates have introduced breaking changes before upgrading other components.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.8 or later; depends on opentelemetry-api, opentelemetry-sdk, opentelemetry-exporter-otlp, opentelemetry-instrumentation, and the three resource detectors (docker, kubernetes, process).
- Low install friction with a pure-Python wheel, but the package is abandoned—last updated 2022-09-18 with no commits since then.
- Relies on seven runtime dependencies that may have evolved independently.
License · maintenance · safety
permissive license (permissive) — MIT license permits commercial and private use with minimal restrictions, making it safe to adopt from a licensing perspective.
last release 2022-09-18 (1426 days) · last repo commit 2022-09-18
0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,325,942 downloads/mo, #4,057 on PyPI
Alternatives
Verify before relying
pip install opentelemetry-container-distro
from opentelemetry.sdk.resources import get_aggregated_resource_from_envvar
from opentelemetry.sdk.trace import TracerProvider
resource = get_aggregated_resource_from_envvar()
tracer_provider = TracerProvider(resource=resource)- Whether the bundled resource detectors remain compatible with current OpenTelemetry SDK versions.
- Whether the package's configuration behavior fully matches the current opentelemetry-distro standard.
- Active maintenance status of the upstream OpenTelemetry dependencies this package relies on.
What it is and what it does
opentelemetry-container-distro is a preconfigured OpenTelemetry distribution designed to simplify telemetry setup in containerized environments. It extends the standard opentelemetry-distro by bundling three resource detectors—for Docker, Kubernetes, and process-level attributes—so they are automatically discovered and attached to telemetry data without manual configuration. This saves boilerplate when deploying observability to containers.
The package depends on seven OpenTelemetry components: opentelemetry-api, opentelemetry-sdk, opentelemetry-instrumentation, opentelemetry-exporter-otlp, opentelemetry-resourcedetector-docker, opentelemetry-resourcedetector-kubernetes, and opentelemetry-resourcedetector-process. It targets Python 3.8 and later. However, the package has not been updated since 2022-09-18 and is marked abandoned, meaning its dependencies may have drifted from the current OpenTelemetry ecosystem.
Use it for
- Automatically inject Docker container metadata into traces and metrics without manual resource configuration.
- Detect and attach Kubernetes pod and cluster attributes to observability signals in containerized deployments.
- Simplify OpenTelemetry setup in container-native applications by bundling common resource detectors in one distro.
- Establish baseline process-level telemetry alongside container context in multi-container systems.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No.
The package is abandoned (last commit 2022-09-18, no updates for over three years) and its dependencies have likely evolved significantly. For new projects, use the current opentelemetry-distro and add resource detectors explicitly. For existing deployments already running this version, evaluate whether upstream OpenTelemetry updates have introduced breaking changes before upgrading other components.
Install
opentelemetry-container-distro on PyPI
Before you install
Low install friction with a pure-Python wheel, but the package is abandoned—last updated 2022-09-18 with no commits since then. Relies on seven runtime dependencies that may have evolved independently.
Requires Python 3.8 or later; depends on opentelemetry-api, opentelemetry-sdk, opentelemetry-exporter-otlp, opentelemetry-instrumentation, and the three resource detectors (docker, kubernetes, process).
License in practice
MIT license permits commercial and private use with minimal restrictions, making it safe to adopt from a licensing perspective.
Quickstart
pip install opentelemetry-container-distro
from opentelemetry.sdk.resources import get_aggregated_resource_from_envvar
from opentelemetry.sdk.trace import TracerProvider
resource = get_aggregated_resource_from_envvar()
tracer_provider = TracerProvider(resource=resource)
Verify before relying
- Whether the bundled resource detectors remain compatible with current OpenTelemetry SDK versions.
- Whether the package's configuration behavior fully matches the current opentelemetry-distro standard.
- Active maintenance status of the upstream OpenTelemetry dependencies this package relies on.
Package facts
| License | permissive license permissive |
| Python support | Supports the current Python release >=3.8 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 7 packagesopentelemetry-apiopentelemetry-exporter-otlpopentelemetry-instrumentationopentelemetry-resourcedetector-dockeropentelemetry-resourcedetector-kubernetesopentelemetry-resourcedetector-processopentelemetry-sdk |
| Maintenance | Abandoned 1,426 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 1,325,942 / month, #4,057 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | License :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3 |
Evidence: opentelemetry_container_distro-0.2.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “opentelemetry container setup”
- opentelemetry-container-distroProvides an OpenTelemetry distribution that automatically detects and…
- opentelemetry-resource-detector-containeridDetects and registers container runtime metadata (container ID, image…
- opentelemetry-resourcedetector-dockerExtracts Docker container metadata and populates OpenTelemetry…
Give your agent the search over MCP, or paste the wish link into any chat.
More Monitoring packages
Wraps any iterable to display a real-time progress bar in the terminal or Jupyter notebook, showing iteration count, elapsed time, and estimated time remaining.
Provides generated Python code for OpenTelemetry semantic conventions, enabling standardized attribute naming and constant definitions for instrumentation and telemetry collection.
Install it if you are using OpenTelemetry and want to follow semantic conventions correctly.
Provides the reference implementation of the OpenTelemetry API for collecting and exporting traces, metrics, and logs from Python applications.
Provides the abstract API and interfaces for OpenTelemetry instrumentation in Python, defining how to emit traces, metrics, and logs without tying code to a specific SDK implementation.
Exports OpenTelemetry observability data to an OpenTelemetry Collector using Protobuf-encoded messages over HTTP.
Install it if you are using OpenTelemetry in Python and need to send data to a Collector over HTTP.
Provides automatic instrumentation commands and programmatic APIs to inject distributed tracing into Python applications without code changes, detecting and instrumenting packages used by your program.
Install it if you need distributed tracing without code changes and have compatible instrumented packages in your environment.
See also opentelemetry-resource-detector-containerid · opentelemetry-resourcedetector-docker · opentelemetry-resourcedetector-kubernetes · aws-opentelemetry-distro · opentelemetry-resourcedetector-process · opentelemetry-distro · azure-monitor-opentelemetry · opentelemetry-resourcedetector-gcp · distro