From e9c09e80396ca434601c9fce2f29fd26620ea4dc Mon Sep 17 00:00:00 2001 From: Christos Markou Date: Sat, 3 Aug 2024 04:46:37 +0300 Subject: [PATCH] Make {system,process}.cpu.utilization opt-in (#1308) Signed-off-by: ChrsMark Co-authored-by: Liudmila Molkova --- .chloggen/make_cpu_util_optin.yaml | 22 ++++++++++++++++++++++ docs/system/process-metrics.md | 3 ++- docs/system/system-metrics.md | 2 +- 3 files changed, 25 insertions(+), 2 deletions(-) create mode 100755 .chloggen/make_cpu_util_optin.yaml diff --git a/.chloggen/make_cpu_util_optin.yaml b/.chloggen/make_cpu_util_optin.yaml new file mode 100755 index 000000000..80f7d5cb7 --- /dev/null +++ b/.chloggen/make_cpu_util_optin.yaml @@ -0,0 +1,22 @@ +# Use this changelog template to create an entry for release notes. +# +# If your change doesn't affect end users you should instead start +# your pull request title with [chore] or use the "Skip Changelog" label. + +# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix' +change_type: breaking + +# The name of the area of concern in the attributes-registry, (e.g. http, cloud, db) +component: system + +# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). +note: Make system.cpu.utilization and process.cpu.utilization opt-in + +# Mandatory: One or more tracking issues related to the change. You can use the PR number here if no issue exists. +# The values here must be integers. +issues: [1130] + +# (Optional) One or more lines of additional information to render under the primary note. +# These lines will be padded with 2 spaces and then inserted directly into the document. +# Use pipe (|) for multiline entries. +subtext: diff --git a/docs/system/process-metrics.md b/docs/system/process-metrics.md index 892382e40..54f5a6167 100644 --- a/docs/system/process-metrics.md +++ b/docs/system/process-metrics.md @@ -103,7 +103,7 @@ This metric is [recommended][MetricRecommended]. ### Metric: `process.cpu.utilization` -This metric is [recommended][MetricRecommended]. +This metric is [opt-in][MetricOptIn]. @@ -479,3 +479,4 @@ This metric is [recommended][MetricRecommended]. [DocumentStatus]: https://opentelemetry.io/docs/specs/otel/document-status [MetricRecommended]: /docs/general/metric-requirement-level.md#recommended +[MetricOptIn]: /docs/general/metric-requirement-level.md#opt-in diff --git a/docs/system/system-metrics.md b/docs/system/system-metrics.md index 46ef36db2..cb11264f6 100644 --- a/docs/system/system-metrics.md +++ b/docs/system/system-metrics.md @@ -134,7 +134,7 @@ This metric is [recommended][MetricRecommended]. ### Metric: `system.cpu.utilization` -This metric is [recommended][MetricRecommended]. +This metric is [opt-in][MetricOptIn].