opentelemetry-instrumentation-system-metrics
OpenTelemetry System Metrics Instrumentation
What it is and what it does
This package provides OpenTelemetry instrumentation for collecting system-level performance metrics. It integrates with the OpenTelemetry ecosystem to gather data on system resources like CPU, memory, and disk usage, then exports that data through OpenTelemetry's standard export pipeline for use in observability platforms.
The package depends on psutil for low-level system metric collection and the core OpenTelemetry libraries (opentelemetry-api, opentelemetry-instrumentation, opentelemetry-semantic-conventions) to standardize and export the metrics. It's designed for developers building observability into applications that need to track host-level performance alongside application metrics.
Use it for:
- Export system CPU and memory metrics to a monitoring backend alongside application traces.
- Build dashboards correlating application performance with host resource utilization.
- Detect resource bottlenecks by collecting disk I/O and network metrics in production.
- Instrument containerized workloads to track system metrics in orchestrated environments.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Collects system performance metrics (CPU, memory, disk, network) and exports them via OpenTelemetry for observability and monitoring.
Yes, if you are already using OpenTelemetry and need system-level metrics alongside application instrumentation. The package is actively maintained, has no known vulnerabilities, and low install friction. It is still in beta (0.65b0), so production use should account for potential API changes.
Install
opentelemetry-instrumentation-system-metrics on PyPI
pip
pip install opentelemetry-instrumentation-system-metricsuv
uv add opentelemetry-instrumentation-system-metricspoetry
poetry add opentelemetry-instrumentation-system-metricsInstalling opentelemetry-instrumentation-system-metrics
Before you install
Low friction install with stable, actively maintained dependencies. Released 29 days ago with active upstream repository (last commit 2026-08-14). Supports Python 3.10 through 3.14.
License in practice
Apache-2.0 permissive license allows use in commercial and private projects with minimal restrictions.
Quickstart
pip install opentelemetry-instrumentation-system-metrics
from opentelemetry.instrumentation.system_metrics import SystemMetricsInstrumentation
instrumentation = SystemMetricsInstrumentation()
instrumentation.instrument()
Requires Python 3.10 or later; psutil is a runtime dependency for system metric collection.
Verify before relying
- What specific system metrics (CPU, memory, disk, network) are actually collected and their granularity.
- Whether metric collection has configurable intervals or filtering options.
- Performance overhead of continuous system metric instrumentation.
Package facts
| License | Apache-2.0 (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 4 — opentelemetry-api, opentelemetry-instrumentation, opentelemetry-semantic-conventions, psutil |
| Maintenance | actively maintained — 29 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 13,029,312/month — #1,296 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: opentelemetry_instrumentation_system_metrics-0.65b0-py3-none-any.whl
Tags
More Monitoring packages
Wraps any iterable to display a real-time…
copyleft · top 100 on PyPI
opentelemetry-semantic-conventionsProvides generated Python code for…
permissive · top 100 on PyPI
opentelemetry-sdkProvides the reference implementation of the…
permissive · top 100 on PyPI
opentelemetry-apiProvides the abstract API and interfaces for…
permissive · top 100 on PyPI
opentelemetry-exporter-otlp-proto-httpExports OpenTelemetry observability data to an…
permissive · top 1,000 on PyPI
opentelemetry-instrumentationProvides automatic instrumentation commands and…
permissive · top 1,000 on PyPI
opentelemetry-instrumentation-loggingIntegrates Python's standard logging module…
permissive · top 1,000 on PyPI
opentelemetry-instrumentation-psycopgAdds OpenTelemetry tracing instrumentation to…
permissive · top 5,000 on PyPI
opentelemetry-instrumentation-pymongoAdds automatic tracing and observability…
permissive · top 5,000 on PyPI
opentelemetry-instrumentation-celeryAdds distributed tracing and observability to…
permissive · top 5,000 on PyPI
grpcio-observabilityAdds observability instrumentation to gRPC…
permissive · top 15,000 on PyPI
opentelemetry-instrumentation-sqlite3Adds OpenTelemetry tracing instrumentation to…
permissive · top 5,000 on PyPI
opentelemetry-instrumentation-remouladeAdds distributed tracing instrumentation for…
permissive · top 5,000 on PyPI
opentelemetry-instrumentation-pyramidAdds automatic tracing and metrics collection…
permissive · top 5,000 on PyPI
opentelemetry-instrumentation-pymemcacheAdds OpenTelemetry tracing instrumentation to…
permissive · top 5,000 on PyPI
motmetricsComputes multiple object tracker (MOT)…
permissive · top 15,000 on PyPI