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
|[`cpu.mode`](/docs/attributes-registry/cpu.md)| string | The CPU mode for this data point. A container's CPU metric SHOULD be characterized _either_ by data points with no `mode` labels, _or only_ data points with `mode` labels. [1]|`user`; `system`|`Opt-In`||
49
+
|[`cpu.mode`](/docs/attributes-registry/cpu.md)| string | The CPU mode for this data point. A container's CPU metric SHOULD be characterized _either_ by data points with no `mode` labels, _or only_ data points with `mode` labels. [1]|`user`; `system`|`Conditionally Required`[2]||
50
50
51
51
**[1]:** Following states SHOULD be used: `user`, `system`, `kernel`
52
52
53
+
**[2]:** Required if mode is available, i.e. metrics coming from the Docker Stats API.
54
+
53
55
54
56
55
57
`cpu.mode` 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.
@@ -106,10 +108,12 @@ This metric is [opt-in][MetricOptIn].
|[`cpu.mode`](/docs/attributes-registry/cpu.md)| string | The CPU mode for this data point. A container's CPU metric SHOULD be characterized _either_ by data points with no `mode` labels, _or only_ data points with `mode` labels. [1]|`user`; `system`|`Opt-In`||
111
+
|[`cpu.mode`](/docs/attributes-registry/cpu.md)| string | The CPU mode for this data point. A container's CPU metric SHOULD be characterized _either_ by data points with no `mode` labels, _or only_ data points with `mode` labels. [1]|`user`; `system`|`Conditionally Required`[2]||
110
112
111
113
**[1]:** Following states SHOULD be used: `user`, `system`, `kernel`
112
114
115
+
**[2]:** Required if mode is available, i.e. metrics coming from the Docker Stats API.
116
+
113
117
114
118
115
119
`cpu.mode` 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
+2-1
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,8 @@ groups:
13
13
- ref: cpu.mode
14
14
brief: "The CPU mode for this data point. A container's CPU metric SHOULD be characterized _either_ by data points with no `mode` labels, _or only_ data points with `mode` labels."
15
15
note: "Following states SHOULD be used: `user`, `system`, `kernel`"
16
-
requirement_level: opt_in
16
+
requirement_level:
17
+
conditionally_required: Required if mode is available, i.e. metrics coming from the Docker Stats API.
0 commit comments