Instantly share code, notes, and snippets.
大体こんな感じで。
sum by(pod) (increase(kube_pod_container_status_restarts_total{some_condition}[2m]))