We’re collecting kubernetes stats via telegraf and influxDB. One of the key metrics I’m trying to visualise is the number of container restarts for each pod. I can see there’s a tag key with the value “io.kubernetes.container.restartCount” but because it’s a tag I can’t figure out how to plot the value of restart counts for each kube pod.
Can anyone provide me with some pointers, please? This strikes me as one of the most important metrics available in kube and I’ve so far been unable to get it graphed, either via prometheus or influxdb.
Thanks for any help you can offer!