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

k8s: add metric for pod status conditions #1398

Open
gdvalle opened this issue Sep 9, 2024 · 0 comments
Open

k8s: add metric for pod status conditions #1398

gdvalle opened this issue Sep 9, 2024 · 0 comments
Labels
area:k8s enhancement New feature or request experts needed This issue or pull request is outside an area where general approvers feel they can approve

Comments

@gdvalle
Copy link
Contributor

gdvalle commented Sep 9, 2024

Area(s)

area:k8s

Is your change request related to a problem? Please describe.

open-telemetry/opentelemetry-collector-contrib#32941

I would like to be able to see a pod's Ready status in metrics.

Describe the solution you'd like

I would like all pod status conditions to be represented in a metric to cover the Pod Ready case, among others.

For example, k8s.pod.status.condition.

Describe alternatives you've considered

An explicit k8s.pod.ready metric, that would go along side k8s.container.ready. I feel this is a half-measure, and we'll only end up wanting to support other conditions, some of which will be custom (not part of k8s core). It seems better if we can map closer to k8s pod spec and present these in the same way.

Additional context

open-telemetry/opentelemetry-collector-contrib#32941 (comment) has a concrete example of this.

@gdvalle gdvalle added enhancement New feature or request experts needed This issue or pull request is outside an area where general approvers feel they can approve triage:needs-triage labels Sep 9, 2024
@joaopgrassi joaopgrassi removed their assignment Oct 30, 2024
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 experts needed This issue or pull request is outside an area where general approvers feel they can approve
Projects
Status: Todo
Development

No branches or pull requests

2 participants