Skip to content
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

Add k8s.{pod,node}.memory.usage metrics #1406

Merged
merged 3 commits into from
Sep 21, 2024

Conversation

ChrsMark
Copy link
Member

@ChrsMark ChrsMark commented Sep 16, 2024

Part of #1032

Changes

This PR adds the k8s.pod.memory.usage and k8s.node.memory.usage metrics which are already used in the kubeletstats receiver of the Collector:

Merge requirement checklist

Copy link
Contributor

@jsuereth jsuereth left a comment

Choose a reason for hiding this comment

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

New metrics LGTM but this PR needs to be updated with changes in structure.

docs/system/k8s-metrics.md Outdated Show resolved Hide resolved
docs/system/k8s-metrics.md Outdated Show resolved Hide resolved
model/metrics/k8s.yaml Outdated Show resolved Hide resolved
@ChrsMark ChrsMark requested review from a team as code owners September 19, 2024 12:56
Copy link
Contributor

@jsuereth jsuereth left a comment

Choose a reason for hiding this comment

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

This looks fine to me, but I'm finding metrics with no attributes problematic in documentation.

I think we should have recommendations/requirements on what resources metrics can/must associate with, e.g. I expect these metrics would need to be associated with a k8s.pod or k8s.node right?

This is for resolution outside this PR.

docs/system/k8s-metrics.md Show resolved Hide resolved
@lmolkova lmolkova enabled auto-merge (squash) September 21, 2024 03:35
@lmolkova lmolkova merged commit efea622 into open-telemetry:main Sep 21, 2024
14 checks passed
drewby pushed a commit to drewby/otel-semantic-conventions that referenced this pull request Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

6 participants