You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|[`container.cpu.state`](/docs/attributes-registry/container.md)| string | The CPU state for this data point. A container SHOULD be characterized _either_ by data points with no `state` labels, _or only_ data points with `state` labels. |`user`; `kernel`|`Opt-In`||
49
+
|[`container.cpu.state`](/docs/attributes-registry/container.md)| string | The CPU state for this data point. A container's cpu time SHOULD be characterized _either_ by data points with no `state` labels, _or only_ data points with `state` labels. |`user`; `kernel`|`Opt-In`||
46
50
47
51
`container.cpu.state` has the following list of well-known values. If one of them applies, then the respective value MUST be used; otherwise, a custom value MAY be used.
48
52
@@ -72,7 +76,7 @@ This metric is [opt-in][MetricOptIn].
72
76
73
77
| Name | Instrument Type | Unit (UCUM) | Description | Stability |
|`container.cpu.usage`| Gauge |`{cpu}`| CPU usage [1]||
79
+
|`container.cpu.usage`| Gauge |`{cpu}`|Container's CPU usage, measured in cpus. Range from 0 to the number of allocatable cpus[1]||
76
80
77
81
78
82
**[1]:** CPU usage of the specific container on all available CPU cores, averaged over the sample window
@@ -93,7 +97,7 @@ This metric is [opt-in][MetricOptIn].
|[`container.cpu.state`](/docs/attributes-registry/container.md)| string | The CPU state for this data point. A container SHOULD be characterized _either_ by data points with no `state` labels, _or only_ data points with `state` labels. |`user`; `kernel`|`Opt-In`||
100
+
|[`container.cpu.state`](/docs/attributes-registry/container.md)| string | The CPU state for this data point. A container's cpu time SHOULD be characterized _either_ by data points with no `state` labels, _or only_ data points with `state` labels. |`user`; `kernel`|`Opt-In`||
97
101
98
102
`container.cpu.state` has the following list of well-known values. If one of them applies, then the respective value MUST be used; otherwise, a custom value MAY be used.
Copy file name to clipboardExpand all lines: model/metrics/container.yaml
+3-3
Original file line number
Diff line number
Diff line change
@@ -11,21 +11,21 @@ groups:
11
11
unit: "s"
12
12
attributes:
13
13
- ref: container.cpu.state
14
-
brief: "The CPU state for this data point. A container SHOULD be characterized _either_ by data points with no `state` labels, _or only_ data points with `state` labels."
14
+
brief: "The CPU state for this data point. A container's cpu time SHOULD be characterized _either_ by data points with no `state` labels, _or only_ data points with `state` labels."
15
15
requirement_level: opt_in
16
16
17
17
- id: metric.container.cpu.usage
18
18
type: metric
19
19
metric_name: container.cpu.usage
20
20
stability: experimental
21
-
brief: "CPU usage"
21
+
brief: "Container's CPU usage, measured in cpus. Range from 0 to the number of allocatable cpus"
22
22
note: >
23
23
CPU usage of the specific container on all available CPU cores, averaged over the sample window
24
24
instrument: gauge
25
25
unit: "{cpu}"
26
26
attributes:
27
27
- ref: container.cpu.state
28
-
brief: "The CPU state for this data point. A container SHOULD be characterized _either_ by data points with no `state` labels, _or only_ data points with `state` labels."
28
+
brief: "The CPU state for this data point. A container's cpu usage SHOULD be characterized _either_ by data points with no `state` labels, _or only_ data points with `state` labels."
0 commit comments