From 1fd38bf8a36f28856c12ae30dd78fa28e144e954 Mon Sep 17 00:00:00 2001 From: Yulin Li Date: Wed, 28 Sep 2022 18:46:01 +0800 Subject: [PATCH] collect threads count in opentelemetry-instrumentation-system-metrics (#1339) * collect threads count in opentelemetry-instrumentation-system-metrics * update * avoid devidedByZero exception when sawp memory is 0 * add ut * change log * lint * lint Co-authored-by: Srikanth Chekuri --- CHANGELOG.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c3617f81f8..9f97d2a19c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased](https://github.com/open-telemetry/opentelemetry-python/compare/v1.13.0-0.34b0...HEAD) +### Added + +- `opentelemetry-instrumentation-system-metrics` add supports to collect system thread count. ([#1339](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/1339)) + ## [1.13.0-0.34b0](https://github.com/open-telemetry/opentelemetry-python/releases/tag/v1.13.0-0.34b0) - 2022-09-26 @@ -102,7 +106,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ([#1253](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/1253)) - Add metric instrumentation in starlette ([#1327](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/1327)) - + ### Fixed