Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions .chloggen/k8s_cputime_metrics_rc.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: enhancement

# The name of the area of concern in the attributes-registry, (e.g. http, cloud, db)
component: k8s

# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
note: Promote `k8s.pod.cpu.time`, `k8s.node.cpu.time` and `container.cpu.time` metrics to `release_candidate`

# 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: [3001]

# (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:
4 changes: 2 additions & 2 deletions docs/system/container-metrics.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ The actual accuracy would depend on the instrumentation and operating system.

### Metric: `container.cpu.time`

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

<!-- semconv metric.container.cpu.time -->
<!-- NOTE: THIS TEXT IS AUTOGENERATED. DO NOT EDIT BY HAND. -->
Expand All @@ -61,7 +61,7 @@ This metric is [opt-in][MetricOptIn].

| Name | Instrument Type | Unit (UCUM) | Description | Stability | Entity Associations |
| -------- | --------------- | ----------- | -------------- | --------- | ------ |
| `container.cpu.time` | Counter | `s` | Total CPU time consumed. [1] | ![Development](https://img.shields.io/badge/-development-blue) | [`container`](/docs/registry/entities/container.md#container) |
| `container.cpu.time` | Counter | `s` | Total CPU time consumed. [1] | ![Release Candidate](https://img.shields.io/badge/-rc-mediumorchid) | [`container`](/docs/registry/entities/container.md#container) |

**[1]:** Total CPU time consumed by the specific container on all available CPU cores

Expand Down
4 changes: 2 additions & 2 deletions docs/system/k8s-metrics.md
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ This metric is [recommended][MetricRecommended].

| Name | Instrument Type | Unit (UCUM) | Description | Stability | Entity Associations |
| -------- | --------------- | ----------- | -------------- | --------- | ------ |
| `k8s.pod.cpu.time` | Counter | `s` | Total CPU time consumed. [1] | ![Development](https://img.shields.io/badge/-development-blue) | [`k8s.pod`](/docs/registry/entities/k8s.md#k8s-pod) |
| `k8s.pod.cpu.time` | Counter | `s` | Total CPU time consumed. [1] | ![Release Candidate](https://img.shields.io/badge/-rc-mediumorchid) | [`k8s.pod`](/docs/registry/entities/k8s.md#k8s-pod) |

**[1]:** Total CPU time consumed by the specific Pod on all available CPU cores

Expand Down Expand Up @@ -1042,7 +1042,7 @@ This metric is [recommended][MetricRecommended].

| Name | Instrument Type | Unit (UCUM) | Description | Stability | Entity Associations |
| -------- | --------------- | ----------- | -------------- | --------- | ------ |
| `k8s.node.cpu.time` | Counter | `s` | Total CPU time consumed. [1] | ![Development](https://img.shields.io/badge/-development-blue) | [`k8s.node`](/docs/registry/entities/k8s.md#k8s-node) |
| `k8s.node.cpu.time` | Counter | `s` | Total CPU time consumed. [1] | ![Release Candidate](https://img.shields.io/badge/-rc-mediumorchid) | [`k8s.node`](/docs/registry/entities/k8s.md#k8s-node) |

**[1]:** Total CPU time consumed by the specific Node on all available CPU cores

Expand Down
2 changes: 1 addition & 1 deletion model/container/metrics.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ groups:
annotations:
code_generation:
metric_value_type: double
stability: development
stability: release_candidate
brief: "Total CPU time consumed."
note: >
Total CPU time consumed by the specific container on all available CPU cores
Expand Down
4 changes: 2 additions & 2 deletions model/k8s/metrics.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ groups:
annotations:
code_generation:
metric_value_type: double
stability: development
stability: release_candidate
brief: "Total CPU time consumed."
entity_associations:
- k8s.pod
Expand Down Expand Up @@ -537,7 +537,7 @@ groups:
annotations:
code_generation:
metric_value_type: double
stability: development
stability: release_candidate
brief: "Total CPU time consumed."
note: >
Total CPU time consumed by the specific Node on all available CPU cores
Expand Down
Loading