How to check a specific kubernetes pod is up or not in Grafana metrics -
i creating grafana dashboard show metrices. there keyword can use in query check service running or not. using prometheus retrive data api metrics creation.
you can create query
count_scalar(container_last_seen{name=<container_name>})
that give count of how many containers running name
Comments
Post a Comment