Skip to content

Commit

Permalink
Make {system,process}.cpu.utilization opt-in (open-telemetry#1308)
Browse files Browse the repository at this point in the history
Signed-off-by: ChrsMark <chrismarkou92@gmail.com>
Co-authored-by: Liudmila Molkova <limolkova@microsoft.com>
  • Loading branch information
ChrsMark and lmolkova authored Aug 3, 2024
1 parent 01c542c commit e9c09e8
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 2 deletions.
22 changes: 22 additions & 0 deletions .chloggen/make_cpu_util_optin.yaml
Original file line number Diff line number Diff line change
@@ -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:
3 changes: 2 additions & 1 deletion docs/system/process-metrics.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ This metric is [recommended][MetricRecommended].

### Metric: `process.cpu.utilization`

This metric is [recommended][MetricRecommended].
This metric is [opt-in][MetricOptIn].

<!-- semconv metric.process.cpu.utilization(metric_table) -->
<!-- NOTE: THIS TEXT IS AUTOGENERATED. DO NOT EDIT BY HAND. -->
Expand Down Expand Up @@ -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
2 changes: 1 addition & 1 deletion docs/system/system-metrics.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ This metric is [recommended][MetricRecommended].

### Metric: `system.cpu.utilization`

This metric is [recommended][MetricRecommended].
This metric is [opt-in][MetricOptIn].

<!-- semconv metric.system.cpu.utilization(metric_table) -->
<!-- NOTE: THIS TEXT IS AUTOGENERATED. DO NOT EDIT BY HAND. -->
Expand Down

0 comments on commit e9c09e8

Please sign in to comment.