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
**Note:** For CPU limit and request, SemConv splits each into `desired` (from spec) and `current` (from container status) to support [K8s container resource resize](https://kubernetes.io/docs/tasks/configure-pod-container/resize-container-resources/).
351
+
348
352
### K8s ResourceQuota metrics
349
353
350
354
The K8s ResourceQuota metrics implemented by the Collector and specifically the
|`k8s.container.cpu.limit_utilization`|Gauge|`1`|The ratio of container CPU usage to its CPU limit. [1]||[`k8s.container`](/docs/registry/entities/k8s.md#k8s-container)|
2068
+
|`k8s.container.cpu.limit.desired`|UpDownCounter|`{cpu}`|Maximum CPU resource limit as defined by the container spec. [1]||[`k8s.container`](/docs/registry/entities/k8s.md#k8s-container)|
2067
2069
2068
-
**[1]:** The value range is [0.0,1.0]. A value of 1.0 means the container is using 100% of its CPU limit. If the CPU limit is not set, this metric SHOULD NOT be emitted for that container.
2070
+
**[1]:** This metric aligns with the limit in the
2071
+
[`resources`](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/#resourcerequirements-v1-core) field of
|`k8s.container.cpu.request_utilization`| Gauge |`1`| The ratio of container CPU usage to its CPU request. ||[`k8s.container`](/docs/registry/entities/k8s.md#k8s-container)|
2091
+
|`k8s.container.cpu.limit.current`| UpDownCounter |`{cpu}`| Maximum CPU resource limit currently configured for a running container. [1]||[`k8s.container`](/docs/registry/entities/k8s.md#k8s-container)|
2092
+
2093
+
**[1]:** This metric aligns with the limit in the
2094
+
[`resources`](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/#resourcerequirements-v1-core) field of
|`k8s.container.cpu.limit`|UpDownCounter|`{cpu}`|Maximum CPU resource limit set for the container. [1]||[`k8s.container`](/docs/registry/entities/k8s.md#k8s-container)|
2114
+
|`k8s.container.cpu.limit.utilization`|Gauge|`1`|The ratio of container CPU usage to its current CPU limit. [1]||[`k8s.container`](/docs/registry/entities/k8s.md#k8s-container)|
2104
2115
2105
-
**[1]:** See https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#resourcerequirements-v1-core for details.
2116
+
**[1]:** The current CPU limit reflects the actual resources applied to the container, as reported by
|`k8s.container.cpu.request.desired`| UpDownCounter |`{cpu}`| CPU resource requested as defined by the container spec. [1]||[`k8s.container`](/docs/registry/entities/k8s.md#k8s-container)|
2137
+
2138
+
**[1]:** This metric aligns with the request in the
2139
+
[`resources`](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/#resourcerequirements-v1-core) field of
|`k8s.container.cpu.request`| UpDownCounter |`{cpu}`| CPU resource requested for the container. [1]||[`k8s.container`](/docs/registry/entities/k8s.md#k8s-container)|
2159
+
|`k8s.container.cpu.request.current`| UpDownCounter |`{cpu}`| CPU resource requested currently configured for a running container. [1]||[`k8s.container`](/docs/registry/entities/k8s.md#k8s-container)|
2125
2160
2126
-
**[1]:** See https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#resourcerequirements-v1-core for details.
2161
+
**[1]:** This metric aligns with the request in the
2162
+
[`resources`](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/#resourcerequirements-v1-core) field of
|`k8s.container.cpu.request.utilization`| Gauge |`1`| The ratio of container CPU usage to its current CPU request. [1]||[`k8s.container`](/docs/registry/entities/k8s.md#k8s-container)|
2183
+
2184
+
**[1]:** The current CPU request reflects the request applied to the running container, as reported by
0 commit comments