diff --git a/monitoring/grafana-dashboard.json b/monitoring/grafana-dashboard.json index 7ccab34..9754b67 100644 --- a/monitoring/grafana-dashboard.json +++ b/monitoring/grafana-dashboard.json @@ -162,7 +162,7 @@ "uid": "${DS_PROMETHEUS}" }, "exemplar": true, - "expr": "max(max_over_time(dragonfly_uptime_in_seconds{instance=~\"$instance\"}[$__interval]))", + "expr": "max(max_over_time(dragonfly_uptime_in_seconds{pod=~\"$instance\"}[$__interval]))", "format": "time_series", "interval": "", "intervalFactor": 2, @@ -248,7 +248,7 @@ "uid": "${DS_PROMETHEUS}" }, "exemplar": true, - "expr": "dragonfly_connected_clients{instance=~\"$instance\"}", + "expr": "dragonfly_connected_clients{pod=~\"$instance\"}", "format": "time_series", "interval": "", "intervalFactor": 2, @@ -339,7 +339,7 @@ "uid": "${DS_PROMETHEUS}" }, "exemplar": true, - "expr": "100 * (dragonfly_memory_used_bytes{instance=~\"$instance\"} / dragonfly_memory_max_bytes{instance=~\"$instance\"} )", + "expr": "100 * (dragonfly_memory_used_bytes{pod=~\"$instance\"} / dragonfly_memory_max_bytes{pod=~\"$instance\"} )", "format": "time_series", "interval": "", "intervalFactor": 2, @@ -411,7 +411,7 @@ "disableTextWrap": false, "editorMode": "code", "exemplar": false, - "expr": "dragonfly_role{instance=\"$instance\", role=\"master\"}", + "expr": "dragonfly_role{pod=\"$instance\", role=\"master\"}", "fullMetaSearch": false, "includeNullMetadata": true, "instant": true, @@ -486,7 +486,7 @@ }, "editorMode": "code", "exemplar": true, - "expr": "rate(dragonfly_commands_processed_total{instance=~\"$instance\"}[5m])", + "expr": "rate(dragonfly_commands_processed_total{pod=~\"$instance\"}[5m])", "format": "time_series", "interval": "", "intervalFactor": 2, @@ -595,7 +595,7 @@ "uid": "${DS_PROMETHEUS}" }, "exemplar": true, - "expr": "dragonfly_memory_used_bytes{instance=~\"$instance\"} ", + "expr": "dragonfly_memory_used_bytes{pod=~\"$instance\"} ", "format": "time_series", "interval": "", "intervalFactor": 2, @@ -611,7 +611,7 @@ "uid": "${DS_PROMETHEUS}" }, "exemplar": true, - "expr": "dragonfly_memory_max_bytes{instance=~\"$instance\"} ", + "expr": "dragonfly_memory_max_bytes{pod=~\"$instance\"} ", "format": "time_series", "hide": false, "interval": "", @@ -713,7 +713,7 @@ "uid": "${DS_PROMETHEUS}" }, "exemplar": true, - "expr": "rate(dragonfly_net_input_bytes_total{instance=~\"$instance\"}[5m])", + "expr": "rate(dragonfly_net_input_bytes_total{pod=~\"$instance\"}[5m])", "format": "time_series", "interval": "", "intervalFactor": 2, @@ -727,7 +727,7 @@ "uid": "${DS_PROMETHEUS}" }, "exemplar": true, - "expr": "rate(dragonfly_net_output_bytes_total{instance=~\"$instance\"}[5m])", + "expr": "rate(dragonfly_net_output_bytes_total{pod=~\"$instance\"}[5m])", "format": "time_series", "interval": "", "intervalFactor": 2, @@ -829,7 +829,7 @@ "uid": "${DS_PROMETHEUS}" }, "exemplar": true, - "expr": "sum (dragonfly_db_keys{instance=~\"$instance\"}) by (db)", + "expr": "sum (dragonfly_db_keys{pod=~\"$instance\"}) by (db)", "format": "time_series", "interval": "", "intervalFactor": 2, @@ -930,7 +930,7 @@ "uid": "${DS_PROMETHEUS}" }, "exemplar": true, - "expr": "sum (dragonfly_db_keys{instance=~\"$instance\"}) - sum (dragonfly_db_keys_expiring{instance=~\"$instance\"}) ", + "expr": "sum (dragonfly_db_keys{pod=~\"$instance\"}) - sum (dragonfly_db_keys_expiring{pod=~\"$instance\"}) ", "format": "time_series", "interval": "", "intervalFactor": 2, @@ -945,7 +945,7 @@ "uid": "${DS_PROMETHEUS}" }, "exemplar": true, - "expr": "sum (dragonfly_db_keys_expiring{instance=~\"$instance\"})", + "expr": "sum (dragonfly_db_keys_expiring{pod=~\"$instance\"})", "format": "time_series", "interval": "", "intervalFactor": 2, @@ -1071,7 +1071,7 @@ }, "disableTextWrap": false, "editorMode": "code", - "expr": "irate(dragonfly_connections_received_total{instance=\"$instance\"}[$__rate_interval])", + "expr": "irate(dragonfly_connections_received_total{pod=\"$instance\"}[$__rate_interval])", "fullMetaSearch": false, "includeNullMetadata": false, "instant": false, @@ -1142,7 +1142,7 @@ "uid": "${DS_PROMETHEUS}" }, "exemplar": true, - "expr": "dragonfly_connected_clients{instance=\"$instance\"}", + "expr": "dragonfly_connected_clients{pod=\"$instance\"}", "format": "time_series", "interval": "", "intervalFactor": 1, @@ -1243,7 +1243,7 @@ }, "editorMode": "code", "exemplar": true, - "expr": "rate(dragonfly_keyspace_hits_total{instance=~\"$instance\"}[5m])", + "expr": "rate(dragonfly_keyspace_hits_total{pod=~\"$instance\"}[5m])", "format": "time_series", "interval": "", "intervalFactor": 2, @@ -1260,7 +1260,7 @@ "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", - "expr": "rate(dragonfly_keyspace_misses_total{instance=~\"$instance\"}[5m])", + "expr": "rate(dragonfly_keyspace_misses_total{pod=~\"$instance\"}[5m])", "hide": false, "instant": false, "legendFormat": "misses", @@ -1312,11 +1312,7 @@ } }, { - "aliasColors": { - "evicts": "#890F02", - "memcached_items_evicted_total{instance=\"172.17.0.1:9150\",job=\"prometheus\"}": "#890F02", - "reclaims": "#3F6833" - }, + "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, @@ -1380,7 +1376,7 @@ "uid": "${DS_PROMETHEUS}" }, "exemplar": true, - "expr": "sum(rate(dragonfly_expired_keys_total{instance=~\"$instance\"}[5m])) by (instance)", + "expr": "sum(rate(dragonfly_expired_keys_total{pod=~\"$instance\"}[5m])) by (instance)", "format": "time_series", "hide": false, "interval": "", @@ -1397,7 +1393,7 @@ "uid": "${DS_PROMETHEUS}" }, "exemplar": true, - "expr": "sum(rate(dragonfly_evicted_keys_total{instance=~\"$instance\"}[5m])) by (instance)", + "expr": "sum(rate(dragonfly_evicted_keys_total{pod=~\"$instance\"}[5m])) by (instance)", "format": "time_series", "interval": "", "intervalFactor": 2, @@ -1452,7 +1448,7 @@ "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, - "definition": "label_values(dragonfly_uptime_in_seconds,instance)", + "definition": "label_values(dragonfly_uptime_in_seconds,pod)", "hide": 0, "includeAll": false, "label": "instance", @@ -1460,7 +1456,7 @@ "name": "instance", "options": [], "query": { - "query": "label_values(dragonfly_uptime_in_seconds,instance)", + "query": "label_values(dragonfly_uptime_in_seconds,pod)", "refId": "PrometheusVariableQueryEditor-VariableQuery" }, "refresh": 1,