Add k8s.{pod,node}.cpu.{time,usage} metrics#1320
Add k8s.{pod,node}.cpu.{time,usage} metrics#1320lmolkova merged 6 commits intoopen-telemetry:mainfrom
Conversation
4354d0e to
2dc78ea
Compare
Signed-off-by: ChrsMark <[email protected]>
2dc78ea to
f768c35
Compare
Signed-off-by: ChrsMark <[email protected]>
|
@open-telemetry/specs-semconv-approvers could you also take a look? |
|
We probably discussed it somewhere, but could you remind me if we have cpu count available for pods/nods and if there are any plans to report it? |
The The containers define the cpu_limits/cpu_requests, so the the limits/requests of a Pod can be calculated by summarizing its containers' limits/requests. |
Signed-off-by: ChrsMark <[email protected]>
|
@lmolkova does this repo have merge queue enabled? |
Co-authored-by: Liudmila Molkova <[email protected]>
nope, it's all manual. I enabled auto-merge for this one, but all open discussions need to be resolved to allow it to happen. |
Signed-off-by: ChrsMark <[email protected]>
Changes
This PR adds the
k8s.pod.cpu.time,k8s.pod.cpu.usage,k8s.node.cpu.time,k8s.node.cpu.usagemetrics.The respective Collector's implementation can be found at https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/receiver/kubeletstatsreceiver/metadata.yaml#L84
Part of #1032.
Merge requirement checklist
[chore]