skillfed

opentelemetry-instrumentation-system-metrics

OpenTelemetry System Metrics Instrumentation

opentelemetry-instrumentation-system-metrics v0.65b0 13.0M downloads/30d#1,296 on PyPI1,086
Permissive license Apache-2.0 Active released

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-metrics

uv

uv add opentelemetry-instrumentation-system-metrics

poetry

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 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

Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14

Tags

system metrics collectionopentelemetry instrumentationcpu memory disk monitoringperformance metrics exportsystem observabilitytelemetry system stats
observabilitymetrics-collectionsystem-monitoring

More Monitoring packages

tqdm

Wraps any iterable to display a real-time…

copyleft · top 100 on PyPI

opentelemetry-semantic-conventions

Provides generated Python code for…

permissive · top 100 on PyPI

opentelemetry-sdk

Provides the reference implementation of the…

permissive · top 100 on PyPI

opentelemetry-api

Provides the abstract API and interfaces for…

permissive · top 100 on PyPI

opentelemetry-exporter-otlp-proto-http

Exports OpenTelemetry observability data to an…

permissive · top 1,000 on PyPI

opentelemetry-instrumentation

Provides automatic instrumentation commands and…

permissive · top 1,000 on PyPI

opentelemetry-instrumentation-logging

Integrates Python's standard logging module…

permissive · top 1,000 on PyPI

opentelemetry-instrumentation-psycopg

Adds OpenTelemetry tracing instrumentation to…

permissive · top 5,000 on PyPI

opentelemetry-instrumentation-pymongo

Adds automatic tracing and observability…

permissive · top 5,000 on PyPI

opentelemetry-instrumentation-celery

Adds distributed tracing and observability to…

permissive · top 5,000 on PyPI

grpcio-observability

Adds observability instrumentation to gRPC…

permissive · top 15,000 on PyPI

opentelemetry-instrumentation-sqlite3

Adds OpenTelemetry tracing instrumentation to…

permissive · top 5,000 on PyPI

opentelemetry-instrumentation-remoulade

Adds distributed tracing instrumentation for…

permissive · top 5,000 on PyPI

opentelemetry-instrumentation-pyramid

Adds automatic tracing and metrics collection…

permissive · top 5,000 on PyPI

opentelemetry-instrumentation-pymemcache

Adds OpenTelemetry tracing instrumentation to…

permissive · top 5,000 on PyPI

motmetrics

Computes multiple object tracker (MOT)…

permissive · top 15,000 on PyPI