diff --git a/templates/dashboards/apache.json.j2 b/templates/dashboards/apache.json.j2 index 87b333f..7c9757e 100644 --- a/templates/dashboards/apache.json.j2 +++ b/templates/dashboards/apache.json.j2 @@ -323,7 +323,7 @@ "format": "time_series", "hide": false, "intervalFactor": 2, - "legendFormat": "\{\{instance\}\}", + "legendFormat": "{{ '{{' }}instance{{ '}}' }}", "range": true, "refId": "B", "step": 240 @@ -428,7 +428,7 @@ "expr": "rate(apache_accesses_total{instance=~\"$host\"}[$__rate_interval])", "format": "time_series", "intervalFactor": 2, - "legendFormat": "\{\{ instance \}\}", + "legendFormat": "{{ '{{' }} instance {{ '}}' }}", "range": true, "refId": "A", "step": 240 @@ -531,7 +531,7 @@ "expr": "sum(apache_scoreboard{instance=~\"$host\"}) by (state)", "format": "time_series", "intervalFactor": 2, - "legendFormat": "\{\{ state \}\}", + "legendFormat": "{{ '{{' }} state {{ '}}' }}", "range": true, "refId": "A", "step": 240 @@ -634,7 +634,7 @@ "expr": "sum(apache_workers{instance=~\"$host\"}) by (state)\n", "format": "time_series", "intervalFactor": 2, - "legendFormat": "\{\{ state \}\}", + "legendFormat": "{{ '{{' }} state {{ '}}' }}", "range": true, "refId": "A", "step": 240 @@ -738,7 +738,7 @@ "expr": "apache_cpuload{instance=~\"$host\"}", "format": "time_series", "intervalFactor": 2, - "legendFormat": "Load on \{\{ instance \}\}", + "legendFormat": "Load on {{ '{{' }} instance {{ '}}' }}", "range": true, "refId": "A", "step": 240 diff --git a/templates/dashboards/haproxy.json.j2 b/templates/dashboards/haproxy.json.j2 index 587bf2f..d1f25f5 100644 --- a/templates/dashboards/haproxy.json.j2 +++ b/templates/dashboards/haproxy.json.j2 @@ -154,7 +154,7 @@ "expr": "sum by(instance)(rate(haproxy_frontend_http_responses_total{proxy=~\"$frontend\",code=~\"$code\",instance=~\"$host\"}[$__rate_interval]))", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "\{\{ instance \}\}", + "legendFormat": "\{\{ instance {{ '{{' }}", "metric": "", "range": true, "refId": "A", @@ -259,7 +259,7 @@ "expr": "sum(rate(haproxy_frontend_http_responses_total{proxy=~\"$frontend\",code=~\"$code\",instance=~\"$host\"}[$__rate_interval])) by (code)", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "Front \{\{ code \}\}", + "legendFormat": "Front \{\{ code {{ '{{' }}", "metric": "", "range": true, "refId": "A", @@ -364,7 +364,7 @@ "expr": "sum(rate(haproxy_backend_http_responses_total{proxy=~\"$backend\",code=~\"$code\",instance=~\"$host\"}[$__rate_interval])) by (code)", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "Back \{\{ code \}\}", + "legendFormat": "Back \{\{ code {{ '{{' }}", "metric": "", "range": true, "refId": "B", @@ -1385,7 +1385,7 @@ "expr": "sum(rate(haproxy_frontend_connections_total{proxy=~\"$frontend\",instance=~\"$host\"}[$__rate_interval])*8) by (proxy)", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "{\{\{ proxy \}\}", + "legendFormat": "{\{\{ proxy {{ '{{' }}", "metric": "", "range": true, "refId": "A", @@ -1505,7 +1505,7 @@ "expr": "sum(rate(haproxy_backend_connection_attempts_total{proxy=~\"$backend\",instance=~\"$host\"}[$__rate_interval])*8) by (proxy)", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "\{\{ proxy \}\}", + "legendFormat": "\{\{ proxy {{ '{{' }}", "metric": "haproxy_backend_", "range": true, "refId": "A", @@ -1625,7 +1625,7 @@ "expr": "sum(rate(haproxy_frontend_connections_total{proxy=~\"$frontend\",instance=~\"$host\"}[$__rate_interval])) by (proxy)", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "Successful \{\{ proxy \}\}", + "legendFormat": "Successful \{\{ proxy {{ '{{' }}", "metric": "haproxy_backe", "range": true, "refId": "B", @@ -1640,7 +1640,7 @@ "expr": "sum(rate(haproxy_frontend_denied_connections_total{proxy=~\"$frontend\",instance=~\"$host\"}[$__rate_interval])) by (proxy)", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "Denied \{\{ proxy \}\}", + "legendFormat": "Denied \{\{ proxy {{ '{{' }}", "metric": "haproxy_backe", "range": true, "refId": "A", @@ -1761,7 +1761,7 @@ "hide": false, "interval": "$interval", "intervalFactor": 1, - "legendFormat": "Attempts \{\{ proxy \}\}", + "legendFormat": "Attempts \{\{ proxy {{ '{{' }}", "metric": "", "range": true, "refId": "B", @@ -1776,7 +1776,7 @@ "expr": "sum(rate(haproxy_backend_connection_errors_total{proxy=~\"$backend\",instance=~\"$host\"}[$__rate_interval])) by (proxy)", "interval": "$interval", "intervalFactor": 2, - "legendFormat": "Error \{\{ proxy \}\}", + "legendFormat": "Error \{\{ proxy {{ '{{' }}", "range": true, "refId": "A", "step": 240 @@ -1883,7 +1883,7 @@ "expr": "sum(haproxy_frontend_connections_rate_max{proxy=~\"$frontend\",instance=~\"$host\"}) by (proxy)", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "Max \{\{ proxy \}\}", + "legendFormat": "Max \{\{ proxy {{ '{{' }}", "metric": "haproxy_backe", "range": true, "refId": "B", @@ -1990,7 +1990,7 @@ "expr": "sum(rate(haproxy_backend_connection_reuses_total{proxy=~\"$backend\",instance=~\"$host\"}[$__rate_interval])) by (proxy)", "interval": "$interval", "intervalFactor": 2, - "legendFormat": "Reuses \{\{ proxy \}\}", + "legendFormat": "Reuses \{\{ proxy {{ '{{' }}", "range": true, "refId": "C", "step": 240 @@ -2122,7 +2122,7 @@ "expr": "sum(haproxy_backend_current_queue{proxy=~\"$backend\",instance=~\"$host\"}) by (proxy)", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "Queued \{\{ proxy \}\}", + "legendFormat": "Queued \{\{ proxy {{ '{{' }}", "metric": "", "range": true, "refId": "A", @@ -2228,7 +2228,7 @@ "expr": "sum(haproxy_backend_max_queue{proxy=~\"$backend\",instance=~\"$host\"}) by (proxy)", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "Max \{\{ proxy \}\}", + "legendFormat": "Max \{\{ proxy {{ '{{' }}", "metric": "", "range": true, "refId": "A", @@ -2385,7 +2385,7 @@ "expr": "sum(rate(haproxy_frontend_http_requests_total{proxy=~\"$frontend\",instance=~\"$host\"}[$__rate_interval])) by (proxy)", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "Total \{\{ proxy \}\}", + "legendFormat": "Total \{\{ proxy {{ '{{' }}", "metric": "", "range": true, "refId": "A", @@ -2400,7 +2400,7 @@ "expr": "sum(rate(haproxy_frontend_request_errors_total{proxy=~\"$frontend\", instance=~\"$host\"}[$__rate_interval])) by (proxy)", "interval": "$interval", "intervalFactor": 2, - "legendFormat": "Error \{\{ proxy \}\}", + "legendFormat": "Error \{\{ proxy {{ '{{' }}", "range": true, "refId": "B", "step": 240 @@ -2414,7 +2414,7 @@ "expr": "sum(rate(haproxy_frontend_requests_denied_total{proxy=~\"$frontend\", instance=~\"$host\"}[$__rate_interval])) by (proxy)", "interval": "$interval", "intervalFactor": 2, - "legendFormat": "Denied \{\{ proxy \}\}", + "legendFormat": "Denied \{\{ proxy {{ '{{' }}", "range": true, "refId": "C", "step": 240 @@ -2518,7 +2518,7 @@ "expr": "sum(rate(haproxy_backend_responses_denied_total{proxy=~\"$backend\", instance=~\"$host\"}[$__rate_interval])) by (proxy)", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "Denied \{\{ proxy \}\}", + "legendFormat": "Denied \{\{ proxy {{ '{{' }}", "metric": "", "range": true, "refId": "B", @@ -2636,7 +2636,7 @@ "expr": "sum(rate(haproxy_frontend_responses_denied_total{proxy=~\"$frontend\",instance=~\"$host\"}[$__rate_interval])) by (proxy)", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "Denied \{\{ proxy \}\}", + "legendFormat": "Denied \{\{ proxy {{ '{{' }}", "metric": "", "range": true, "refId": "A", @@ -2768,7 +2768,7 @@ "expr": "sum(haproxy_backend_connect_time_average_seconds{proxy=~\"$backend\",instance=~\"$host\"}) by (proxy) != 0", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "\{\{ proxy \}\}", + "legendFormat": "\{\{ proxy {{ '{{' }}", "metric": "haproxy_backend_current_queue", "range": true, "refId": "B", @@ -2872,7 +2872,7 @@ "expr": "sum(haproxy_backend_max_connect_time_seconds{proxy=~\"$backend\",instance=~\"$host\"}) by (proxy) != 0", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "\{\{ proxy \}\}", + "legendFormat": "\{\{ proxy {{ '{{' }}", "metric": "haproxy_backend_current_queue", "range": true, "refId": "B", @@ -2978,7 +2978,7 @@ "expr": "haproxy_backend_response_time_average_seconds{proxy=~\"$backend\",instance=~\"$host\"} != 0", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "\{\{ proxy \}\}", + "legendFormat": "\{\{ proxy {{ '{{' }}", "metric": "haproxy_backend_current_queue", "range": true, "refId": "C", @@ -3083,7 +3083,7 @@ "expr": "sum(haproxy_backend_max_response_time_seconds{proxy=~\"$backend\",instance=~\"$host\"}) by (proxy) != 0", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "\{\{ proxy \}\}", + "legendFormat": "\{\{ proxy {{ '{{' }}", "metric": "haproxy_backend_current_queue", "range": true, "refId": "C", @@ -3229,7 +3229,7 @@ "hide": false, "interval": "$interval", "intervalFactor": 1, - "legendFormat": "Total \{\{ proxy \}\}", + "legendFormat": "Total \{\{ proxy {{ '{{' }}", "metric": "", "range": true, "refId": "A", @@ -3245,7 +3245,7 @@ "hide": false, "interval": "$interval", "intervalFactor": 1, - "legendFormat": "Denied \{\{ proxy \}\}", + "legendFormat": "Denied \{\{ proxy {{ '{{' }}", "metric": "", "range": true, "refId": "B", @@ -3261,7 +3261,7 @@ "hide": true, "interval": "$interval", "intervalFactor": 1, - "legendFormat": "Current active \{\{ proxy \}\}", + "legendFormat": "Current active \{\{ proxy {{ '{{' }}", "metric": "", "range": true, "refId": "C", @@ -3367,7 +3367,7 @@ "hide": false, "interval": "$interval", "intervalFactor": 1, - "legendFormat": "Total \{\{ proxy \}\}", + "legendFormat": "Total \{\{ proxy {{ '{{' }}", "metric": "", "range": true, "refId": "A", @@ -3383,7 +3383,7 @@ "hide": true, "interval": "$interval", "intervalFactor": 1, - "legendFormat": "Current active \{\{ proxy \}\}", + "legendFormat": "Current active \{\{ proxy {{ '{{' }}", "metric": "", "range": true, "refId": "B", @@ -3503,7 +3503,7 @@ "hide": false, "interval": "$interval", "intervalFactor": 1, - "legendFormat": "Max \{\{ proxy \}\}", + "legendFormat": "Max \{\{ proxy {{ '{{' }}", "metric": "", "range": true, "refId": "A", @@ -3518,7 +3518,7 @@ "expr": "sum(haproxy_backend_limit_sessions{proxy=~\"$backend\",instance=~\"$host\"}) by (proxy)", "interval": "$interval", "intervalFactor": 2, - "legendFormat": "Limit \{\{ proxy \}\}", + "legendFormat": "Limit \{\{ proxy {{ '{{' }}", "range": true, "refId": "B", "step": 240 @@ -3637,7 +3637,7 @@ "hide": false, "interval": "$interval", "intervalFactor": 1, - "legendFormat": "Max \{\{ proxy \}\}", + "legendFormat": "Max \{\{ proxy {{ '{{' }}", "metric": "", "range": true, "refId": "A", @@ -3652,7 +3652,7 @@ "expr": "sum(haproxy_frontend_limit_sessions{proxy=~\"$frontend\",instance=~\"$host\"}) by (proxy)", "interval": "$interval", "intervalFactor": 2, - "legendFormat": "Limit \{\{ proxy \}\}", + "legendFormat": "Limit \{\{ proxy {{ '{{' }}", "range": true, "refId": "B", "step": 240 @@ -3784,7 +3784,7 @@ "expr": "sum(rate(haproxy_backend_check_up_down_total{proxy=~\"$backend\", instance=~\"$host\"}[$__rate_interval])) by (proxy)", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "\{\{ proxy \}\}", + "legendFormat": "\{\{ proxy {{ '{{' }}", "metric": "", "range": true, "refId": "A", @@ -3890,7 +3890,7 @@ "expr": "sum(haproxy_backend_weight{proxy=~\"$backend\", instance=~\"$host\"}) by (proxy)", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "\{\{ proxy \}\}", + "legendFormat": "\{\{ proxy {{ '{{' }}", "metric": "", "range": true, "refId": "A", @@ -4036,7 +4036,7 @@ "expr": "sum(rate(haproxy_frontend_http_cache_lookups_total{proxy=~\"$backend\", instance=~\"$host\"}[$__rate_interval])) by (proxy)", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "Lookups \{\{ proxy \}\} ", + "legendFormat": "Lookups \{\{ proxy {{ '{{' }} ", "metric": "", "range": true, "refId": "A", @@ -4051,7 +4051,7 @@ "expr": "sum(rate(haproxy_frontend_http_cache_hits_total{proxy=~\"$backend\", instance=~\"$host\"}[$__rate_interval])) by (proxy)", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "Hits \{\{ proxy \}\} ", + "legendFormat": "Hits \{\{ proxy {{ '{{' }} ", "metric": "", "range": true, "refId": "B", @@ -4170,7 +4170,7 @@ "expr": "sum(rate(haproxy_backend_http_cache_lookups_total{proxy=~\"$backend\", instance=~\"$host\"}[$__rate_interval])) by (proxy)", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "Lookups \{\{ proxy \}\} ", + "legendFormat": "Lookups \{\{ proxy {{ '{{' }} ", "metric": "", "range": true, "refId": "A", @@ -4185,7 +4185,7 @@ "expr": "sum(rate(haproxy_backend_http_cache_hits_total{proxy=~\"$backend\", instance=~\"$host\"}[$__rate_interval])) by (proxy)", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "Hits \{\{ proxy \}\} ", + "legendFormat": "Hits \{\{ proxy {{ '{{' }} ", "metric": "", "range": true, "refId": "B", @@ -4316,7 +4316,7 @@ "expr": "sum(rate(haproxy_frontend_http_comp_bytes_in_total{proxy=~\"$backend\", instance=~\"$host\"}[$__rate_interval])) by (proxy)", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "Bytes fed \{\{ proxy \}\} ", + "legendFormat": "Bytes fed \{\{ proxy {{ '{{' }} ", "metric": "", "range": true, "refId": "A", @@ -4331,7 +4331,7 @@ "expr": "sum(rate(haproxy_frontend_http_comp_bytes_out_total{proxy=~\"$backend\", instance=~\"$host\"}[$__rate_interval])) by (proxy)", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "Bytes emitted \{\{ proxy \}\} ", + "legendFormat": "Bytes emitted \{\{ proxy {{ '{{' }} ", "metric": "", "range": true, "refId": "B", @@ -4346,7 +4346,7 @@ "expr": "sum(rate(haproxy_frontend_http_comp_bytes_bypassed_total{proxy=~\"$backend\", instance=~\"$host\"}[$__rate_interval])) by (proxy)", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "Bytes bypassed \{\{ proxy \}\} ", + "legendFormat": "Bytes bypassed \{\{ proxy {{ '{{' }} ", "metric": "", "range": true, "refId": "C", @@ -4477,7 +4477,7 @@ "expr": "sum(rate(haproxy_backend_http_comp_bytes_in_total{proxy=~\"$backend\", instance=~\"$host\"}[$__rate_interval])) by (proxy)", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "Bytes fed \{\{ proxy \}\} ", + "legendFormat": "Bytes fed \{\{ proxy {{ '{{' }} ", "metric": "", "range": true, "refId": "A", @@ -4492,7 +4492,7 @@ "expr": "sum(rate(haproxy_backend_http_comp_bytes_out_total{proxy=~\"$backend\", instance=~\"$host\"}[$__rate_interval])) by (proxy)", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "Bytes emitted \{\{ proxy \}\} ", + "legendFormat": "Bytes emitted \{\{ proxy {{ '{{' }} ", "metric": "", "range": true, "refId": "B", @@ -4507,7 +4507,7 @@ "expr": "sum(rate(haproxy_backend_http_comp_bytes_bypassed_total{proxy=~\"$backend\", instance=~\"$host\"}[$__rate_interval])) by (proxy)", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "Bytes bypassed \{\{ proxy \}\} ", + "legendFormat": "Bytes bypassed \{\{ proxy {{ '{{' }} ", "metric": "", "range": true, "refId": "C", @@ -4613,7 +4613,7 @@ "expr": "sum(rate(haproxy_frontend_http_comp_responses_total{proxy=~\"$backend\", instance=~\"$host\"}[$__rate_interval])) by (proxy)", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "\{\{ proxy \}\} ", + "legendFormat": "\{\{ proxy {{ '{{' }} ", "metric": "", "range": true, "refId": "A", @@ -4719,7 +4719,7 @@ "expr": "sum(rate(haproxy_backend_http_comp_responses_total{proxy=~\"$backend\", instance=~\"$host\"}[$__rate_interval])) by (proxy)", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "\{\{ proxy \}\} ", + "legendFormat": "\{\{ proxy {{ '{{' }} ", "metric": "", "range": true, "refId": "A", @@ -4851,7 +4851,7 @@ "expr": "sum(haproxy_frontend_status{proxy=~\"$frontend\",instance=~\"$host\"}) by (proxy)", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "\{\{ proxy \}\}", + "legendFormat": "\{\{ proxy {{ '{{' }}", "metric": "", "range": true, "refId": "A", @@ -4956,7 +4956,7 @@ "expr": "sum(haproxy_backend_status{proxy=~\"$backend\",instance=~\"$host\"}) by (proxy)", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "\{\{ proxy \}\}", + "legendFormat": "\{\{ proxy {{ '{{' }}", "metric": "", "range": true, "refId": "A", @@ -5061,7 +5061,7 @@ "expr": "sum(rate(haproxy_frontend_internal_errors_total{proxy=~\"$backend\",instance=~\"$host\"}[$__rate_interval])) by (proxy)", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "\{\{ proxy \}\}", + "legendFormat": "\{\{ proxy {{ '{{' }}", "metric": "", "range": true, "refId": "A", @@ -5166,7 +5166,7 @@ "expr": "sum(rate(haproxy_backend_internal_errors_total{proxy=~\"$backend\",instance=~\"$host\"}[$__rate_interval])) by (proxy)", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "\{\{ proxy \}\}", + "legendFormat": "\{\{ proxy {{ '{{' }}", "metric": "", "range": true, "refId": "A", @@ -5270,7 +5270,7 @@ "expr": "sum(haproxy_backend_active_servers{proxy=~\"$backend\",instance=~\"$host\"}) by (proxy)", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "\{\{ proxy \}\}", + "legendFormat": "\{\{ proxy {{ '{{' }}", "metric": "", "range": true, "refId": "A", @@ -5373,7 +5373,7 @@ "editorMode": "code", "expr": "sum(haproxy_backend_backup_servers{proxy=~\"$backend\",instance=~\"$host\"}) by (proxy)", "interval": "", - "legendFormat": "\{\{ proxy \}\}", + "legendFormat": "\{\{ proxy {{ '{{' }}", "range": true, "refId": "B" } diff --git a/templates/dashboards/mysqld.json.j2 b/templates/dashboards/mysqld.json.j2 index 97958b3..8f58618 100644 --- a/templates/dashboards/mysqld.json.j2 +++ b/templates/dashboards/mysqld.json.j2 @@ -135,7 +135,7 @@ "format": "time_series", "interval": "5m", "intervalFactor": 1, - "legendFormat": "\{\{instance\}\}", + "legendFormat": "{{ '{{' }}instance{{ '}}' }}", "metric": "", "range": true, "refId": "A", @@ -225,7 +225,7 @@ "format": "time_series", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "\{\{instance\}\}", + "legendFormat": "{{ '{{' }}instance{{ '}}' }}", "metric": "", "range": true, "refId": "A", @@ -314,7 +314,7 @@ "format": "time_series", "interval": "5m", "intervalFactor": 1, - "legendFormat": "\{\{instance\}\}", + "legendFormat": "{{ '{{' }}instance{{ '}}' }}", "metric": "", "range": true, "refId": "A", @@ -403,7 +403,7 @@ "format": "time_series", "interval": "5m", "intervalFactor": 1, - "legendFormat": "\{\{instance\}\}", + "legendFormat": "{{ '{{' }}instance{{ '}}' }}", "metric": "", "range": true, "refId": "A", @@ -2478,7 +2478,7 @@ "uid": "" }, "decimals": 2, - "description": "**Top Command Counters**\n\nThe Com_\{\{xxx\}\} statement counter variables indicate the number of times each xxx statement has been executed. There is one status variable for each type of statement. For example, Com_delete and Com_update count [``DELETE``](https://dev.mysql.com/doc/refman/5.7/en/delete.html) and [``UPDATE``](https://dev.mysql.com/doc/refman/5.7/en/update.html) statements, respectively. Com_delete_multi and Com_update_multi are similar but apply to [``DELETE``](https://dev.mysql.com/doc/refman/5.7/en/delete.html) and [``UPDATE``](https://dev.mysql.com/doc/refman/5.7/en/update.html) statements that use multiple-table syntax.", + "description": "**Top Command Counters**\n\nThe Com_{{ '{{' }}xxx{{ '}}' }} statement counter variables indicate the number of times each xxx statement has been executed. There is one status variable for each type of statement. For example, Com_delete and Com_update count [``DELETE``](https://dev.mysql.com/doc/refman/5.7/en/delete.html) and [``UPDATE``](https://dev.mysql.com/doc/refman/5.7/en/update.html) statements, respectively. Com_delete_multi and Com_update_multi are similar but apply to [``DELETE``](https://dev.mysql.com/doc/refman/5.7/en/delete.html) and [``UPDATE``](https://dev.mysql.com/doc/refman/5.7/en/update.html) statements that use multiple-table syntax.", "editable": true, "error": false, "fill": 2, @@ -2542,7 +2542,7 @@ "hide": false, "interval": "$interval", "intervalFactor": 1, - "legendFormat": "Com_\{\{ command \}\}", + "legendFormat": "Com_{{ '{{' }} command {{ '}}' }}", "metric": "", "refId": "B", "step": 20 @@ -2591,7 +2591,7 @@ "uid": "" }, "decimals": 2, - "description": "**Top Command Counters Hourly**\n\nThe Com_\{\{xxx\}\} statement counter variables indicate the number of times each xxx statement has been executed. There is one status variable for each type of statement. For example, Com_delete and Com_update count [``DELETE``](https://dev.mysql.com/doc/refman/5.7/en/delete.html) and [``UPDATE``](https://dev.mysql.com/doc/refman/5.7/en/update.html) statements, respectively. Com_delete_multi and Com_update_multi are similar but apply to [``DELETE``](https://dev.mysql.com/doc/refman/5.7/en/delete.html) and [``UPDATE``](https://dev.mysql.com/doc/refman/5.7/en/update.html) statements that use multiple-table syntax.", + "description": "**Top Command Counters Hourly**\n\nThe Com_{{ '{{' }}xxx{{ '}}' }} statement counter variables indicate the number of times each xxx statement has been executed. There is one status variable for each type of statement. For example, Com_delete and Com_update count [``DELETE``](https://dev.mysql.com/doc/refman/5.7/en/delete.html) and [``UPDATE``](https://dev.mysql.com/doc/refman/5.7/en/update.html) statements, respectively. Com_delete_multi and Com_update_multi are similar but apply to [``DELETE``](https://dev.mysql.com/doc/refman/5.7/en/delete.html) and [``UPDATE``](https://dev.mysql.com/doc/refman/5.7/en/update.html) statements that use multiple-table syntax.", "editable": true, "error": false, "fill": 6, @@ -2652,7 +2652,7 @@ "format": "time_series", "interval": "1h", "intervalFactor": 1, - "legendFormat": "Com_\{\{ command \}\}", + "legendFormat": "Com_{{ '{{' }} command {{ '}}' }}", "metric": "", "refId": "A", "step": 3600 @@ -2759,7 +2759,7 @@ "format": "time_series", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "\{\{ handler \}\}", + "legendFormat": "{{ '{{' }} handler {{ '}}' }}", "metric": "", "refId": "J", "step": 20 @@ -2863,7 +2863,7 @@ "expr": "rate(mysql_global_status_handlers_total{instance=~\"$host\", handler=~\"commit|rollback|savepoint.*|prepare\"}[$interval]) or irate(mysql_global_status_handlers_total{instance=~\"$host\", handler=~\"commit|rollback|savepoint.*|prepare\"}[5m])", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "\{\{ handler \}\}", + "legendFormat": "{{ '{{' }} handler {{ '}}' }}", "metric": "", "refId": "A", "step": 20 @@ -2967,7 +2967,7 @@ "expr": "mysql_info_schema_threads{instance=~\"$host\"}", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "\{\{ state \}\}", + "legendFormat": "{{ '{{' }} state {{ '}}' }}", "metric": "", "refId": "A", "step": 20 @@ -3071,7 +3071,7 @@ "expr": "topk(5, avg_over_time(mysql_info_schema_threads{instance=~\"$host\"}[1h]))", "interval": "1h", "intervalFactor": 1, - "legendFormat": "\{\{ state \}\}", + "legendFormat": "{{ '{{' }} state {{ '}}' }}", "metric": "", "refId": "A", "step": 3600 @@ -4557,7 +4557,7 @@ "hide": false, "interval": "$interval", "intervalFactor": 1, - "legendFormat": "\{\{ mode \}\}", + "legendFormat": "{{ '{{' }} mode {{ '}}' }}", "metric": "", "refId": "A", "step": 20 diff --git a/templates/dashboards/network.json.j2 b/templates/dashboards/network.json.j2 index 8c360f3..80483f8 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 b994ec2..0563ec1 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/opensearch.json.j2 b/templates/dashboards/opensearch.json.j2 index f2a87ce..d8ce56a 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 971b616..c77ef60 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 diff --git a/templates/dashboards/plateform-overview-cf.json.j2 b/templates/dashboards/plateform-overview-cf.json.j2 index 7c45023..fc88e3b 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 b0043d9..79c6b44 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 d7f192e..6319151 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 5957ca5..7156a89 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 450460f..7b41692 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 3983887..f12142b 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