Skip to content

k8s: Update memory resource metrics to handle resize#3646

Merged
lmolkova merged 3 commits intoopen-telemetry:mainfrom
jmmcorreia:k8s_container_memory_metrics
Apr 27, 2026
Merged

k8s: Update memory resource metrics to handle resize#3646
lmolkova merged 3 commits intoopen-telemetry:mainfrom
jmmcorreia:k8s_container_memory_metrics

Conversation

@jmmcorreia
Copy link
Copy Markdown
Contributor

Fixes #

Changes

Modifies the k8s container memory limit and request metrics to align with resize of memory metrics as documented in https://kubernetes.io/docs/tasks/configure-pod-container/resize-container-resources/

Similar to CPU PR #3559

Note: No memory utilization metrics were added in this PR since they do not exist in the semantic conventions for memory. Can add them here if deemed fit, but the plan was to raise an issue and start a discussion to close on a definition before adding the metric.

@jmmcorreia jmmcorreia requested review from a team as code owners April 22, 2026 14:27
@github-actions github-actions Bot added enhancement New feature or request area:k8s labels Apr 22, 2026
@jmmcorreia jmmcorreia changed the title Update memory resource metrics to handle resize k8s: Update memory resource metrics to handle resize Apr 22, 2026
Copy link
Copy Markdown
Member

@ChrsMark ChrsMark left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, with one nit wording suggestion and an open question about the requirement levels.

Comment thread .chloggen/k8s_container_memory_metrics.yaml Outdated
Comment thread docs/system/k8s-metrics.md
@github-project-automation github-project-automation Bot moved this from Untriaged to Needs More Approval in Semantic Conventions Triage Apr 24, 2026
@ChrsMark ChrsMark moved this to Approved by K8s SIG in K8s SemConv SIG Apr 27, 2026
@lmolkova lmolkova added this pull request to the merge queue Apr 27, 2026
Merged via the queue into open-telemetry:main with commit 8b2e7ac Apr 27, 2026
18 checks passed
@github-project-automation github-project-automation Bot moved this from Approved by K8s SIG to Done in K8s SemConv SIG Apr 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:k8s enhancement New feature or request

Projects

Status: Done
Archived in project

Development

Successfully merging this pull request may close these issues.

Proposal: Enhance k8s container cpu/memory resource metrics

5 participants