(k8s): add CPU limit/request utilization metrics for pod and container#2514
Merged
joaopgrassi merged 5 commits intoopen-telemetry:mainfrom Sep 11, 2025
Merged
Conversation
5ca2f00 to
b1d11bc
Compare
1 task
Signed-off-by: ChrsMark <[email protected]>
b1d11bc to
e18ea5b
Compare
Member
Author
|
@open-telemetry/semconv-k8s-approvers please take a look |
Signed-off-by: ChrsMark <[email protected]>
Member
Author
|
@jinja2 @skl @dmitryax I have removed the pod related metric for now until we have the discussion on how/if these will be implemented. I filed an issue in the Collector contrib so we can revisit the current implementation first: open-telemetry/opentelemetry-collector-contrib#42485 Apart from this, the current PR is ready for review so please take a look. |
Signed-off-by: ChrsMark <[email protected]>
jinja2
reviewed
Sep 8, 2025
Co-authored-by: Jina Jain <[email protected]>
Signed-off-by: ChrsMark <[email protected]>
jinja2
approved these changes
Sep 9, 2025
TylerHelmuth
approved these changes
Sep 10, 2025
Member
Author
|
@open-telemetry/specs-semconv-approvers @open-telemetry/specs-semconv-maintainers could you please take a look? |
rogercoll
approved these changes
Sep 10, 2025
AlexanderWert
approved these changes
Sep 11, 2025
joaopgrassi
approved these changes
Sep 11, 2025
Merged
via the queue into
open-telemetry:main
with commit Sep 11, 2025
585c4c3
28 of 29 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #1489 and #1032
Changes
This PR adds the following metrics:
k8s.container.cpu.limit_utilizationk8s.container.cpu.request_utilizationThese metrics are already in use by the Collector: https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/v0.129.0/receiver/kubeletstatsreceiver/documentation.md
Merge requirement checklist
[chore]