You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
k8s.container.status_waiting_reason:
enabled: false
description: Describes the reason the container is currently in waiting state.
unit: ""
attributes:
- reason
gauge:
value_type: int
FYI I've opened a PR on semconv for last terminated reason -> open-telemetry/semantic-conventions#922 and looks like some refactorings are needed on my PR. So this time let's first agree if we want this and then make a PR to semconv
Component(s)
receiver/k8scluster
Is your feature request related to a problem? Please describe.
I would like to get some container state metrics, about waiting reason. One use case is to know whether the container is in CrashLoopBackOff.
Example happening in pod:
Kube State Metrics has this modelled as this Prometheus metric:
Ref: https://github.com/kubernetes/kube-state-metrics/blob/main/docs/metrics/workload/pod-metrics.md
So would be great to have a similar metric.
Describe the solution you'd like
https://github.com/kubernetes/kube-state-metrics/blob/main/internal/store/pod.go#L554-L578
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: