opentelemetry-python-contrib/instrumentation/opentelemetry-instrumentati...
Riccardo Magliocchetti b5a0ee526c
opentelemetry-instrumentation-system-metrics: add process metrics (#3250)
* opentelemetry-instrumentation-system-metrics: add process metrics

Add process metrics as of 1.30.0 semconv to the system metrics instrumentation.
We still keep around the old process.runtime metrics because the semconv
suggest to not break current users. Still discourage their use in the
doc and state explicitly they are deprecated.

* Add Changelog

* Please pylint

* Apply suggestions from code review

* Remove print

* Remove process.count and fix system metrics enumeration in tests

* Cleanup metrics presence assertions

* Don't touch system metrics descriptions

* Add default for num_cpu in case it returns None to avoid division error
2025-02-21 09:04:15 +00:00
..
src/opentelemetry/instrumentation/system_metrics opentelemetry-instrumentation-system-metrics: add process metrics (#3250) 2025-02-21 09:04:15 +00:00
tests opentelemetry-instrumentation-system-metrics: add process metrics (#3250) 2025-02-21 09:04:15 +00:00
LICENSE `opentelemetry-instrumentation-system-metrics` restore package (#1012) 2022-04-06 10:54:22 -07:00
README.rst `opentelemetry-instrumentation-system-metrics` restore package (#1012) 2022-04-06 10:54:22 -07:00
pyproject.toml opentelemetry-instrumentation-system-metrics: add support for psutil 7 (#3277) 2025-02-20 15:33:00 +01:00
test-requirements.txt opentelemetry-instrumentation-system-metrics: add support for psutil 7 (#3277) 2025-02-20 15:33:00 +01:00

README.rst

OpenTelemetry System Metrics Instrumentation
============================================

|pypi|

.. |pypi| image:: https://badge.fury.io/py/opentelemetry-instrumentation-system-metrics.svg
   :target: https://pypi.org/project/opentelemetry-instrumentation-system-metrics/

Instrumentation to collect system performance metrics.


Installation
------------

::

    pip install opentelemetry-instrumentation-system-metrics


References
----------
* `OpenTelemetry System Metrics Instrumentation <https://opentelemetry-python-contrib.readthedocs.io/en/latest/instrumentation/system_metrics/system_metrics.html>`_
* `OpenTelemetry Project <https://opentelemetry.io/>`_