- Notifications
You must be signed in to change notification settings - Fork 294
Add k8s container resource related metrics #2178
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
jsuereth merged 5 commits into open-telemetry:main from ChrsMark:add_k8s_container_metrics May 29, 2025
Merged
Add k8s container resource related metrics #2178
jsuereth merged 5 commits into open-telemetry:main from ChrsMark:add_k8s_container_metrics May 29, 2025
Conversation
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
cffdcbe to 628a714 Compare jinja2 reviewed Apr 24, 2025
jinja2 reviewed Apr 24, 2025
628a714 to 26c97a6 Compare trask reviewed Apr 25, 2025
a51935d to 1db53f2 Compare Member Author
| @open-telemetry/semconv-k8s-approvers please take a look. |
| This PR was marked stale due to lack of activity. It will be closed in 7 days. |
Member Author
| Still valid |
jinja2 approved these changes May 28, 2025
Member Author
| @open-telemetry/specs-semconv-approvers @open-telemetry/specs-semconv-maintainers please take a look |
lmolkova approved these changes May 29, 2025
Signed-off-by: ChrsMark <chrismarkou92@gmail.com>
Signed-off-by: ChrsMark <chrismarkou92@gmail.com>
Signed-off-by: ChrsMark <chrismarkou92@gmail.com>
Signed-off-by: ChrsMark <chrismarkou92@gmail.com>
482f2e4 to cbd3b7e Compare jsuereth approved these changes May 29, 2025
3 tasks
1 task
jherbage pushed a commit to jherbage/semantic-conventions that referenced this pull request Jul 1, 2025
Signed-off-by: ChrsMark <chrismarkou92@gmail.com>
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.
1st part of #2074
Changes
This PR adds k8s container resource related metrics that are already in use by the Opentelemetry Collector.
Related to #1032
I suggest to change the
cpu_limittocpu.limitsince it makes sense to have a commonk8s.container.cpu.namespace.The following metrics are added:
k8s.container.cpu_limitk8s.container.cpu.limitk8s.container.cpu_requestk8s.container.cpu.requestk8s.container.memory_limitk8s.container.memory.limitk8s.container.memory_requestk8s.container.memory.requestk8s.container.storage_limitk8s.container.storage.limitk8s.container.storage_requestk8s.container.storage.requestk8s.container.ephemeralstorage_limitk8s.container.ephemeral_storage.limitk8s.container.ephemeralstorage_requestk8s.container.ephemeral_storage.requestMerge requirement checklist
[chore]