From 6e196f8fa9af84cea9a6b0ba9c1b8bf42b53bffe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Toralf=20F=C3=B6rster?= Date: Sun, 21 Apr 2024 12:53:28 +0200 Subject: [PATCH] narrow down each panel to $Job b/c struppi is 2x in the config --- dashboards/tor-snowflake-1m.json | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/dashboards/tor-snowflake-1m.json b/dashboards/tor-snowflake-1m.json index 5fa2362..8f01004 100644 --- a/dashboards/tor-snowflake-1m.json +++ b/dashboards/tor-snowflake-1m.json @@ -179,7 +179,7 @@ }, "disableTextWrap": false, "editorMode": "builder", - "expr": "sum by(instance) (rate(tor_snowflake_proxy_connections_total{instance=~\"$Instance\"}[1h])) * 3600", + "expr": "sum by(instance) (rate(tor_snowflake_proxy_connections_total{instance=~\"$Instance\", job=~\"$Job\"}[1h])) * 3600", "fullMetaSearch": false, "includeNullMetadata": false, "instant": false, @@ -282,7 +282,7 @@ }, "disableTextWrap": false, "editorMode": "builder", - "expr": "process_open_fds{instance=~\"$Instance\"}", + "expr": "process_open_fds{instance=~\"$Instance\", job=~\"$Job\"}", "fullMetaSearch": false, "includeNullMetadata": true, "instant": false, @@ -489,7 +489,7 @@ }, "disableTextWrap": false, "editorMode": "builder", - "expr": "sum by(instance) (rate(process_cpu_seconds_total{instance=~\"$Instance\"}[1h]))", + "expr": "sum by(instance) (rate(process_cpu_seconds_total{instance=~\"$Instance\", job=~\"$Job\"}[1h]))", "fullMetaSearch": false, "includeNullMetadata": false, "instant": false, @@ -593,7 +593,7 @@ }, "disableTextWrap": false, "editorMode": "builder", - "expr": "sum by(instance) (rate(tor_snowflake_proxy_traffic_outbound_bytes_total{instance=~\"$Instance\"}[10m]))", + "expr": "sum by(instance) (rate(tor_snowflake_proxy_traffic_outbound_bytes_total{instance=~\"$Instance\", job=~\"$Job\"}[10m]))", "fullMetaSearch": false, "includeNullMetadata": false, "instant": false, @@ -695,7 +695,7 @@ }, "disableTextWrap": false, "editorMode": "builder", - "expr": "process_resident_memory_bytes{instance=~\"$Instance\"}", + "expr": "process_resident_memory_bytes{instance=~\"$Instance\", job=~\"$Job\"}", "fullMetaSearch": false, "includeNullMetadata": true, "instant": false, @@ -798,7 +798,7 @@ }, "disableTextWrap": false, "editorMode": "builder", - "expr": "process_virtual_memory_bytes{instance=~\"$Instance\"}", + "expr": "process_virtual_memory_bytes{instance=~\"$Instance\", job=~\"$Job\"}", "fullMetaSearch": false, "includeNullMetadata": true, "instant": false, @@ -874,6 +874,6 @@ "timezone": "", "title": "Tor Snowflake 1m", "uid": "b1cf61bb-53e2-44e9-9f96-af33116dee8a", - "version": 57, + "version": 59, "weekStart": "" } \ No newline at end of file