--- id: opentelemetry-instrumentation-system-metrics version: "0.65b0" license: Apache-2.0 license_treatment: permissive maintenance: active --- # opentelemetry-instrumentation-system-metrics — OpenTelemetry System Metrics Instrumentation License: permissive · Maintenance: active · Downloads: 13.0M/mo ## 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 above — 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 pip install opentelemetry-instrumentation-system-metrics uv add opentelemetry-instrumentation-system-metrics poetry add opentelemetry-instrumentation-system-metrics ## Installing 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_current - Install friction: low - Maintenance: active - Downloads: 13.0M/month (top 5,000 on PyPI) - Known vulnerabilities: none known ## Tags system metrics collection, opentelemetry instrumentation, cpu memory disk monitoring, performance metrics export, system observability, telemetry system stats, observability, metrics-collection, system-monitoring [View on SkillFed](https://skillfed.io/packages/opentelemetry-instrumentation-system-metrics) · [View on PyPI](https://pypi.org/project/opentelemetry-instrumentation-system-metrics/)