diff --git a/templates/dashboards/network.json.j2 b/templates/dashboards/network.json.j2 index 84e8d9d..8c360f3 100644 --- a/templates/dashboards/network.json.j2 +++ b/templates/dashboards/network.json.j2 @@ -493,7 +493,7 @@ "expr": "increase(node_network_receive_bytes_total{instance=~\"$node\",device=~\"$device\"}[60m])", "interval": "60m", "intervalFactor": 1, - "legendFormat": "{{device}}_receive", + "legendFormat": "\{\{device\}\}_receive", "metric": "", "refId": "A", "step": 600, @@ -508,7 +508,7 @@ "hide": false, "interval": "60m", "intervalFactor": 1, - "legendFormat": "{{device}}_transmit", + "legendFormat": "\{\{device\}\}_transmit", "refId": "B", "step": 600 } @@ -632,7 +632,7 @@ "instant": false, "interval": "", "intervalFactor": 2, - "legendFormat": "{{device}}", + "legendFormat": "\{\{device\}\}", "refId": "A" } ], @@ -737,7 +737,7 @@ "instant": false, "interval": "", "intervalFactor": 2, - "legendFormat": "{{device}}", + "legendFormat": "\{\{device\}\}", "refId": "A" } ], diff --git a/templates/dashboards/nginx.json.j2 b/templates/dashboards/nginx.json.j2 index e9869ae..8c6e17e 100644 --- a/templates/dashboards/nginx.json.j2 +++ b/templates/dashboards/nginx.json.j2 @@ -257,7 +257,7 @@ "format": "time_series", "instant": false, "intervalFactor": 1, - "legendFormat": "{{instance}} accepted", + "legendFormat": "\{\{instance\}\} accepted", "refId": "A" }, { @@ -269,7 +269,7 @@ "format": "time_series", "instant": false, "intervalFactor": 1, - "legendFormat": "{{instance}} handled", + "legendFormat": "\{\{instance\}\} handled", "refId": "B" } ], @@ -362,7 +362,7 @@ "expr": "nginx_connections_active{instance=~\"$instance\"}", "format": "time_series", "intervalFactor": 1, - "legendFormat": "{{instance}} active", + "legendFormat": "\{\{instance\}\} active", "refId": "A" }, { @@ -373,7 +373,7 @@ "expr": "nginx_connections_reading{instance=~\"$instance\"}", "format": "time_series", "intervalFactor": 1, - "legendFormat": "{{instance}} reading", + "legendFormat": "\{\{instance\}\} reading", "refId": "B" }, { @@ -384,7 +384,7 @@ "expr": "nginx_connections_waiting{instance=~\"$instance\"}", "format": "time_series", "intervalFactor": 1, - "legendFormat": "{{instance}} waiting", + "legendFormat": "\{\{instance\}\} waiting", "refId": "C" }, { @@ -395,7 +395,7 @@ "expr": "nginx_connections_writing{instance=~\"$instance\"}", "format": "time_series", "intervalFactor": 1, - "legendFormat": "{{instance}} writing", + "legendFormat": "\{\{instance\}\} writing", "refId": "D" } ], @@ -484,7 +484,7 @@ "expr": "irate(nginx_http_requests_total{instance=~\"$instance\"}[5m])", "format": "time_series", "intervalFactor": 1, - "legendFormat": "{{instance}} total requests", + "legendFormat": "\{\{instance\}\} total requests", "refId": "A" } ], diff --git a/templates/dashboards/node-exporter.json.j2 b/templates/dashboards/node-exporter.json.j2 index 14a9872..feea686 100644 --- a/templates/dashboards/node-exporter.json.j2 +++ b/templates/dashboards/node-exporter.json.j2 @@ -1587,7 +1587,7 @@ "expr": "rate(node_network_receive_bytes_total{instance=\"$host\",job=\"$job\"}[$__rate_interval])*8", "format": "time_series", "intervalFactor": 1, - "legendFormat": "recv {{device}}", + "legendFormat": "recv \{\{device\}\}", "range": true, "refId": "A", "step": 240 @@ -1601,7 +1601,7 @@ "expr": "rate(node_network_transmit_bytes_total{instance=\"$host\",job=\"$job\"}[$__rate_interval])*8", "format": "time_series", "intervalFactor": 1, - "legendFormat": "trans {{device}} ", + "legendFormat": "trans \{\{device\}\} ", "range": true, "refId": "B", "step": 240 @@ -1705,7 +1705,7 @@ "expr": "100 - ((node_filesystem_avail_bytes{instance=\"$host\",job=\"$job\",device!~'rootfs'} * 100) / node_filesystem_size_bytes{instance=\"$host\",job=\"$job\",device!~'rootfs'})", "format": "time_series", "intervalFactor": 1, - "legendFormat": "{{mountpoint}}", + "legendFormat": "\{\{mountpoint\}\}", "refId": "A", "step": 240 } @@ -2270,7 +2270,7 @@ "expr": "rate(node_network_receive_bytes_total{instance=\"$host\",job=\"$job\"}[$__rate_interval])*8", "format": "time_series", "intervalFactor": 1, - "legendFormat": "{{device}} - Receive", + "legendFormat": "\{\{device\}\} - Receive", "refId": "A", "step": 240 }, @@ -2282,7 +2282,7 @@ "expr": "rate(node_network_transmit_bytes_total{instance=\"$host\",job=\"$job\"}[$__rate_interval])*8", "format": "time_series", "intervalFactor": 1, - "legendFormat": "{{device}} - Transmit", + "legendFormat": "\{\{device\}\} - Transmit", "refId": "B", "step": 240 } @@ -2387,7 +2387,7 @@ "expr": "node_filesystem_size_bytes{instance=\"$host\",job=\"$job\",device!~'rootfs'} - node_filesystem_avail_bytes{instance=\"$host\",job=\"$job\",device!~'rootfs'}", "format": "time_series", "intervalFactor": 1, - "legendFormat": "{{mountpoint}}", + "legendFormat": "\{\{mountpoint\}\}", "refId": "A", "step": 240 } @@ -2576,7 +2576,7 @@ }, "expr": "rate(node_disk_reads_completed_total{instance=\"$host\",job=\"$job\",device=~\"$diskdevices\"}[$__rate_interval])", "intervalFactor": 4, - "legendFormat": "{{device}} - Reads completed", + "legendFormat": "\{\{device\}\} - Reads completed", "refId": "A", "step": 240 }, @@ -2587,7 +2587,7 @@ }, "expr": "rate(node_disk_writes_completed_total{instance=\"$host\",job=\"$job\",device=~\"$diskdevices\"}[$__rate_interval])", "intervalFactor": 1, - "legendFormat": "{{device}} - Writes completed", + "legendFormat": "\{\{device\}\} - Writes completed", "refId": "B", "step": 240 } @@ -2715,7 +2715,7 @@ "format": "time_series", "hide": false, "intervalFactor": 1, - "legendFormat": "{{device}} - Successfully read bytes", + "legendFormat": "\{\{device\}\} - Successfully read bytes", "refId": "A", "step": 240 }, @@ -2728,7 +2728,7 @@ "format": "time_series", "hide": false, "intervalFactor": 1, - "legendFormat": "{{device}} - Successfully written bytes", + "legendFormat": "\{\{device\}\} - Successfully written bytes", "refId": "B", "step": 240 } @@ -2835,7 +2835,7 @@ "hide": false, "interval": "", "intervalFactor": 1, - "legendFormat": "{{device}}", + "legendFormat": "\{\{device\}\}", "refId": "A", "step": 240 } @@ -5992,7 +5992,7 @@ "format": "time_series", "interval": "", "intervalFactor": 1, - "legendFormat": "{{ state }}", + "legendFormat": "\{\{ state \}\}", "refId": "A", "step": 240 } @@ -6435,7 +6435,7 @@ "format": "time_series", "interval": "", "intervalFactor": 1, - "legendFormat": "CPU {{ cpu }} - seconds spent running a process", + "legendFormat": "CPU \{\{ cpu \}\} - seconds spent running a process", "refId": "A", "step": 240 }, @@ -6448,7 +6448,7 @@ "format": "time_series", "interval": "", "intervalFactor": 1, - "legendFormat": "CPU {{ cpu }} - seconds spent by processing waiting for this CPU", + "legendFormat": "CPU \{\{ cpu \}\} - seconds spent by processing waiting for this CPU", "refId": "B", "step": 240 } @@ -6904,7 +6904,7 @@ "format": "time_series", "interval": "", "intervalFactor": 1, - "legendFormat": "{{ type }} - {{ info }}", + "legendFormat": "\{\{ type \}\} - \{\{ info \}\}", "refId": "A", "step": 240 } @@ -6996,7 +6996,7 @@ "format": "time_series", "interval": "", "intervalFactor": 1, - "legendFormat": "CPU {{ cpu }}", + "legendFormat": "CPU \{\{ cpu \}\}", "refId": "A", "step": 240 } @@ -7423,7 +7423,7 @@ "format": "time_series", "interval": "", "intervalFactor": 1, - "legendFormat": "{{ chip }} {{ sensor }} temp", + "legendFormat": "\{\{ chip \}\} \{\{ sensor \}\} temp", "refId": "A", "step": 240 }, @@ -7437,7 +7437,7 @@ "hide": true, "interval": "", "intervalFactor": 1, - "legendFormat": "{{ chip }} {{ sensor }} Critical Alarm", + "legendFormat": "\{\{ chip \}\} \{\{ sensor \}\} Critical Alarm", "refId": "B", "step": 240 }, @@ -7450,7 +7450,7 @@ "format": "time_series", "interval": "", "intervalFactor": 1, - "legendFormat": "{{ chip }} {{ sensor }} Critical", + "legendFormat": "\{\{ chip \}\} \{\{ sensor \}\} Critical", "refId": "C", "step": 240 }, @@ -7464,7 +7464,7 @@ "hide": true, "interval": "", "intervalFactor": 1, - "legendFormat": "{{ chip }} {{ sensor }} Critical Historical", + "legendFormat": "\{\{ chip \}\} \{\{ sensor \}\} Critical Historical", "refId": "D", "step": 240 }, @@ -7478,7 +7478,7 @@ "hide": true, "interval": "", "intervalFactor": 1, - "legendFormat": "{{ chip }} {{ sensor }} Max", + "legendFormat": "\{\{ chip \}\} \{\{ sensor \}\} Max", "refId": "E", "step": 240 } @@ -7586,7 +7586,7 @@ "hide": false, "interval": "", "intervalFactor": 1, - "legendFormat": "Current {{ name }} in {{ type }}", + "legendFormat": "Current \{\{ name \}\} in \{\{ type \}\}", "refId": "A", "step": 240 }, @@ -7599,7 +7599,7 @@ "format": "time_series", "interval": "", "intervalFactor": 1, - "legendFormat": "Max {{ name }} in {{ type }}", + "legendFormat": "Max \{\{ name \}\} in \{\{ type \}\}", "refId": "B", "step": 240 } @@ -7699,7 +7699,7 @@ "hide": false, "interval": "", "intervalFactor": 1, - "legendFormat": "{{ power_supply }} online", + "legendFormat": "\{\{ power_supply \}\} online", "refId": "A", "step": 240 } @@ -7809,7 +7809,7 @@ "format": "time_series", "interval": "", "intervalFactor": 1, - "legendFormat": "{{ name }} Connections", + "legendFormat": "\{\{ name \}\} Connections", "refId": "A", "step": 240 } @@ -8196,7 +8196,7 @@ }, "expr": "rate(node_disk_reads_completed_total{instance=\"$host\",job=\"$job\"}[$__rate_interval])", "intervalFactor": 4, - "legendFormat": "{{device}} - Reads completed", + "legendFormat": "\{\{device\}\} - Reads completed", "refId": "A", "step": 240 }, @@ -8207,7 +8207,7 @@ }, "expr": "rate(node_disk_writes_completed_total{instance=\"$host\",job=\"$job\"}[$__rate_interval])", "intervalFactor": 1, - "legendFormat": "{{device}} - Writes completed", + "legendFormat": "\{\{device\}\} - Writes completed", "refId": "B", "step": 240 } @@ -8394,7 +8394,7 @@ "expr": "rate(node_disk_read_bytes_total{instance=\"$host\",job=\"$job\"}[$__rate_interval])", "format": "time_series", "intervalFactor": 4, - "legendFormat": "{{device}} - Read bytes", + "legendFormat": "\{\{device\}\} - Read bytes", "refId": "A", "step": 240 }, @@ -8406,7 +8406,7 @@ "expr": "rate(node_disk_written_bytes_total{instance=\"$host\",job=\"$job\"}[$__rate_interval])", "format": "time_series", "intervalFactor": 1, - "legendFormat": "{{device}} - Written bytes", + "legendFormat": "\{\{device\}\} - Written bytes", "refId": "B", "step": 240 } @@ -8596,7 +8596,7 @@ "hide": false, "interval": "", "intervalFactor": 4, - "legendFormat": "{{device}} - Read wait time avg", + "legendFormat": "\{\{device\}\} - Read wait time avg", "refId": "A", "step": 240 }, @@ -8609,7 +8609,7 @@ "hide": false, "interval": "", "intervalFactor": 1, - "legendFormat": "{{device}} - Write wait time avg", + "legendFormat": "\{\{device\}\} - Write wait time avg", "refId": "B", "step": 240 } @@ -8794,7 +8794,7 @@ "expr": "rate(node_disk_io_time_weighted_seconds_total{instance=\"$host\",job=\"$job\"}[$__rate_interval])", "interval": "", "intervalFactor": 4, - "legendFormat": "{{device}}", + "legendFormat": "\{\{device\}\}", "refId": "A", "step": 240 } @@ -8983,7 +8983,7 @@ }, "expr": "rate(node_disk_reads_merged_total{instance=\"$host\",job=\"$job\"}[$__rate_interval])", "intervalFactor": 1, - "legendFormat": "{{device}} - Read merged", + "legendFormat": "\{\{device\}\} - Read merged", "refId": "A", "step": 240 }, @@ -8994,7 +8994,7 @@ }, "expr": "rate(node_disk_writes_merged_total{instance=\"$host\",job=\"$job\"}[$__rate_interval])", "intervalFactor": 1, - "legendFormat": "{{device}} - Write merged", + "legendFormat": "\{\{device\}\} - Write merged", "refId": "B", "step": 240 } @@ -9179,7 +9179,7 @@ "expr": "rate(node_disk_io_time_seconds_total{instance=\"$host\",job=\"$job\"}[$__rate_interval])", "interval": "", "intervalFactor": 4, - "legendFormat": "{{device}} - IO", + "legendFormat": "\{\{device\}\} - IO", "refId": "A", "step": 240 }, @@ -9191,7 +9191,7 @@ "expr": "rate(node_disk_discard_time_seconds_total{instance=\"$host\",job=\"$job\"}[$__rate_interval])", "interval": "", "intervalFactor": 4, - "legendFormat": "{{device}} - discard", + "legendFormat": "\{\{device\}\} - discard", "refId": "B", "step": 240 } @@ -9378,7 +9378,7 @@ "expr": "node_disk_io_now{instance=\"$host\",job=\"$job\"}", "interval": "", "intervalFactor": 4, - "legendFormat": "{{device}} - IO now", + "legendFormat": "\{\{device\}\} - IO now", "refId": "A", "step": 240 } @@ -9583,7 +9583,7 @@ "expr": "rate(node_disk_discards_completed_total{instance=\"$host\",job=\"$job\"}[$__rate_interval])", "interval": "", "intervalFactor": 4, - "legendFormat": "{{device}} - Discards completed", + "legendFormat": "\{\{device\}\} - Discards completed", "refId": "A", "step": 240 }, @@ -9595,7 +9595,7 @@ "expr": "rate(node_disk_discards_merged_total{instance=\"$host\",job=\"$job\"}[$__rate_interval])", "interval": "", "intervalFactor": 1, - "legendFormat": "{{device}} - Discards merged", + "legendFormat": "\{\{device\}\} - Discards merged", "refId": "B", "step": 240 } @@ -9717,7 +9717,7 @@ "format": "time_series", "hide": false, "intervalFactor": 1, - "legendFormat": "{{mountpoint}} - Available", + "legendFormat": "\{\{mountpoint\}\} - Available", "metric": "", "refId": "A", "step": 240 @@ -9731,7 +9731,7 @@ "format": "time_series", "hide": true, "intervalFactor": 1, - "legendFormat": "{{mountpoint}} - Free", + "legendFormat": "\{\{mountpoint\}\} - Free", "refId": "B", "step": 240 }, @@ -9744,7 +9744,7 @@ "format": "time_series", "hide": true, "intervalFactor": 1, - "legendFormat": "{{mountpoint}} - Size", + "legendFormat": "\{\{mountpoint\}\} - Size", "refId": "C", "step": 240 } @@ -9848,7 +9848,7 @@ "format": "time_series", "hide": false, "intervalFactor": 1, - "legendFormat": "{{mountpoint}} - Free file nodes", + "legendFormat": "\{\{mountpoint\}\} - Free file nodes", "refId": "A", "step": 240 } @@ -10064,7 +10064,7 @@ "format": "time_series", "hide": false, "intervalFactor": 1, - "legendFormat": "{{mountpoint}} - File nodes total", + "legendFormat": "\{\{mountpoint\}\} - File nodes total", "refId": "A", "step": 240 } @@ -10169,7 +10169,7 @@ "expr": "node_filesystem_readonly{instance=\"$host\",job=\"$job\",device!~'rootfs'}", "format": "time_series", "intervalFactor": 1, - "legendFormat": "{{mountpoint}} - ReadOnly", + "legendFormat": "\{\{mountpoint\}\} - ReadOnly", "refId": "A", "step": 240 }, @@ -10182,7 +10182,7 @@ "format": "time_series", "interval": "", "intervalFactor": 1, - "legendFormat": "{{mountpoint}} - Device error", + "legendFormat": "\{\{mountpoint\}\} - Device error", "refId": "B", "step": 240 } @@ -10306,7 +10306,7 @@ "format": "time_series", "interval": "", "intervalFactor": 1, - "legendFormat": "{{device}} - Receive", + "legendFormat": "\{\{device\}\} - Receive", "refId": "A", "step": 240 }, @@ -10319,7 +10319,7 @@ "format": "time_series", "interval": "", "intervalFactor": 1, - "legendFormat": "{{device}} - Transmit", + "legendFormat": "\{\{device\}\} - Transmit", "refId": "B", "step": 240 } @@ -10419,7 +10419,7 @@ "expr": "rate(node_network_receive_errs_total{instance=\"$host\",job=\"$job\"}[$__rate_interval])", "format": "time_series", "intervalFactor": 1, - "legendFormat": "{{device}} - Receive errors", + "legendFormat": "\{\{device\}\} - Receive errors", "refId": "A", "step": 240 }, @@ -10431,7 +10431,7 @@ "expr": "rate(node_network_transmit_errs_total{instance=\"$host\",job=\"$job\"}[$__rate_interval])", "format": "time_series", "intervalFactor": 1, - "legendFormat": "{{device}} - Rransmit errors", + "legendFormat": "\{\{device\}\} - Rransmit errors", "refId": "B", "step": 240 } @@ -10531,7 +10531,7 @@ "expr": "rate(node_network_receive_drop_total{instance=\"$host\",job=\"$job\"}[$__rate_interval])", "format": "time_series", "intervalFactor": 1, - "legendFormat": "{{device}} - Receive drop", + "legendFormat": "\{\{device\}\} - Receive drop", "refId": "A", "step": 240 }, @@ -10543,7 +10543,7 @@ "expr": "rate(node_network_transmit_drop_total{instance=\"$host\",job=\"$job\"}[$__rate_interval])", "format": "time_series", "intervalFactor": 1, - "legendFormat": "{{device}} - Transmit drop", + "legendFormat": "\{\{device\}\} - Transmit drop", "refId": "B", "step": 240 } @@ -10643,7 +10643,7 @@ "expr": "rate(node_network_receive_compressed_total{instance=\"$host\",job=\"$job\"}[$__rate_interval])", "format": "time_series", "intervalFactor": 1, - "legendFormat": "{{device}} - Receive compressed", + "legendFormat": "\{\{device\}\} - Receive compressed", "refId": "A", "step": 240 }, @@ -10655,7 +10655,7 @@ "expr": "rate(node_network_transmit_compressed_total{instance=\"$host\",job=\"$job\"}[$__rate_interval])", "format": "time_series", "intervalFactor": 1, - "legendFormat": "{{device}} - Transmit compressed", + "legendFormat": "\{\{device\}\} - Transmit compressed", "refId": "B", "step": 240 } @@ -10755,7 +10755,7 @@ "expr": "rate(node_network_receive_multicast_total{instance=\"$host\",job=\"$job\"}[$__rate_interval])", "format": "time_series", "intervalFactor": 1, - "legendFormat": "{{device}} - Receive multicast", + "legendFormat": "\{\{device\}\} - Receive multicast", "refId": "A", "step": 240 } @@ -10855,7 +10855,7 @@ "expr": "rate(node_network_receive_fifo_total{instance=\"$host\",job=\"$job\"}[$__rate_interval])", "format": "time_series", "intervalFactor": 1, - "legendFormat": "{{device}} - Receive fifo", + "legendFormat": "\{\{device\}\} - Receive fifo", "refId": "A", "step": 240 }, @@ -10867,7 +10867,7 @@ "expr": "rate(node_network_transmit_fifo_total{instance=\"$host\",job=\"$job\"}[$__rate_interval])", "format": "time_series", "intervalFactor": 1, - "legendFormat": "{{device}} - Transmit fifo", + "legendFormat": "\{\{device\}\} - Transmit fifo", "refId": "B", "step": 240 } @@ -10969,7 +10969,7 @@ "format": "time_series", "hide": false, "intervalFactor": 1, - "legendFormat": "{{device}} - Receive frame", + "legendFormat": "\{\{device\}\} - Receive frame", "refId": "A", "step": 240 } @@ -11066,7 +11066,7 @@ "expr": "rate(node_network_transmit_carrier_total{instance=\"$host\",job=\"$job\"}[$__rate_interval])", "format": "time_series", "intervalFactor": 1, - "legendFormat": "{{device}} - Statistic transmit_carrier", + "legendFormat": "\{\{device\}\} - Statistic transmit_carrier", "refId": "A", "step": 240 } @@ -11166,7 +11166,7 @@ "expr": "rate(node_network_transmit_colls_total{instance=\"$host\",job=\"$job\"}[$__rate_interval])", "format": "time_series", "intervalFactor": 1, - "legendFormat": "{{device}} - Transmit colls", + "legendFormat": "\{\{device\}\} - Transmit colls", "refId": "A", "step": 240 } @@ -11368,7 +11368,7 @@ "expr": "node_arp_entries{instance=\"$host\",job=\"$job\"}", "format": "time_series", "intervalFactor": 1, - "legendFormat": "{{ device }} - ARP entries", + "legendFormat": "\{\{ device \}\} - ARP entries", "refId": "A", "step": 240 } @@ -11459,7 +11459,7 @@ "expr": "node_network_mtu_bytes{instance=\"$host\",job=\"$job\"}", "format": "time_series", "intervalFactor": 1, - "legendFormat": "{{ device }} - Bytes", + "legendFormat": "\{\{ device \}\} - Bytes", "refId": "A", "step": 240 } @@ -11551,7 +11551,7 @@ "expr": "node_network_speed_bytes{instance=\"$host\",job=\"$job\"}", "format": "time_series", "intervalFactor": 1, - "legendFormat": "{{ device }} - Speed", + "legendFormat": "\{\{ device \}\} - Speed", "refId": "A", "step": 240 } @@ -11643,7 +11643,7 @@ "expr": "node_network_transmit_queue_length{instance=\"$host\",job=\"$job\"}", "format": "time_series", "intervalFactor": 1, - "legendFormat": "{{ device }} - Interface transmit queue length", + "legendFormat": "\{\{ device \}\} - Interface transmit queue length", "refId": "A", "step": 240 } @@ -11747,7 +11747,7 @@ "format": "time_series", "interval": "", "intervalFactor": 1, - "legendFormat": "CPU {{cpu}} - Processed", + "legendFormat": "CPU \{\{cpu\}\} - Processed", "refId": "A", "step": 240 }, @@ -11760,7 +11760,7 @@ "format": "time_series", "interval": "", "intervalFactor": 1, - "legendFormat": "CPU {{cpu}} - Dropped", + "legendFormat": "CPU \{\{cpu\}\} - Dropped", "refId": "B", "step": 240 } @@ -11858,7 +11858,7 @@ "format": "time_series", "interval": "", "intervalFactor": 1, - "legendFormat": "CPU {{cpu}} - Squeezed", + "legendFormat": "CPU \{\{cpu\}\} - Squeezed", "refId": "A", "step": 240 } @@ -11955,7 +11955,7 @@ "expr": "node_network_up{operstate=\"up\",instance=\"$host\",job=\"$job\"}", "format": "time_series", "intervalFactor": 1, - "legendFormat": "{{interface}} - Operational state UP", + "legendFormat": "\{\{interface\}\} - Operational state UP", "refId": "A", "step": 240 }, @@ -11967,7 +11967,7 @@ "expr": "node_network_carrier{instance=\"$host\",job=\"$job\"}", "format": "time_series", "instant": false, - "legendFormat": "{{device}} - Physical link state", + "legendFormat": "\{\{device\}\} - Physical link state", "refId": "B" } ], @@ -14170,7 +14170,7 @@ "hide": false, "interval": "", "intervalFactor": 1, - "legendFormat": "{{collector}} - Scrape duration", + "legendFormat": "\{\{collector\}\} - Scrape duration", "refId": "A", "step": 240 } @@ -14269,7 +14269,7 @@ "hide": false, "interval": "", "intervalFactor": 1, - "legendFormat": "{{collector}} - Scrape success", + "legendFormat": "\{\{collector\}\} - Scrape success", "refId": "A", "step": 240 }, @@ -14283,7 +14283,7 @@ "hide": false, "interval": "", "intervalFactor": 1, - "legendFormat": "{{collector}} - Scrape textfile error (1 = true)", + "legendFormat": "\{\{collector\}\} - Scrape textfile error (1 = true)", "refId": "B", "step": 240 } diff --git a/templates/dashboards/opensearch.json.j2 b/templates/dashboards/opensearch.json.j2 index 6310db9..6d2f3e1 100644 --- a/templates/dashboards/opensearch.json.j2 +++ b/templates/dashboards/opensearch.json.j2 @@ -825,7 +825,7 @@ "expr": "sum by (instance)(irate(node_cpu_seconds_total{mode=\"system\",instance=~\".*$node.*\",job=\"$job\"}[5m])) * 100", "interval": "", "intervalFactor": 4, - "legendFormat": "Busy System {{instance}}", + "legendFormat": "Busy System \{\{instance\}\}", "refId": "A" }, { @@ -835,7 +835,7 @@ "expr": "sum by (instance)(irate(node_cpu_seconds_total{mode='user',instance=~\".*$node.*\",job=\"$job\"}[5m])) * 100", "interval": "", "intervalFactor": 4, - "legendFormat": "Busy User {{instance}}", + "legendFormat": "Busy User \{\{instance\}\}", "refId": "B" }, { @@ -845,7 +845,7 @@ "expr": "sum by (instance)(irate(node_cpu_seconds_total{mode='iowait',instance=~\".*$node.*\",job=\"$job\"}[5m])) * 100", "interval": "", "intervalFactor": 4, - "legendFormat": "Busy Iowait {{instance}}", + "legendFormat": "Busy Iowait \{\{instance\}\}", "refId": "C" }, { @@ -855,7 +855,7 @@ "expr": "sum by (instance)(irate(node_cpu_seconds_total{mode=~\".*irq\",instance=~\".*$node.*\",job=\"$job\"}[5m])) * 100", "interval": "", "intervalFactor": 4, - "legendFormat": "Busy IRQs {{instance}}", + "legendFormat": "Busy IRQs \{\{instance\}\}", "refId": "D" }, { @@ -968,7 +968,7 @@ "expr": "irate(node_network_receive_bytes_total{instance=~\".*$node.*\",job=\"$job\"}[5m])*8", "interval": "", "intervalFactor": 4, - "legendFormat": "recv {{device}} {{instance}}", + "legendFormat": "recv \{\{device\}\} \{\{instance\}\}", "refId": "A" }, { @@ -978,7 +978,7 @@ "expr": "irate(node_network_transmit_bytes_total{instance=~\".*$node.*\",job=\"$job\"}[5m])*8", "interval": "", "intervalFactor": 4, - "legendFormat": "trans {{device}} {{instance}}", + "legendFormat": "trans \{\{device\}\} \{\{instance\}\}", "refId": "B" } ], @@ -1290,7 +1290,7 @@ "exemplar": true, "expr": "rate(opensearch_indices_indexing_index_count{cluster=~\"$cluster\"}[1h])", "interval": "", - "legendFormat": "{{ node }}", + "legendFormat": "\{\{ node \}\}", "refId": "A" } ], @@ -1385,7 +1385,7 @@ "exemplar": true, "expr": "rate(opensearch_indices_search_fetch_count{cluster=~\"$cluster\"}[1h])", "interval": "", - "legendFormat": "{{ node }}", + "legendFormat": "\{\{ node \}\}", "refId": "A" } ], @@ -1484,7 +1484,7 @@ "expr": "sum(opensearch_threadpool_tasks_number{cluster=~\"$cluster\", name!=\"management\", type=\"queue\"}) by (name)", "interval": "", "intervalFactor": 2, - "legendFormat": "Name: {{ name }}", + "legendFormat": "Name: \{\{ name \}\}", "refId": "A", "step": 240 } @@ -1919,7 +1919,7 @@ "format": "time_series", "interval": "", "intervalFactor": 2, - "legendFormat": "Name: {{ name }}", + "legendFormat": "Name: \{\{ name \}\}", "refId": "A", "step": 240 } @@ -2018,7 +2018,7 @@ "expr": "rate(opensearch_threadpool_threads_count{cluster=~\"$cluster\", name!=\"management\", type=\"rejected\"}[5m])", "interval": "", "intervalFactor": 2, - "legendFormat": "{{ node }} {{ name }}", + "legendFormat": "\{\{ node \}\} \{\{ name \}\}", "refId": "A", "step": 240 } @@ -2125,7 +2125,7 @@ "format": "time_series", "interval": "", "intervalFactor": 4, - "legendFormat": "{{ mode }}", + "legendFormat": "\{\{ mode \}\}", "metric": "elasticsearch_breakers_tripped", "metrics": [ { @@ -2236,7 +2236,7 @@ "format": "time_series", "interval": "", "intervalFactor": 2, - "legendFormat": "{{ node }}", + "legendFormat": "\{\{ node \}\}", "refId": "A", "step": 240 } @@ -2452,7 +2452,7 @@ "expr": "irate(opensearch_jvm_gc_collection_time_seconds{cluster=~\"$cluster\"}[5m])", "interval": "", "intervalFactor": 2, - "legendFormat": "{{ node }} {{ gc }}", + "legendFormat": "\{\{ node \}\} \{\{ gc \}\}", "refId": "A", "step": 240 } diff --git a/templates/dashboards/phpfpm.json.j2 b/templates/dashboards/phpfpm.json.j2 index 09b1113..5640321 100644 --- a/templates/dashboards/phpfpm.json.j2 +++ b/templates/dashboards/phpfpm.json.j2 @@ -102,7 +102,7 @@ "format": "time_series", "interval": "", "intervalFactor": 1, - "legendFormat": "{{socket_path}}", + "legendFormat": "\{\{socket_path\}\}", "metric": "php_fpm_start_time_seconds", "refId": "A", "step": 1 @@ -204,7 +204,7 @@ "expr": "sum by (socket_path) (php_fpm_active_processes{instance=~\"^$host\", socket_path=~\"$pool\"}) / sum by (socket_path) ( php_fpm_max_active_processes{instance=~\"^$host\", socket_path=~\"$pool\"})", "format": "time_series", "intervalFactor": 1, - "legendFormat": "{{ socket_path }}", + "legendFormat": "\{\{ socket_path \}\}", "refId": "A" } ], @@ -306,7 +306,7 @@ "format": "time_series", "interval": "", "intervalFactor": 2, - "legendFormat": "{{socket_path}}", + "legendFormat": "\{\{socket_path\}\}", "refId": "A", "step": 2 } @@ -411,7 +411,7 @@ "instant": false, "interval": "", "intervalFactor": 2, - "legendFormat": "{{ socket_path }} ", + "legendFormat": "\{\{ socket_path \}\} ", "refId": "A", "step": 2 } @@ -516,7 +516,7 @@ "instant": false, "interval": "", "intervalFactor": 2, - "legendFormat": "{{ socket_path }} ", + "legendFormat": "\{\{ socket_path \}\} ", "metric": "php_fpm_active_processes", "refId": "B", "step": 2 @@ -622,7 +622,7 @@ "hide": false, "interval": "", "intervalFactor": 2, - "legendFormat": "{{ socket_path }} ", + "legendFormat": "\{\{ socket_path \}\} ", "refId": "A", "step": 2 } @@ -725,7 +725,7 @@ "format": "time_series", "hide": false, "intervalFactor": 2, - "legendFormat": "{{ socket_path }} ", + "legendFormat": "\{\{ socket_path \}\} ", "metric": "php_fpm_max_children_reached", "refId": "D", "step": 2 @@ -829,7 +829,7 @@ "format": "time_series", "interval": "", "intervalFactor": 2, - "legendFormat": "{{ socket_path }} ", + "legendFormat": "\{\{ socket_path \}\} ", "metric": "php_fpm_idle_processes", "refId": "C", "step": 2 @@ -871,7 +871,7 @@ "refId": "prometheus-Host-Variable-Query" }, "refresh": 1, - "regex": "{{ grafana_dashboard_regex | default('') }}", + "regex": "{{ grafana_dashboard_regex | default('') \}\}", "skipUrlSync": false, "sort": 1, "tagValuesQuery": "", diff --git a/templates/dashboards/plateform-overview-cf.json.j2 b/templates/dashboards/plateform-overview-cf.json.j2 index 759befb..9169b62 100644 --- a/templates/dashboards/plateform-overview-cf.json.j2 +++ b/templates/dashboards/plateform-overview-cf.json.j2 @@ -1338,7 +1338,7 @@ "expr": "sum(rate(node_network_receive_bytes_total{instance=~\"$host\",job=\"$job\"}[$__rate_interval])*8)", "format": "time_series", "intervalFactor": 1, - "legendFormat": "recv {{device}}", + "legendFormat": "recv \{\{device\}\}", "range": true, "refId": "A", "step": 240 @@ -1352,7 +1352,7 @@ "expr": "sum(rate(node_network_transmit_bytes_total{instance=~\"$host\",job=\"$job\"}[$__rate_interval])*8)", "format": "time_series", "intervalFactor": 1, - "legendFormat": "trans {{device}} ", + "legendFormat": "trans \{\{device\}\} ", "range": true, "refId": "B", "step": 240 @@ -1451,7 +1451,7 @@ }, "editorMode": "code", "expr": "avg(100 - ((node_filesystem_avail_bytes{instance=~\"$host\",mountpoint=~\"$mountpoints\"} * 100) / node_filesystem_size_bytes{instance=~\"$host\",mountpoint=~\"$mountpoints\"})) by (mountpoint)", - "legendFormat": "{{instance}} {{mountpoint}}", + "legendFormat": "\{\{instance\}\} \{\{mountpoint\}\}", "range": true, "refId": "A" } @@ -1561,7 +1561,7 @@ }, "editorMode": "code", "expr": "sum(rate(haproxy_frontend_http_responses_total{instance=~\"$production\"}[$__rate_interval])) by (code)", - "legendFormat": "{{ code }}", + "legendFormat": "\{\{ code \}\}", "range": true, "refId": "A" } diff --git a/templates/dashboards/plateform-overview.json.j2 b/templates/dashboards/plateform-overview.json.j2 index ffa65be..d5188a6 100644 --- a/templates/dashboards/plateform-overview.json.j2 +++ b/templates/dashboards/plateform-overview.json.j2 @@ -1341,7 +1341,7 @@ "expr": "sum(rate(node_network_receive_bytes_total{instance=~\"$host\",job=\"$job\"}[$__rate_interval])*8)", "format": "time_series", "intervalFactor": 1, - "legendFormat": "recv {{device}}", + "legendFormat": "recv \{\{device\}\}", "range": true, "refId": "A", "step": 240 @@ -1355,7 +1355,7 @@ "expr": "sum(rate(node_network_transmit_bytes_total{instance=~\"$host\",job=\"$job\"}[$__rate_interval])*8)", "format": "time_series", "intervalFactor": 1, - "legendFormat": "trans {{device}} ", + "legendFormat": "trans \{\{device\}\} ", "range": true, "refId": "B", "step": 240 @@ -1455,7 +1455,7 @@ }, "editorMode": "code", "expr": "avg(100 - ((node_filesystem_avail_bytes{instance=~\"$host\",mountpoint=~\"$mountpoints\"} * 100) / node_filesystem_size_bytes{instance=~\"$host\",mountpoint=~\"$mountpoints\"})) by (mountpoint)", - "legendFormat": "{{instance}} {{mountpoint}}", + "legendFormat": "\{\{instance\}\} \{\{mountpoint\}\}", "range": true, "refId": "A" } @@ -1562,7 +1562,7 @@ }, "editorMode": "code", "expr": "sum(rate(haproxy_frontend_http_responses_total{instance=~\"$production\"}[$__rate_interval])) by (code)", - "legendFormat": "{{ code }}", + "legendFormat": "\{\{ code \}\}", "range": true, "refId": "A" } @@ -1761,7 +1761,7 @@ "expr": "sum by (socket_path) (rate(php_fpm_slow_requests{instance=~\"$production\"} [$__rate_interval]))", "interval": "", "intervalFactor": 10, - "legendFormat": "{{ socket_path }} ", + "legendFormat": "\{\{ socket_path \}\} ", "range": true, "refId": "A" } diff --git a/templates/dashboards/postgresql.json.j2 b/templates/dashboards/postgresql.json.j2 index a852c96..e2aac2c 100644 --- a/templates/dashboards/postgresql.json.j2 +++ b/templates/dashboards/postgresql.json.j2 @@ -77,7 +77,7 @@ }, "editorMode": "code", "expr": "sum by (short_version) (pg_static{instance=~\"$host\"})", - "legendFormat": "{{short_version}}", + "legendFormat": "\{\{short_version\}\}", "range": true, "refId": "A" } @@ -594,7 +594,7 @@ }, "editorMode": "builder", "expr": "sum by(instance) (rate(pg_stat_database_xact_commit{instance=~\"$host\"}[$__rate_interval]))", - "legendFormat": "{{instance}} commits", + "legendFormat": "\{\{instance\}\} commits", "range": true, "refId": "A" }, @@ -606,7 +606,7 @@ "editorMode": "builder", "expr": "sum by(instance) (rate(pg_stat_database_xact_commit{instance=~\"$host\"}[$__rate_interval]))", "hide": false, - "legendFormat": "{{instance}} rollbacks", + "legendFormat": "\{\{instance\}\} rollbacks", "range": true, "refId": "B" } @@ -699,7 +699,7 @@ }, "editorMode": "builder", "expr": "sum by(instance) (rate(pg_locks_count{instance=~\"$host\"}[$__rate_interval]))", - "legendFormat": "{{instance}} locks", + "legendFormat": "\{\{instance\}\} locks", "range": true, "refId": "A" } @@ -792,7 +792,7 @@ }, "editorMode": "builder", "expr": "sum by(instance) (rate(pg_stat_activity_count{instance=~\"$host\", state=\"active\"}[$__rate_interval]))", - "legendFormat": "{{instance}}", + "legendFormat": "\{\{instance\}\}", "range": true, "refId": "A" } @@ -885,7 +885,7 @@ }, "editorMode": "builder", "expr": "sum by(instance) (rate(pg_stat_activity_count{instance=~\"$host\", state=~\"idle|idle in transaction|idle in transaction (aborted)\"}[$__rate_interval]))", - "legendFormat": "{{instance}}", + "legendFormat": "\{\{instance\}\}", "range": true, "refId": "A" } diff --git a/templates/dashboards/proxmox.json.j2 b/templates/dashboards/proxmox.json.j2 index 2aaa4b0..3feed97 100644 --- a/templates/dashboards/proxmox.json.j2 +++ b/templates/dashboards/proxmox.json.j2 @@ -614,7 +614,7 @@ "format": "time_series", "interval": "", "intervalFactor": 4, - "legendFormat": "{{name}} ({{type}})", + "legendFormat": "\{\{name\}\} (\{\{type\}\})", "refId": "A" } ], @@ -717,7 +717,7 @@ "format": "time_series", "interval": "", "intervalFactor": 4, - "legendFormat": "{{name}} ({{type}})", + "legendFormat": "\{\{name\}\} (\{\{type\}\})", "refId": "A" } ], @@ -803,7 +803,7 @@ "instant": true, "interval": "", "intervalFactor": 1, - "legendFormat": "{{storage}}", + "legendFormat": "\{\{storage\}\}", "refId": "A" } ], @@ -901,7 +901,7 @@ "format": "time_series", "instant": true, "intervalFactor": 1, - "legendFormat": "{{storage}}", + "legendFormat": "\{\{storage\}\}", "refId": "A" } ], @@ -1007,7 +1007,7 @@ "format": "time_series", "interval": "", "intervalFactor": 1, - "legendFormat": "{{name}} ({{type}})", + "legendFormat": "\{\{name\}\} (\{\{type\}\})", "refId": "A" } ], @@ -1124,7 +1124,7 @@ "format": "time_series", "interval": "", "intervalFactor": 3, - "legendFormat": "{{name}} RECV ({{type}})", + "legendFormat": "\{\{name\}\} RECV (\{\{type\}\})", "refId": "A" }, { @@ -1136,7 +1136,7 @@ "format": "time_series", "interval": "", "intervalFactor": 3, - "legendFormat": "{{name}} SEND ({{type}})", + "legendFormat": "\{\{name\}\} SEND (\{\{type\}\})", "refId": "B" } ], @@ -1239,7 +1239,7 @@ "format": "time_series", "interval": "", "intervalFactor": 2, - "legendFormat": "{{name}} ({{type}})", + "legendFormat": "\{\{name\}\} (\{\{type\}\})", "refId": "A" } ], diff --git a/templates/dashboards/redis.json.j2 b/templates/dashboards/redis.json.j2 index 0d1e7f7..1d319f3 100644 --- a/templates/dashboards/redis.json.j2 +++ b/templates/dashboards/redis.json.j2 @@ -854,7 +854,7 @@ "format": "time_series", "interval": "", "intervalFactor": 2, - "legendFormat": "{{ db }} ", + "legendFormat": "\{\{ db \}\} ", "range": true, "refId": "A", "step": 240, @@ -1236,7 +1236,7 @@ "format": "time_series", "interval": "", "intervalFactor": 2, - "legendFormat": "{{ cmd }}", + "legendFormat": "\{\{ cmd \}\}", "metric": "redis_command_calls_total", "range": true, "refId": "A", diff --git a/templates/dashboards/varnish.json.j2 b/templates/dashboards/varnish.json.j2 index c1c9ff0..423c15d 100644 --- a/templates/dashboards/varnish.json.j2 +++ b/templates/dashboards/varnish.json.j2 @@ -1461,7 +1461,7 @@ "editorMode": "code", "expr": "sum by(type) (rate(varnish_main_sessions{instance=~\"^($host).*\"}[1m]))", "intervalFactor": 2, - "legendFormat": "session - {{type}}", + "legendFormat": "session - \{\{type\}\}", "range": true, "refId": "A", "step": 60