$npx skillfedfor your agent

opentelemetry-resourcedetector-docker

An OpenTelemetry package to populates Resource attributes from Docker containers

With conditionsPyPI MonitoringReleased Sep 20221.7M downloads / mopermissive licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — opentelemetry_resourcedetector_docker-0.4.0-py3-none-any.whl
v0.4.0 · released 2022-09-18 · Python >=3.8 · 2 runtime deps: opentelemetry-sdk, opentelemetry-semantic-conventions

Yes, if your observability stack is stable and you are running in Docker with a compatible OpenTelemetry SDK version. The low install friction and permissive license make it straightforward to adopt. No, if you require active maintenance, expect to upgrade OpenTelemetry frequently, or need support for newer container runtimes—the abandoned status and lack of updates since 2022 create risk in evolving environments.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires opentelemetry-sdk and opentelemetry-semantic-conventions as runtime dependencies; intended for use within a containerized environment where Docker metadata is available.
  • Low install friction with only two runtime dependencies.
  • However, the package is abandoned—last release was 2022-09-18 with no commits since, and the repository shows no active maintenance.

License · maintenance · safety

permissive license (permissive) — Licensed under MIT (permissive), so you may use, modify, and distribute it freely with minimal restrictions—suitable for commercial and private projects.

last release 2022-09-18 (1426 days) · last repo commit 2022-09-18

0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,708,391 downloads/mo, #3,631 on PyPI

Verify before relying

pip install opentelemetry-resourcedetector-docker

from opentelemetry.sdk.resources import get_aggregated_resources
from opentelemetry_resourcedetector_docker import DockerResourceDetector

resource = get_aggregated_resources([DockerResourceDetector()])
  • Whether the package correctly detects Docker container IDs and metadata on all container runtimes (Docker, containerd, etc.)
  • Compatibility with recent OpenTelemetry SDK versions released after 2022-09-18
  • Whether abandoned status affects reliability in production observability pipelines
Same gist for agents: .md · .json

What it is and what it does

This package is a resource detector plugin for OpenTelemetry that automatically discovers and extracts Docker container metadata—such as container ID—and attaches it as Resource attributes to your telemetry data. It integrates with the OpenTelemetry SDK's resource aggregation system, allowing you to pass it alongside other detectors to build a complete resource context.

The package is designed to run inside Docker containers and populate telemetry with container-specific identifiers. It depends on opentelemetry-sdk and opentelemetry-semantic-conventions, and has low install friction. However, it has been abandoned since September 2022 with no subsequent maintenance, so it may not work with newer OpenTelemetry versions or evolving container runtime standards.

Use it for

  • Automatically tag traces and metrics with Docker container IDs in containerized applications to correlate observability data with specific containers.
  • Enrich OpenTelemetry Resource attributes in Kubernetes or Docker Compose deployments without manual configuration.
  • Populate container metadata in telemetry backends to enable filtering and grouping by container identity.
  • Integrate Docker resource detection into a multi-detector resource aggregation pipeline for comprehensive context.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if your observability stack is stable and you are running in Docker with a compatible OpenTelemetry SDK version.

The low install friction and permissive license make it straightforward to adopt. No, if you require active maintenance, expect to upgrade OpenTelemetry frequently, or need support for newer container runtimes—the abandoned status and lack of updates since 2022 create risk in evolving environments.

Install

opentelemetry-resourcedetector-docker on PyPI

Before you install

Low install friction with only two runtime dependencies. However, the package is abandoned—last release was 2022-09-18 with no commits since, and the repository shows no active maintenance. Use only if your observability stack is stable and you do not expect upstream updates.

Requires opentelemetry-sdk and opentelemetry-semantic-conventions as runtime dependencies; intended for use within a containerized environment where Docker metadata is available.

License in practice

Licensed under MIT (permissive), so you may use, modify, and distribute it freely with minimal restrictions—suitable for commercial and private projects.

Quickstart

pip install opentelemetry-resourcedetector-docker

from opentelemetry.sdk.resources import get_aggregated_resources
from opentelemetry_resourcedetector_docker import DockerResourceDetector

resource = get_aggregated_resources([DockerResourceDetector()])

Verify before relying

  • Whether the package correctly detects Docker container IDs and metadata on all container runtimes (Docker, containerd, etc.)
  • Compatibility with recent OpenTelemetry SDK versions released after 2022-09-18
  • Whether abandoned status affects reliability in production observability pipelines

Package facts

Licensepermissive license permissive
Python supportSupports the current Python release >=3.8
Install frictionLow. Pure-Python wheel
Runtime dependencies
2 packages
opentelemetry-sdkopentelemetry-semantic-conventions
MaintenanceAbandoned 1,426 days since the last release
Last repo commit
First released
Downloads1,708,391 / month, #3,631 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
License :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3

Evidence: opentelemetry_resourcedetector_docker-0.4.0-py3-none-any.whl

Tags

Capabilities
docker container resource detectionopentelemetry docker metadatacontainer telemetry attributesdocker resource detectoropentelemetry container identificationdocker tracing integrationcontainer observability
Topics
observabilitydockerresource-detection

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 › “docker container resource detection”

Give your agent the search over MCP, or paste the wish link into any chat.

More Monitoring packages

tqdm Worth it
PyPI · Libraries · released Jul 2026

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.

copyleftpure Python · 3.8+
648.6Mdownloads / mo
opentelemetry-semantic-conventions Worth it
PyPI · Monitoring · released Jul 2026

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.

Apache-2.0pure Python · 3.10+
542.9Mdownloads / mo
opentelemetry-sdk Worth it
PyPI · Monitoring · released Jul 2026

Provides the reference implementation of the OpenTelemetry API for collecting and exporting traces, metrics, and logs from Python applications.

Apache-2.0pure Python · 3.10+
521.8Mdownloads / mo
opentelemetry-api With conditions
PyPI · Monitoring · released Jul 2026

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.

Apache-2.0pure Python · 3.10+
463.8Mdownloads / mo
opentelemetry-exporter-otlp-proto-http Worth it
PyPI · Monitoring · released Jul 2026

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.

Apache-2.0pure Python · 3.10+
409.9Mdownloads / mo
opentelemetry-instrumentation Worth it
PyPI · Monitoring · released Jul 2026

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.

Apache-2.0pure Python · 3.10+
393.5Mdownloads / mo

See also opentelemetry-resource-detector-containerid · opentelemetry-resourcedetector-process · opentelemetry-container-distro · opentelemetry-resourcedetector-kubernetes · opentelemetry-resource-detector-azure · opentelemetry-sdk-extension-aws · opentelemetry-resourcedetector-gcp · openfeature-hooks-opentelemetry · opentelemetry-instrumentation-logging · container-inspector