diff --git a/grafana/dashboard_by_oijkn.json b/grafana/dashboard_by_oijkn.json index ce69dd5..65d5d51 100644 --- a/grafana/dashboard_by_oijkn.json +++ b/grafana/dashboard_by_oijkn.json @@ -162,7 +162,7 @@ "pluginVersion": "8.2.2", "targets": [ { - "expr": "count(rate(container_last_seen{id=~\"/docker/.*\"}[5m]))", + "expr": "count(container_tasks_state{image!=""} and container_tasks_state{state=~"running"})", "format": "time_series", "hide": false, "interval": "",