K8s Cluster receiver uses would like to monitor K8s CrashLoop Back off state. We had a multiple issues about it:
# k8s.container.* metrics
- id: metric.k8s.container.status.waiting
type: metric
metric_name: k8s.container.status.waiting
stability: experimental
brief: "Whether container is in waiting state. (0 for no, 1 for yes)"
instrument: gauge
unit: ""
Area(s)
area:k8s
Is your change request related to a problem? Please describe.
K8s Cluster receiver uses would like to monitor K8s CrashLoop Back off state. We had a multiple issues about it:
Previously I tried to model
status.waitingas Resource attribute, but because it's mutable it cannot be Resource attribute. See #997I would like to propose adding this as metric to unblock this PR open-telemetry/opentelemetry-collector-contrib#35668
Describe the solution you'd like
Describe alternatives you've considered
No response
Additional context
No response