From 1a2bd471aa8f451e8c268b6c3dcf92187baeaba9 Mon Sep 17 00:00:00 2001 From: "tom.chivert" Date: Mon, 24 Jul 2023 15:03:08 +0200 Subject: [PATCH] Revert "change prometheus datasource variable" This reverts commit a6c5dab19bc587e064266f3b8fa6635bf56f9983. --- templates/dashboards/apache.json.j2 | 32 +- templates/dashboards/cloudflare.json.j2 | 146 ++-- templates/dashboards/nginx.json.j2 | 8 +- templates/dashboards/node-exporter.json.j2 | 736 +++++++++--------- templates/dashboards/opcache.json.j2 | 36 +- templates/dashboards/opensearch.json.j2 | 68 +- templates/dashboards/overview.json.j2 | 32 +- templates/dashboards/overview_cf.json.j2 | 38 +- templates/dashboards/phpfpm.json.j2 | 36 +- .../dashboards/plateform-overview-cf.json.j2 | 84 +- .../dashboards/plateform-overview.json.j2 | 82 +- templates/dashboards/postgresql.json.j2 | 60 +- templates/dashboards/proxmox.json.j2 | 58 +- templates/dashboards/redis.json.j2 | 60 +- templates/dashboards/varnish.json.j2 | 106 +-- 15 files changed, 791 insertions(+), 791 deletions(-) diff --git a/templates/dashboards/apache.json.j2 b/templates/dashboards/apache.json.j2 index c385bab..87b333f 100644 --- a/templates/dashboards/apache.json.j2 +++ b/templates/dashboards/apache.json.j2 @@ -31,7 +31,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -95,7 +95,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "avg(apache_uptime_seconds_total{instance=~\"$host\"})", @@ -116,7 +116,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "decimals": 0, "fill": 7, @@ -169,7 +169,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "count(apache_up{instance=~\"$host\"} == 1)", @@ -183,7 +183,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "scalar(count(apache_up{instance=~\"$host\"} == 0))", @@ -229,7 +229,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -316,7 +316,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "rate(apache_sent_kilobytes_total{instance=~\"$host\"}[$__rate_interval])", @@ -335,7 +335,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -422,7 +422,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "rate(apache_accesses_total{instance=~\"$host\"}[$__rate_interval])", @@ -440,7 +440,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -525,7 +525,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "sum(apache_scoreboard{instance=~\"$host\"}) by (state)", @@ -543,7 +543,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -628,7 +628,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "sum(apache_workers{instance=~\"$host\"}) by (state)\n", @@ -646,7 +646,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -732,7 +732,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "apache_cpuload{instance=~\"$host\"}", @@ -765,7 +765,7 @@ }, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "definition": "", "hide": 0, diff --git a/templates/dashboards/cloudflare.json.j2 b/templates/dashboards/cloudflare.json.j2 index f28a1c6..be61f1a 100644 --- a/templates/dashboards/cloudflare.json.j2 +++ b/templates/dashboards/cloudflare.json.j2 @@ -33,7 +33,7 @@ "collapsed": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "gridPos": { "h": 1, @@ -47,7 +47,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "refId": "A" } @@ -58,7 +58,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -102,7 +102,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "sum(increase(cloudflare_zone_requests_total{zone=~\"$zone\"}[$__range]))", @@ -118,7 +118,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -162,7 +162,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "sum(increase(cloudflare_zone_bandwidth_total{zone=~\"$zone\"}[$__range]))", @@ -178,7 +178,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -222,7 +222,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "sum(rate(cloudflare_zone_requests_total{zone=~\"$zone\"}[$__interval]))", @@ -239,7 +239,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -283,7 +283,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "sum(rate(cloudflare_zone_bandwidth_total{zone=~\"$zone\"}[$__interval]))", @@ -300,7 +300,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -344,7 +344,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "sum(increase(cloudflare_zone_uniques_total{zone=~\"$zone\"}[$__range]))", @@ -360,7 +360,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -404,7 +404,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "sum(rate(cloudflare_zone_uniques_total{zone=~\"$zone\"}[$__interval]))", @@ -421,7 +421,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -506,7 +506,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "sum(rate(cloudflare_zone_uniques_total{zone=~\"$zone\"}[$__interval]))", @@ -524,7 +524,7 @@ "collapsed": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "gridPos": { "h": 1, @@ -538,7 +538,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "refId": "A" } @@ -549,7 +549,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -634,7 +634,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "sum(rate(cloudflare_zone_requests_total{zone=~\"$zone\"}[$__interval]))", @@ -647,7 +647,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "sum(rate(cloudflare_zone_requests_cached{zone=~\"$zone\"}[$__interval]))", @@ -664,7 +664,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -751,7 +751,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "sum(rate(cloudflare_zone_requests_country{zone=~\"$zone\"}[$__interval]) > 0) by (country)", @@ -768,7 +768,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -855,7 +855,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "sum(rate(cloudflare_zone_requests_status{zone=~\"$zone\", status!~\"5..\"}[$__interval])) by (status)", @@ -872,7 +872,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -959,7 +959,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "sum(increase(cloudflare_zone_requests_status{zone=~\"$zone\", status!~\"2..\"}[$__interval])) by (status)", @@ -976,7 +976,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -1064,7 +1064,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "sum(rate(cloudflare_zone_requests_status{zone=~\"$zone\", status=~\"5..\"}[$__interval])) by (status)", @@ -1081,7 +1081,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -1137,7 +1137,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "avg(cloudflare_zone_requests_ssl_encrypted{zone=~\"$zone\"} / cloudflare_zone_requests_total{zone=~\"$zone\"})", @@ -1149,7 +1149,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "avg((cloudflare_zone_requests_total{zone=~\"$zone\"} - cloudflare_zone_requests_ssl_encrypted{zone=~\"$zone\"}) / cloudflare_zone_requests_total{zone=~\"$zone\"})", @@ -1165,7 +1165,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -1223,7 +1223,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "avg(cloudflare_zone_requests_cached{zone=~\"$zone\"} / cloudflare_zone_requests_total{zone=~\"$zone\"})", @@ -1235,7 +1235,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "avg((cloudflare_zone_requests_total{zone=~\"$zone\"} - cloudflare_zone_requests_cached{zone=~\"$zone\"}) / cloudflare_zone_requests_total{zone=~\"$zone\"})", @@ -1251,7 +1251,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -1308,7 +1308,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "increase(cloudflare_zone_requests_status{zone=~\"$zone\"}[$__range])", "interval": "", @@ -1322,7 +1322,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -1381,7 +1381,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "increase(cloudflare_zone_requests_content_type{zone=~\"$zone\"}[$__range])", "instant": true, @@ -1396,7 +1396,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -1453,7 +1453,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "increase(cloudflare_zone_requests_country{zone=~\"$zone\"}[$__range])", "instant": true, @@ -1469,7 +1469,7 @@ "collapsed": true, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "gridPos": { "h": 1, @@ -1486,7 +1486,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -1533,7 +1533,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "rate(cloudflare_zone_bandwidth_total{zone=~\"$zone\"}[$__interval])", "interval": "5m", @@ -1544,7 +1544,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "rate(cloudflare_zone_bandwidth_cached{zone=~\"$zone\"}[$__interval])", "interval": "5m", @@ -1594,7 +1594,7 @@ }, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -1625,7 +1625,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "cloudflare_zone_bandwidth_cached{zone=~\"$zone\"} / cloudflare_zone_bandwidth_total{zone=~\"$zone\"}", "interval": "", @@ -1635,7 +1635,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "(cloudflare_zone_bandwidth_total{zone=~\"$zone\"} - cloudflare_zone_bandwidth_cached{zone=~\"$zone\"}) / cloudflare_zone_bandwidth_total{zone=~\"$zone\"}", "interval": "", @@ -1656,7 +1656,7 @@ }, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -1690,7 +1690,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "rate(cloudflare_zone_bandwidth_content_type{zone=~\"$zone\"}[5m])", "interval": "", @@ -1707,7 +1707,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "refId": "A" } @@ -1719,7 +1719,7 @@ "collapsed": true, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "gridPos": { "h": 1, @@ -1736,7 +1736,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -1785,7 +1785,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "sum by (region)(rate(cloudflare_zone_requests_country{zone=~\"$zone\"}[$__interval]))", "format": "time_series", @@ -1835,7 +1835,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -1884,7 +1884,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "sum by (region)(rate(cloudflare_zone_bandwidth_country{zone=~\"$zone\"}[$__interval]))", "interval": "5m", @@ -1932,7 +1932,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -1984,7 +1984,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "rate(cloudflare_zone_requests_country{zone=~\"$zone\", region=~\"$regions\"}[$__interval]) > 10", "interval": "5m", @@ -2030,7 +2030,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "refId": "A" } @@ -2042,7 +2042,7 @@ "collapsed": true, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "gridPos": { "h": 1, @@ -2059,7 +2059,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -2105,7 +2105,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "rate(cloudflare_zone_threats_total{zone=~\"$zone\"}[1m])", "interval": "", @@ -2152,7 +2152,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -2198,7 +2198,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "rate(cloudflare_zone_threats_country{zone=~\"$zone\"}[1m])", "interval": "", @@ -2245,7 +2245,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -2291,7 +2291,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "rate(cloudflare_zone_threats_type{zone=~\"$zone\"}[1m])", "interval": "", @@ -2336,7 +2336,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "refId": "A" } @@ -2348,7 +2348,7 @@ "collapsed": true, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "gridPos": { "h": 1, @@ -2365,7 +2365,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -2411,7 +2411,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "rate(cloudflare_zone_colocation_visits{zone=\"$zone\"}[$__interval]) > 0", "interval": "", @@ -2457,7 +2457,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "refId": "A" } @@ -2483,7 +2483,7 @@ }, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "definition": "label_values(cloudflare_zone_requests_total, zone)", "hide": 0, @@ -2517,7 +2517,7 @@ }, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "definition": "label_values(cloudflare_zone_requests_country, region)", "hide": 2, diff --git a/templates/dashboards/nginx.json.j2 b/templates/dashboards/nginx.json.j2 index 8c6e17e..b994ec2 100644 --- a/templates/dashboards/nginx.json.j2 +++ b/templates/dashboards/nginx.json.j2 @@ -64,7 +64,7 @@ "collapsed": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "gridPos": { "h": 1, @@ -78,7 +78,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "refId": "A" } @@ -177,7 +177,7 @@ "collapsed": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "gridPos": { "h": 1, @@ -191,7 +191,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "refId": "A" } diff --git a/templates/dashboards/node-exporter.json.j2 b/templates/dashboards/node-exporter.json.j2 index feea686..ca6efb4 100644 --- a/templates/dashboards/node-exporter.json.j2 +++ b/templates/dashboards/node-exporter.json.j2 @@ -34,7 +34,7 @@ "collapsed": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "gridPos": { "h": 1, @@ -50,7 +50,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "description": "Busy state of all CPU cores together", "fieldConfig": { @@ -117,7 +117,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "(((count(count(node_cpu_seconds_total{instance=\"$host\",job=\"$job\"}) by (cpu))) - avg(sum by (mode)(rate(node_cpu_seconds_total{mode='idle',instance=\"$host\",job=\"$job\"}[$__rate_interval])))) * 100) / count(count(node_cpu_seconds_total{instance=\"$host\",job=\"$job\"}) by (cpu))", @@ -135,7 +135,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "description": "Busy state of all CPU cores together (5 min average)", "fieldConfig": { @@ -202,7 +202,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "avg(node_load5{instance=\"$host\",job=\"$job\"}) / count(count(node_cpu_seconds_total{instance=\"$host\",job=\"$job\"}) by (cpu)) * 100", @@ -220,7 +220,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "description": "Busy state of all CPU cores together (15 min average)", "fieldConfig": { @@ -287,7 +287,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "avg(node_load15{instance=\"$host\",job=\"$job\"}) / count(count(node_cpu_seconds_total{instance=\"$host\",job=\"$job\"}) by (cpu)) * 100", @@ -304,7 +304,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "description": "Non available RAM memory", "fieldConfig": { @@ -363,7 +363,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "((node_memory_MemTotal_bytes{instance=\"$host\",job=\"$job\"} - node_memory_MemFree_bytes{instance=\"$host\",job=\"$job\"}) / (node_memory_MemTotal_bytes{instance=\"$host\",job=\"$job\"} )) * 100", @@ -377,7 +377,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "100 - ((node_memory_MemAvailable_bytes{instance=\"$host\",job=\"$job\"} * 100) / node_memory_MemTotal_bytes{instance=\"$host\",job=\"$job\"})", @@ -395,7 +395,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "description": "Used Swap", "fieldConfig": { @@ -462,7 +462,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "((node_memory_SwapTotal_bytes{instance=\"$host\",job=\"$job\"} - node_memory_SwapFree_bytes{instance=\"$host\",job=\"$job\"}) / (node_memory_SwapTotal_bytes{instance=\"$host\",job=\"$job\"} )) * 100", @@ -478,7 +478,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "description": "Used Root FS", "fieldConfig": { @@ -545,7 +545,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "100 - ((node_filesystem_avail_bytes{instance=\"$host\",job=\"$job\",mountpoint=\"/\",fstype!=\"rootfs\"} * 100) / node_filesystem_size_bytes{instance=\"$host\",job=\"$job\",mountpoint=\"/\",fstype!=\"rootfs\"})", @@ -562,7 +562,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "description": "Total number of CPU cores", "fieldConfig": { @@ -626,7 +626,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "count(count(node_cpu_seconds_total{instance=\"$host\",job=\"$job\"}) by (cpu))", @@ -644,7 +644,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "description": "Total RAM", "fieldConfig": { @@ -709,7 +709,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "node_memory_MemTotal_bytes{instance=\"$host\",job=\"$job\"}", @@ -725,7 +725,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "description": "System uptime", "fieldConfig": { @@ -791,7 +791,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "node_time_seconds{instance=\"$host\",job=\"$job\"} - node_boot_time_seconds{instance=\"$host\",job=\"$job\"}", @@ -807,7 +807,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "description": "Total RootFS", "fieldConfig": { @@ -876,7 +876,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "node_filesystem_size_bytes{instance=\"$host\",job=\"$job\",mountpoint=\"/\",fstype!=\"rootfs\"}", @@ -894,7 +894,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "description": "System uptime", "fieldConfig": { @@ -959,7 +959,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "exemplar": true, @@ -978,7 +978,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "description": "Total SWAP", "fieldConfig": { @@ -1043,7 +1043,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "node_memory_SwapTotal_bytes{instance=\"$host\",job=\"$job\"}", @@ -1060,7 +1060,7 @@ "collapsed": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "gridPos": { "h": 1, @@ -1095,7 +1095,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "decimals": 2, "description": "Basic CPU info", @@ -1169,7 +1169,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "sum by (instance)(rate(node_cpu_seconds_total{mode=\"system\",instance=\"$host\",job=\"$job\"}[$__rate_interval])) * 100", @@ -1184,7 +1184,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "sum by (instance)(rate(node_cpu_seconds_total{mode='user',instance=\"$host\",job=\"$job\"}[$__rate_interval])) * 100", @@ -1199,7 +1199,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "sum by (instance)(rate(node_cpu_seconds_total{mode='iowait',instance=\"$host\",job=\"$job\"}[$__rate_interval])) * 100", @@ -1213,7 +1213,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "sum by (instance)(rate(node_cpu_seconds_total{mode=~\".*irq\",instance=\"$host\",job=\"$job\"}[$__rate_interval])) * 100", @@ -1227,7 +1227,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "sum (rate(node_cpu_seconds_total{mode!='idle',mode!='user',mode!='system',mode!='iowait',mode!='irq',mode!='softirq',instance=\"$host\",job=\"$job\"}[$__rate_interval])) * 100", @@ -1241,7 +1241,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "sum by (mode)(rate(node_cpu_seconds_total{mode='idle',instance=\"$host\",job=\"$job\"}[$__rate_interval])) * 100", @@ -1315,7 +1315,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "decimals": 2, "description": "Basic memory usage", @@ -1389,7 +1389,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "node_memory_MemTotal_bytes{instance=\"$host\",job=\"$job\"}", @@ -1404,7 +1404,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "node_memory_MemTotal_bytes{instance=\"$host\",job=\"$job\"} - node_memory_MemFree_bytes{instance=\"$host\",job=\"$job\"} - (node_memory_Cached_bytes{instance=\"$host\",job=\"$job\"} + node_memory_Buffers_bytes{instance=\"$host\",job=\"$job\"})", @@ -1419,7 +1419,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "node_memory_Cached_bytes{instance=\"$host\",job=\"$job\"} + node_memory_Buffers_bytes{instance=\"$host\",job=\"$job\"}", @@ -1433,7 +1433,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "node_memory_MemFree_bytes{instance=\"$host\",job=\"$job\"}", @@ -1447,7 +1447,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "(node_memory_SwapTotal_bytes{instance=\"$host\",job=\"$job\"} - node_memory_SwapFree_bytes{instance=\"$host\",job=\"$job\"})", @@ -1522,7 +1522,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "description": "Basic network info per interface", "fieldConfig": { @@ -1581,7 +1581,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "rate(node_network_receive_bytes_total{instance=\"$host\",job=\"$job\"}[$__rate_interval])*8", @@ -1595,7 +1595,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "rate(node_network_transmit_bytes_total{instance=\"$host\",job=\"$job\"}[$__rate_interval])*8", @@ -1645,7 +1645,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "decimals": 3, "description": "Disk space used of all filesystems mounted", @@ -1700,7 +1700,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "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", @@ -1746,7 +1746,7 @@ "collapsed": true, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "gridPos": { "h": 1, @@ -1774,7 +1774,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "decimals": 2, "description": "", @@ -1827,7 +1827,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "sum by (mode)(rate(node_cpu_seconds_total{mode=\"system\",instance=\"$host\",job=\"$job\"}[$__rate_interval])) * 100", "format": "time_series", @@ -1840,7 +1840,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "sum by (mode)(rate(node_cpu_seconds_total{mode='user',instance=\"$host\",job=\"$job\"}[$__rate_interval])) * 100", "format": "time_series", @@ -1852,7 +1852,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "sum by (mode)(rate(node_cpu_seconds_total{mode='nice',instance=\"$host\",job=\"$job\"}[$__rate_interval])) * 100", "format": "time_series", @@ -1864,7 +1864,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "sum by (mode)(rate(node_cpu_seconds_total{mode='idle',instance=\"$host\",job=\"$job\"}[$__rate_interval])) * 100", "format": "time_series", @@ -1876,7 +1876,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "sum by (mode)(rate(node_cpu_seconds_total{mode='iowait',instance=\"$host\",job=\"$job\"}[$__rate_interval])) * 100", "format": "time_series", @@ -1888,7 +1888,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "sum by (mode)(rate(node_cpu_seconds_total{mode='irq',instance=\"$host\",job=\"$job\"}[$__rate_interval])) * 100", "format": "time_series", @@ -1900,7 +1900,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "sum by (mode)(rate(node_cpu_seconds_total{mode='softirq',instance=\"$host\",job=\"$job\"}[$__rate_interval])) * 100", "format": "time_series", @@ -1912,7 +1912,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "sum by (mode)(rate(node_cpu_seconds_total{mode='steal',instance=\"$host\",job=\"$job\"}[$__rate_interval])) * 100", "format": "time_series", @@ -1924,7 +1924,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "sum by (mode)(rate(node_cpu_seconds_total{mode='guest',instance=\"$host\",job=\"$job\"}[$__rate_interval])) * 100", "format": "time_series", @@ -1994,7 +1994,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "decimals": 2, "description": "", @@ -2052,7 +2052,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_memory_MemTotal_bytes{instance=\"$host\",job=\"$job\"} - node_memory_MemFree_bytes{instance=\"$host\",job=\"$job\"} - node_memory_Buffers_bytes{instance=\"$host\",job=\"$job\"} - node_memory_Cached_bytes{instance=\"$host\",job=\"$job\"} - node_memory_Slab_bytes{instance=\"$host\",job=\"$job\"} - node_memory_PageTables_bytes{instance=\"$host\",job=\"$job\"} - node_memory_SwapCached_bytes{instance=\"$host\",job=\"$job\"}", "format": "time_series", @@ -2065,7 +2065,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_memory_PageTables_bytes{instance=\"$host\",job=\"$job\"}", "format": "time_series", @@ -2078,7 +2078,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_memory_SwapCached_bytes{instance=\"$host\",job=\"$job\"}", "format": "time_series", @@ -2090,7 +2090,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_memory_Slab_bytes{instance=\"$host\",job=\"$job\"}", "format": "time_series", @@ -2103,7 +2103,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_memory_Cached_bytes{instance=\"$host\",job=\"$job\"}", "format": "time_series", @@ -2116,7 +2116,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_memory_Buffers_bytes{instance=\"$host\",job=\"$job\"}", "format": "time_series", @@ -2129,7 +2129,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_memory_MemFree_bytes{instance=\"$host\",job=\"$job\"}", "format": "time_series", @@ -2142,7 +2142,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "(node_memory_SwapTotal_bytes{instance=\"$host\",job=\"$job\"} - node_memory_SwapFree_bytes{instance=\"$host\",job=\"$job\"})", "format": "time_series", @@ -2155,7 +2155,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_memory_HardwareCorrupted_bytes{instance=\"$host\",job=\"$job\"}", "format": "time_series", @@ -2210,7 +2210,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -2265,7 +2265,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "rate(node_network_receive_bytes_total{instance=\"$host\",job=\"$job\"}[$__rate_interval])*8", "format": "time_series", @@ -2277,7 +2277,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "rate(node_network_transmit_bytes_total{instance=\"$host\",job=\"$job\"}[$__rate_interval])*8", "format": "time_series", @@ -2327,7 +2327,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "decimals": 3, "description": "", @@ -2382,7 +2382,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_filesystem_size_bytes{instance=\"$host\",job=\"$job\",device!~'rootfs'} - node_filesystem_avail_bytes{instance=\"$host\",job=\"$job\",device!~'rootfs'}", "format": "time_series", @@ -2431,7 +2431,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "description": "", "fieldConfig": { @@ -2572,7 +2572,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "rate(node_disk_reads_completed_total{instance=\"$host\",job=\"$job\",device=~\"$diskdevices\"}[$__rate_interval])", "intervalFactor": 4, @@ -2583,7 +2583,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "rate(node_disk_writes_completed_total{instance=\"$host\",job=\"$job\",device=~\"$diskdevices\"}[$__rate_interval])", "intervalFactor": 1, @@ -2632,7 +2632,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "decimals": 3, "description": "", @@ -2709,7 +2709,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "rate(node_disk_read_bytes_total{instance=\"$host\",job=\"$job\",device=~\"$diskdevices\"}[$__rate_interval])", "format": "time_series", @@ -2722,7 +2722,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "rate(node_disk_written_bytes_total{instance=\"$host\",job=\"$job\",device=~\"$diskdevices\"}[$__rate_interval])", "format": "time_series", @@ -2776,7 +2776,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "decimals": 3, "description": "", @@ -2828,7 +2828,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "rate(node_disk_io_time_seconds_total{instance=\"$host\",job=\"$job\",device=~\"$diskdevices\"} [$__rate_interval])", "format": "time_series", @@ -2883,7 +2883,7 @@ "collapsed": true, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "gridPos": { "h": 1, @@ -2918,7 +2918,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "decimals": 2, "fill": 2, @@ -2963,7 +2963,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_memory_Inactive_bytes{instance=\"$host\",job=\"$job\"}", "format": "time_series", @@ -2975,7 +2975,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_memory_Active_bytes{instance=\"$host\",job=\"$job\"}", "format": "time_series", @@ -3042,7 +3042,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "decimals": 2, "fill": 2, @@ -3096,7 +3096,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_memory_Committed_AS_bytes{instance=\"$host\",job=\"$job\"}", "format": "time_series", @@ -3108,7 +3108,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_memory_CommitLimit_bytes{instance=\"$host\",job=\"$job\"}", "format": "time_series", @@ -3175,7 +3175,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "decimals": 2, "fill": 2, @@ -3220,7 +3220,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_memory_Inactive_file_bytes{instance=\"$host\",job=\"$job\"}", "format": "time_series", @@ -3233,7 +3233,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_memory_Inactive_anon_bytes{instance=\"$host\",job=\"$job\"}", "format": "time_series", @@ -3246,7 +3246,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_memory_Active_file_bytes{instance=\"$host\",job=\"$job\"}", "format": "time_series", @@ -3259,7 +3259,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_memory_Active_anon_bytes{instance=\"$host\",job=\"$job\"}", "format": "time_series", @@ -3329,7 +3329,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "decimals": 2, "fill": 2, @@ -3373,7 +3373,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_memory_Writeback_bytes{instance=\"$host\",job=\"$job\"}", "format": "time_series", @@ -3385,7 +3385,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_memory_WritebackTmp_bytes{instance=\"$host\",job=\"$job\"}", "format": "time_series", @@ -3397,7 +3397,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_memory_Dirty_bytes{instance=\"$host\",job=\"$job\"}", "format": "time_series", @@ -3464,7 +3464,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "decimals": 2, "fill": 2, @@ -3520,7 +3520,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_memory_Mapped_bytes{instance=\"$host\",job=\"$job\"}", "format": "time_series", @@ -3532,7 +3532,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_memory_Shmem_bytes{instance=\"$host\",job=\"$job\"}", "format": "time_series", @@ -3544,7 +3544,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_memory_ShmemHugePages_bytes{instance=\"$host\",job=\"$job\"}", "format": "time_series", @@ -3557,7 +3557,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_memory_ShmemPmdMapped_bytes{instance=\"$host\",job=\"$job\"}", "format": "time_series", @@ -3629,7 +3629,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "decimals": 2, "fill": 2, @@ -3673,7 +3673,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_memory_SUnreclaim_bytes{instance=\"$host\",job=\"$job\"}", "format": "time_series", @@ -3685,7 +3685,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_memory_SReclaimable_bytes{instance=\"$host\",job=\"$job\"}", "format": "time_series", @@ -3753,7 +3753,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "decimals": 2, "fill": 2, @@ -3797,7 +3797,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_memory_VmallocChunk_bytes{instance=\"$host\",job=\"$job\"}", "format": "time_series", @@ -3810,7 +3810,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_memory_VmallocTotal_bytes{instance=\"$host\",job=\"$job\"}", "format": "time_series", @@ -3823,7 +3823,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_memory_VmallocUsed_bytes{instance=\"$host\",job=\"$job\"}", "format": "time_series", @@ -3891,7 +3891,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "decimals": 2, "fill": 2, @@ -3936,7 +3936,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_memory_Bounce_bytes{instance=\"$host\",job=\"$job\"}", "format": "time_series", @@ -4004,7 +4004,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "decimals": 2, "fill": 2, @@ -4053,7 +4053,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_memory_AnonHugePages_bytes{instance=\"$host\",job=\"$job\"}", "format": "time_series", @@ -4065,7 +4065,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_memory_AnonPages_bytes{instance=\"$host\",job=\"$job\"}", "format": "time_series", @@ -4132,7 +4132,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "decimals": 2, "fill": 2, @@ -4177,7 +4177,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_memory_KernelStack_bytes{instance=\"$host\",job=\"$job\"}", "format": "time_series", @@ -4189,7 +4189,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_memory_Percpu_bytes{instance=\"$host\",job=\"$job\"}", "format": "time_series", @@ -4258,7 +4258,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "decimals": 2, "fill": 2, @@ -4302,7 +4302,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_memory_HugePages_Free{instance=\"$host\",job=\"$job\"}", "format": "time_series", @@ -4314,7 +4314,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_memory_HugePages_Rsvd{instance=\"$host\",job=\"$job\"}", "format": "time_series", @@ -4326,7 +4326,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_memory_HugePages_Surp{instance=\"$host\",job=\"$job\"}", "format": "time_series", @@ -4395,7 +4395,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "decimals": 2, "fill": 2, @@ -4439,7 +4439,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_memory_HugePages_Total{instance=\"$host\",job=\"$job\"}", "format": "time_series", @@ -4451,7 +4451,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_memory_Hugepagesize_bytes{instance=\"$host\",job=\"$job\"}", "format": "time_series", @@ -4520,7 +4520,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "decimals": 2, "fill": 2, @@ -4566,7 +4566,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_memory_DirectMap1G_bytes{instance=\"$host\",job=\"$job\"}", "format": "time_series", @@ -4578,7 +4578,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_memory_DirectMap2M_bytes{instance=\"$host\",job=\"$job\"}", "format": "time_series", @@ -4591,7 +4591,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_memory_DirectMap4k_bytes{instance=\"$host\",job=\"$job\"}", "format": "time_series", @@ -4659,7 +4659,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "decimals": 2, "fill": 2, @@ -4704,7 +4704,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_memory_Unevictable_bytes{instance=\"$host\",job=\"$job\"}", "format": "time_series", @@ -4716,7 +4716,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_memory_Mlocked_bytes{instance=\"$host\",job=\"$job\"}", "format": "time_series", @@ -4785,7 +4785,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "decimals": 2, "fill": 2, @@ -4829,7 +4829,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_memory_NFS_Unstable_bytes{instance=\"$host\",job=\"$job\"}", "format": "time_series", @@ -4879,7 +4879,7 @@ "collapsed": true, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "gridPos": { "h": 1, @@ -4896,7 +4896,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fill": 2, "fillGradient": 0, @@ -4944,7 +4944,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "rate(node_vmstat_pgpgin{instance=\"$host\",job=\"$job\"}[$__rate_interval])", "format": "time_series", @@ -4956,7 +4956,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "rate(node_vmstat_pgpgout{instance=\"$host\",job=\"$job\"}[$__rate_interval])", "format": "time_series", @@ -5004,7 +5004,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fill": 2, "fillGradient": 0, @@ -5052,7 +5052,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "rate(node_vmstat_pswpin{instance=\"$host\",job=\"$job\"}[$__rate_interval])", "format": "time_series", @@ -5064,7 +5064,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "rate(node_vmstat_pswpout{instance=\"$host\",job=\"$job\"}[$__rate_interval])", "format": "time_series", @@ -5130,7 +5130,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "decimals": 2, "fill": 2, @@ -5182,7 +5182,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "rate(node_vmstat_pgfault{instance=\"$host\",job=\"$job\"}[$__rate_interval])", "format": "time_series", @@ -5194,7 +5194,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "rate(node_vmstat_pgmajfault{instance=\"$host\",job=\"$job\"}[$__rate_interval])", "format": "time_series", @@ -5206,7 +5206,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "rate(node_vmstat_pgfault{instance=\"$host\",job=\"$job\"}[$__rate_interval]) - rate(node_vmstat_pgmajfault{instance=\"$host\",job=\"$job\"}[$__rate_interval])", "format": "time_series", @@ -5277,7 +5277,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "decimals": 2, "fill": 2, @@ -5321,7 +5321,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "rate(node_vmstat_oom_kill{instance=\"$host\",job=\"$job\"}[$__rate_interval])", "format": "time_series", @@ -5374,7 +5374,7 @@ "collapsed": true, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "gridPos": { "h": 1, @@ -5391,7 +5391,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "description": "", "fill": 2, @@ -5438,7 +5438,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_timex_estimated_error_seconds{instance=\"$host\",job=\"$job\"}", "format": "time_series", @@ -5452,7 +5452,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_timex_offset_seconds{instance=\"$host\",job=\"$job\"}", "format": "time_series", @@ -5466,7 +5466,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_timex_maxerror_seconds{instance=\"$host\",job=\"$job\"}", "format": "time_series", @@ -5517,7 +5517,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "description": "", "fill": 2, @@ -5559,7 +5559,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_timex_loop_time_constant{instance=\"$host\",job=\"$job\"}", "format": "time_series", @@ -5608,7 +5608,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "description": "", "fill": 2, @@ -5655,7 +5655,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_timex_sync_status{instance=\"$host\",job=\"$job\"}", "format": "time_series", @@ -5668,7 +5668,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_timex_frequency_adjustment_ratio{instance=\"$host\",job=\"$job\"}", "format": "time_series", @@ -5717,7 +5717,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "description": "", "fill": 2, @@ -5759,7 +5759,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_timex_tick_seconds{instance=\"$host\",job=\"$job\"}", "format": "time_series", @@ -5772,7 +5772,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_timex_tai_offset_seconds{instance=\"$host\",job=\"$job\"}", "format": "time_series", @@ -5822,7 +5822,7 @@ "collapsed": true, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "gridPos": { "h": 1, @@ -5839,7 +5839,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fill": 2, "fillGradient": 0, @@ -5881,7 +5881,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_procs_blocked{instance=\"$host\",job=\"$job\"}", "format": "time_series", @@ -5893,7 +5893,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_procs_running{instance=\"$host\",job=\"$job\"}", "format": "time_series", @@ -5944,7 +5944,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fill": 2, "fillGradient": 0, @@ -5986,7 +5986,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_processes_state{instance=\"$host\",job=\"$job\"}", "format": "time_series", @@ -6038,7 +6038,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fill": 2, "fillGradient": 0, @@ -6080,7 +6080,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "rate(node_forks_total{instance=\"$host\",job=\"$job\"}[$__rate_interval])", "format": "time_series", @@ -6132,7 +6132,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fill": 2, "fillGradient": 0, @@ -6178,7 +6178,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "rate(process_virtual_memory_bytes{instance=\"$host\",job=\"$job\"}[$__rate_interval])", "hide": false, @@ -6191,7 +6191,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "process_resident_memory_max_bytes{instance=\"$host\",job=\"$job\"}", "hide": false, @@ -6204,7 +6204,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "rate(process_virtual_memory_bytes{instance=\"$host\",job=\"$job\"}[$__rate_interval])", "hide": false, @@ -6217,7 +6217,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "rate(process_virtual_memory_max_bytes{instance=\"$host\",job=\"$job\"}[$__rate_interval])", "hide": false, @@ -6267,7 +6267,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fill": 2, "fillGradient": 0, @@ -6316,7 +6316,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_processes_pids{instance=\"$host\",job=\"$job\"}", "format": "time_series", @@ -6329,7 +6329,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_processes_max_processes{instance=\"$host\",job=\"$job\"}", "format": "time_series", @@ -6381,7 +6381,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fill": 2, "fillGradient": 0, @@ -6429,7 +6429,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "rate(node_schedstat_running_seconds_total{instance=\"$host\",job=\"$job\"}[$__rate_interval])", "format": "time_series", @@ -6442,7 +6442,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "rate(node_schedstat_waiting_seconds_total{instance=\"$host\",job=\"$job\"}[$__rate_interval])", "format": "time_series", @@ -6493,7 +6493,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fill": 2, "fillGradient": 0, @@ -6542,7 +6542,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_processes_threads{instance=\"$host\",job=\"$job\"}", "format": "time_series", @@ -6555,7 +6555,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_processes_max_threads{instance=\"$host\",job=\"$job\"}", "format": "time_series", @@ -6608,7 +6608,7 @@ "collapsed": true, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "gridPos": { "h": 1, @@ -6625,7 +6625,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fill": 2, "fillGradient": 0, @@ -6667,7 +6667,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "rate(node_context_switches_total{instance=\"$host\",job=\"$job\"}[$__rate_interval])", "format": "time_series", @@ -6679,7 +6679,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "rate(node_intr_total{instance=\"$host\",job=\"$job\"}[$__rate_interval])", "format": "time_series", @@ -6729,7 +6729,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fill": 2, "fillGradient": 0, @@ -6771,7 +6771,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_load1{instance=\"$host\",job=\"$job\"}", "format": "time_series", @@ -6783,7 +6783,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_load5{instance=\"$host\",job=\"$job\"}", "format": "time_series", @@ -6795,7 +6795,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_load15{instance=\"$host\",job=\"$job\"}", "format": "time_series", @@ -6846,7 +6846,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fill": 2, "fillGradient": 0, @@ -6898,7 +6898,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "rate(node_interrupts_total{instance=\"$host\",job=\"$job\"}[$__rate_interval])", "format": "time_series", @@ -6948,7 +6948,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fill": 2, "fillGradient": 0, @@ -6990,7 +6990,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "rate(node_schedstat_timeslices_total{instance=\"$host\",job=\"$job\"}[$__rate_interval])", "format": "time_series", @@ -7041,7 +7041,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fill": 2, "fillGradient": 0, @@ -7083,7 +7083,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_entropy_available_bits{instance=\"$host\",job=\"$job\"}", "format": "time_series", @@ -7134,7 +7134,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fill": 2, "fillGradient": 0, @@ -7176,7 +7176,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "rate(process_cpu_seconds_total{instance=\"$host\",job=\"$job\"}[$__rate_interval])", "format": "time_series", @@ -7227,7 +7227,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fill": 2, "fillGradient": 0, @@ -7275,7 +7275,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "process_max_fds{instance=\"$host\",job=\"$job\"}", "interval": "", @@ -7287,7 +7287,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "process_open_fds{instance=\"$host\",job=\"$job\"}", "interval": "", @@ -7339,7 +7339,7 @@ "collapsed": true, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "gridPos": { "h": 1, @@ -7356,7 +7356,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -7417,7 +7417,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_hwmon_temp_celsius{instance=\"$host\",job=\"$job\"}", "format": "time_series", @@ -7430,7 +7430,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_hwmon_temp_crit_alarm_celsius{instance=\"$host\",job=\"$job\"}", "format": "time_series", @@ -7444,7 +7444,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_hwmon_temp_crit_celsius{instance=\"$host\",job=\"$job\"}", "format": "time_series", @@ -7457,7 +7457,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_hwmon_temp_crit_hyst_celsius{instance=\"$host\",job=\"$job\"}", "format": "time_series", @@ -7471,7 +7471,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_hwmon_temp_max_celsius{instance=\"$host\",job=\"$job\"}", "format": "time_series", @@ -7524,7 +7524,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -7579,7 +7579,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_cooling_device_cur_state{instance=\"$host\",job=\"$job\"}", "format": "time_series", @@ -7593,7 +7593,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_cooling_device_max_state{instance=\"$host\",job=\"$job\"}", "format": "time_series", @@ -7644,7 +7644,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -7692,7 +7692,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_power_supply_online{instance=\"$host\",job=\"$job\"}", "format": "time_series", @@ -7745,7 +7745,7 @@ "collapsed": true, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "gridPos": { "h": 1, @@ -7762,7 +7762,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fill": 2, "fillGradient": 0, @@ -7803,7 +7803,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "rate(node_systemd_socket_accepted_connections_total{instance=\"$host\",job=\"$job\"}[$__rate_interval])", "format": "time_series", @@ -7853,7 +7853,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fill": 2, "fillGradient": 0, @@ -7915,7 +7915,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_systemd_units{instance=\"$host\",job=\"$job\",state=\"activating\"}", "format": "time_series", @@ -7928,7 +7928,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_systemd_units{instance=\"$host\",job=\"$job\",state=\"active\"}", "format": "time_series", @@ -7941,7 +7941,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_systemd_units{instance=\"$host\",job=\"$job\",state=\"deactivating\"}", "format": "time_series", @@ -7954,7 +7954,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_systemd_units{instance=\"$host\",job=\"$job\",state=\"failed\"}", "format": "time_series", @@ -7967,7 +7967,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_systemd_units{instance=\"$host\",job=\"$job\",state=\"inactive\"}", "format": "time_series", @@ -8017,7 +8017,7 @@ "collapsed": true, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "gridPos": { "h": 1, @@ -8034,7 +8034,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "description": "The number (after merges) of I/O requests completed per second for the device", "fieldConfig": { @@ -8192,7 +8192,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "rate(node_disk_reads_completed_total{instance=\"$host\",job=\"$job\"}[$__rate_interval])", "intervalFactor": 4, @@ -8203,7 +8203,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "rate(node_disk_writes_completed_total{instance=\"$host\",job=\"$job\"}[$__rate_interval])", "intervalFactor": 1, @@ -8252,7 +8252,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "description": "The number of bytes read from or written to the device per second", "fieldConfig": { @@ -8389,7 +8389,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "rate(node_disk_read_bytes_total{instance=\"$host\",job=\"$job\"}[$__rate_interval])", "format": "time_series", @@ -8401,7 +8401,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "rate(node_disk_written_bytes_total{instance=\"$host\",job=\"$job\"}[$__rate_interval])", "format": "time_series", @@ -8451,7 +8451,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "description": "The average time for requests issued to the device to be served. This includes the time spent by the requests in queue and the time spent servicing them.", "fieldConfig": { @@ -8590,7 +8590,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "rate(node_disk_read_time_seconds_total{instance=\"$host\",job=\"$job\"}[$__rate_interval]) / rate(node_disk_reads_completed_total{instance=\"$host\",job=\"$job\"}[$__rate_interval])", "hide": false, @@ -8603,7 +8603,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "rate(node_disk_write_time_seconds_total{instance=\"$host\",job=\"$job\"}[$__rate_interval]) / rate(node_disk_writes_completed_total{instance=\"$host\",job=\"$job\"}[$__rate_interval])", "hide": false, @@ -8654,7 +8654,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "description": "The average queue length of the requests that were issued to the device", "fieldConfig": { @@ -8789,7 +8789,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "rate(node_disk_io_time_weighted_seconds_total{instance=\"$host\",job=\"$job\"}[$__rate_interval])", "interval": "", @@ -8840,7 +8840,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "description": "The number of read and write requests merged per second that were queued to the device", "fieldConfig": { @@ -8979,7 +8979,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "rate(node_disk_reads_merged_total{instance=\"$host\",job=\"$job\"}[$__rate_interval])", "intervalFactor": 1, @@ -8990,7 +8990,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "rate(node_disk_writes_merged_total{instance=\"$host\",job=\"$job\"}[$__rate_interval])", "intervalFactor": 1, @@ -9039,7 +9039,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "description": "Percentage of elapsed time during which I/O requests were issued to the device (bandwidth utilization for the device). Device saturation occurs when this value is close to 100% for devices serving requests serially. But for devices serving requests in parallel, such as RAID arrays and modern SSDs, this number does not reflect their performance limits.", "fieldConfig": { @@ -9174,7 +9174,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "rate(node_disk_io_time_seconds_total{instance=\"$host\",job=\"$job\"}[$__rate_interval])", "interval": "", @@ -9186,7 +9186,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "rate(node_disk_discard_time_seconds_total{instance=\"$host\",job=\"$job\"}[$__rate_interval])", "interval": "", @@ -9237,7 +9237,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "description": "The number of outstanding requests at the instant the sample was taken. Incremented as requests are given to appropriate struct request_queue and decremented as they finish.", "fieldConfig": { @@ -9373,7 +9373,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_disk_io_now{instance=\"$host\",job=\"$job\"}", "interval": "", @@ -9424,7 +9424,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "description": "", "fieldConfig": { @@ -9578,7 +9578,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "rate(node_disk_discards_completed_total{instance=\"$host\",job=\"$job\"}[$__rate_interval])", "interval": "", @@ -9590,7 +9590,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "rate(node_disk_discards_merged_total{instance=\"$host\",job=\"$job\"}[$__rate_interval])", "interval": "", @@ -9641,7 +9641,7 @@ "collapsed": true, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "gridPos": { "h": 1, @@ -9658,7 +9658,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "decimals": 3, "description": "", @@ -9711,7 +9711,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_filesystem_avail_bytes{instance=\"$host\",job=\"$job\",device!~'rootfs'}", "format": "time_series", @@ -9725,7 +9725,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_filesystem_free_bytes{instance=\"$host\",job=\"$job\",device!~'rootfs'}", "format": "time_series", @@ -9738,7 +9738,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_filesystem_size_bytes{instance=\"$host\",job=\"$job\",device!~'rootfs'}", "format": "time_series", @@ -9790,7 +9790,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "description": "", "fieldConfig": { @@ -9842,7 +9842,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_filesystem_files_free{instance=\"$host\",job=\"$job\",device!~'rootfs'}", "format": "time_series", @@ -9894,7 +9894,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "description": "", "fieldConfig": { @@ -9945,7 +9945,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_filefd_maximum{instance=\"$host\",job=\"$job\"}", "format": "time_series", @@ -9957,7 +9957,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_filefd_allocated{instance=\"$host\",job=\"$job\"}", "format": "time_series", @@ -10006,7 +10006,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "description": "", "fieldConfig": { @@ -10058,7 +10058,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_filesystem_files{instance=\"$host\",job=\"$job\",device!~'rootfs'}", "format": "time_series", @@ -10110,7 +10110,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "description": "", "fieldConfig": { @@ -10164,7 +10164,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_filesystem_readonly{instance=\"$host\",job=\"$job\",device!~'rootfs'}", "format": "time_series", @@ -10176,7 +10176,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_filesystem_device_error{instance=\"$host\",job=\"$job\",device!~'rootfs',fstype!~'tmpfs'}", "format": "time_series", @@ -10230,7 +10230,7 @@ "collapsed": true, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "gridPos": { "h": 1, @@ -10252,7 +10252,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fill": 2, "fillGradient": 0, @@ -10300,7 +10300,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "rate(node_network_receive_packets_total{instance=\"$host\",job=\"$job\"}[$__rate_interval])", "format": "time_series", @@ -10313,7 +10313,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "rate(node_network_transmit_packets_total{instance=\"$host\",job=\"$job\"}[$__rate_interval])", "format": "time_series", @@ -10362,7 +10362,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fill": 2, "fillGradient": 0, @@ -10414,7 +10414,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "rate(node_network_receive_errs_total{instance=\"$host\",job=\"$job\"}[$__rate_interval])", "format": "time_series", @@ -10426,7 +10426,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "rate(node_network_transmit_errs_total{instance=\"$host\",job=\"$job\"}[$__rate_interval])", "format": "time_series", @@ -10474,7 +10474,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fill": 2, "fillGradient": 0, @@ -10526,7 +10526,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "rate(node_network_receive_drop_total{instance=\"$host\",job=\"$job\"}[$__rate_interval])", "format": "time_series", @@ -10538,7 +10538,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "rate(node_network_transmit_drop_total{instance=\"$host\",job=\"$job\"}[$__rate_interval])", "format": "time_series", @@ -10586,7 +10586,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fill": 2, "fillGradient": 0, @@ -10638,7 +10638,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "rate(node_network_receive_compressed_total{instance=\"$host\",job=\"$job\"}[$__rate_interval])", "format": "time_series", @@ -10650,7 +10650,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "rate(node_network_transmit_compressed_total{instance=\"$host\",job=\"$job\"}[$__rate_interval])", "format": "time_series", @@ -10698,7 +10698,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fill": 2, "fillGradient": 0, @@ -10750,7 +10750,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "rate(node_network_receive_multicast_total{instance=\"$host\",job=\"$job\"}[$__rate_interval])", "format": "time_series", @@ -10798,7 +10798,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fill": 2, "fillGradient": 0, @@ -10850,7 +10850,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "rate(node_network_receive_fifo_total{instance=\"$host\",job=\"$job\"}[$__rate_interval])", "format": "time_series", @@ -10862,7 +10862,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "rate(node_network_transmit_fifo_total{instance=\"$host\",job=\"$job\"}[$__rate_interval])", "format": "time_series", @@ -10910,7 +10910,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fill": 2, "fillGradient": 0, @@ -10963,7 +10963,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "rate(node_network_receive_frame_total{instance=\"$host\",job=\"$job\"}[$__rate_interval])", "format": "time_series", @@ -11014,7 +11014,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fill": 2, "fillGradient": 0, @@ -11061,7 +11061,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "rate(node_network_transmit_carrier_total{instance=\"$host\",job=\"$job\"}[$__rate_interval])", "format": "time_series", @@ -11109,7 +11109,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fill": 2, "fillGradient": 0, @@ -11161,7 +11161,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "rate(node_network_transmit_colls_total{instance=\"$host\",job=\"$job\"}[$__rate_interval])", "format": "time_series", @@ -11209,7 +11209,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fill": 2, "fillGradient": 0, @@ -11258,7 +11258,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_nf_conntrack_entries{instance=\"$host\",job=\"$job\"}", "format": "time_series", @@ -11270,7 +11270,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_nf_conntrack_entries_limit{instance=\"$host\",job=\"$job\"}", "format": "time_series", @@ -11321,7 +11321,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fill": 2, "fillGradient": 0, @@ -11363,7 +11363,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_arp_entries{instance=\"$host\",job=\"$job\"}", "format": "time_series", @@ -11412,7 +11412,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fill": 2, "fillGradient": 0, @@ -11454,7 +11454,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_network_mtu_bytes{instance=\"$host\",job=\"$job\"}", "format": "time_series", @@ -11504,7 +11504,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fill": 2, "fillGradient": 0, @@ -11546,7 +11546,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_network_speed_bytes{instance=\"$host\",job=\"$job\"}", "format": "time_series", @@ -11596,7 +11596,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fill": 2, "fillGradient": 0, @@ -11638,7 +11638,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_network_transmit_queue_length{instance=\"$host\",job=\"$job\"}", "format": "time_series", @@ -11688,7 +11688,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fill": 2, "fillGradient": 0, @@ -11741,7 +11741,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "rate(node_softnet_processed_total{instance=\"$host\",job=\"$job\"}[$__rate_interval])", "format": "time_series", @@ -11754,7 +11754,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "rate(node_softnet_dropped_total{instance=\"$host\",job=\"$job\"}[$__rate_interval])", "format": "time_series", @@ -11805,7 +11805,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fill": 2, "fillGradient": 0, @@ -11852,7 +11852,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "rate(node_softnet_times_squeezed_total{instance=\"$host\",job=\"$job\"}[$__rate_interval])", "format": "time_series", @@ -11903,7 +11903,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fill": 2, "fillGradient": 0, @@ -11950,7 +11950,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_network_up{operstate=\"up\",instance=\"$host\",job=\"$job\"}", "format": "time_series", @@ -11962,7 +11962,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_network_carrier{instance=\"$host\",job=\"$job\"}", "format": "time_series", @@ -12010,7 +12010,7 @@ "collapsed": true, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "gridPos": { "h": 1, @@ -12027,7 +12027,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -12080,7 +12080,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_sockstat_TCP_alloc{instance=\"$host\",job=\"$job\"}", "format": "time_series", @@ -12093,7 +12093,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_sockstat_TCP_inuse{instance=\"$host\",job=\"$job\"}", "format": "time_series", @@ -12106,7 +12106,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_sockstat_TCP_mem{instance=\"$host\",job=\"$job\"}", "format": "time_series", @@ -12120,7 +12120,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_sockstat_TCP_orphan{instance=\"$host\",job=\"$job\"}", "format": "time_series", @@ -12133,7 +12133,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_sockstat_TCP_tw{instance=\"$host\",job=\"$job\"}", "format": "time_series", @@ -12183,7 +12183,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -12236,7 +12236,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_sockstat_UDPLITE_inuse{instance=\"$host\",job=\"$job\"}", "format": "time_series", @@ -12249,7 +12249,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_sockstat_UDP_inuse{instance=\"$host\",job=\"$job\"}", "format": "time_series", @@ -12262,7 +12262,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_sockstat_UDP_mem{instance=\"$host\",job=\"$job\"}", "format": "time_series", @@ -12312,7 +12312,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -12365,7 +12365,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_sockstat_FRAG_inuse{instance=\"$host\",job=\"$job\"}", "format": "time_series", @@ -12378,7 +12378,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_sockstat_RAW_inuse{instance=\"$host\",job=\"$job\"}", "format": "time_series", @@ -12430,7 +12430,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -12483,7 +12483,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_sockstat_TCP_mem_bytes{instance=\"$host\",job=\"$job\"}", "format": "time_series", @@ -12496,7 +12496,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_sockstat_UDP_mem_bytes{instance=\"$host\",job=\"$job\"}", "format": "time_series", @@ -12509,7 +12509,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_sockstat_FRAG_memory{instance=\"$host\",job=\"$job\"}", "interval": "", @@ -12557,7 +12557,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -12610,7 +12610,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_sockstat_sockets_used{instance=\"$host\",job=\"$job\"}", "format": "time_series", @@ -12661,7 +12661,7 @@ "collapsed": true, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "gridPos": { "h": 1, @@ -12678,7 +12678,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -12741,7 +12741,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "rate(node_netstat_IpExt_InOctets{instance=\"$host\",job=\"$job\"}[$__rate_interval])", "format": "time_series", @@ -12754,7 +12754,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "rate(node_netstat_IpExt_OutOctets{instance=\"$host\",job=\"$job\"}[$__rate_interval])", "format": "time_series", @@ -12804,7 +12804,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -12860,7 +12860,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "rate(node_netstat_Ip_Forwarding{instance=\"$host\",job=\"$job\"}[$__rate_interval])", "format": "time_series", @@ -12912,7 +12912,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -12972,7 +12972,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "rate(node_netstat_Icmp_InMsgs{instance=\"$host\",job=\"$job\"}[$__rate_interval])", "format": "time_series", @@ -12985,7 +12985,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "rate(node_netstat_Icmp_OutMsgs{instance=\"$host\",job=\"$job\"}[$__rate_interval])", "format": "time_series", @@ -13034,7 +13034,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -13094,7 +13094,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "rate(node_netstat_Icmp_InErrors{instance=\"$host\",job=\"$job\"}[$__rate_interval])", "format": "time_series", @@ -13143,7 +13143,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -13207,7 +13207,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "rate(node_netstat_Udp_InDatagrams{instance=\"$host\",job=\"$job\"}[$__rate_interval])", "format": "time_series", @@ -13220,7 +13220,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "rate(node_netstat_Udp_OutDatagrams{instance=\"$host\",job=\"$job\"}[$__rate_interval])", "format": "time_series", @@ -13269,7 +13269,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -13324,7 +13324,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "rate(node_netstat_Udp_InErrors{instance=\"$host\",job=\"$job\"}[$__rate_interval])", "format": "time_series", @@ -13337,7 +13337,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "rate(node_netstat_Udp_NoPorts{instance=\"$host\",job=\"$job\"}[$__rate_interval])", "format": "time_series", @@ -13350,7 +13350,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "rate(node_netstat_UdpLite_InErrors{instance=\"$host\",job=\"$job\"}[$__rate_interval])", "interval": "", @@ -13360,7 +13360,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "rate(node_netstat_Udp_RcvbufErrors{instance=\"$host\",job=\"$job\"}[$__rate_interval])", "format": "time_series", @@ -13373,7 +13373,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "rate(node_netstat_Udp_SndbufErrors{instance=\"$host\",job=\"$job\"}[$__rate_interval])", "format": "time_series", @@ -13424,7 +13424,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -13488,7 +13488,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "rate(node_netstat_Tcp_InSegs{instance=\"$host\",job=\"$job\"}[$__rate_interval])", "format": "time_series", @@ -13502,7 +13502,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "rate(node_netstat_Tcp_OutSegs{instance=\"$host\",job=\"$job\"}[$__rate_interval])", "format": "time_series", @@ -13551,7 +13551,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "description": "", "fieldConfig": { @@ -13608,7 +13608,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "rate(node_netstat_TcpExt_ListenOverflows{instance=\"$host\",job=\"$job\"}[$__rate_interval])", "format": "time_series", @@ -13622,7 +13622,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "rate(node_netstat_TcpExt_ListenDrops{instance=\"$host\",job=\"$job\"}[$__rate_interval])", "format": "time_series", @@ -13636,7 +13636,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "rate(node_netstat_TcpExt_TCPSynRetrans{instance=\"$host\",job=\"$job\"}[$__rate_interval])", "format": "time_series", @@ -13649,7 +13649,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "rate(node_netstat_Tcp_RetransSegs{instance=\"$host\",job=\"$job\"}[$__rate_interval])", "interval": "", @@ -13659,7 +13659,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "rate(node_netstat_Tcp_InErrs{instance=\"$host\",job=\"$job\"}[$__rate_interval])", "interval": "", @@ -13669,7 +13669,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "rate(node_netstat_Tcp_OutRsts{instance=\"$host\",job=\"$job\"}[$__rate_interval])", "interval": "", @@ -13716,7 +13716,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -13777,7 +13777,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_netstat_Tcp_CurrEstab{instance=\"$host\",job=\"$job\"}", "format": "time_series", @@ -13791,7 +13791,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_netstat_Tcp_MaxConn{instance=\"$host\",job=\"$job\"}", "format": "time_series", @@ -13844,7 +13844,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "description": "", "fieldConfig": { @@ -13906,7 +13906,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "rate(node_netstat_TcpExt_SyncookiesFailed{instance=\"$host\",job=\"$job\"}[$__rate_interval])", "format": "time_series", @@ -13920,7 +13920,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "rate(node_netstat_TcpExt_SyncookiesRecv{instance=\"$host\",job=\"$job\"}[$__rate_interval])", "format": "time_series", @@ -13934,7 +13934,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "rate(node_netstat_TcpExt_SyncookiesSent{instance=\"$host\",job=\"$job\"}[$__rate_interval])", "format": "time_series", @@ -13984,7 +13984,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -14038,7 +14038,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "rate(node_netstat_Tcp_ActiveOpens{instance=\"$host\",job=\"$job\"}[$__rate_interval])", "format": "time_series", @@ -14051,7 +14051,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "rate(node_netstat_Tcp_PassiveOpens{instance=\"$host\",job=\"$job\"}[$__rate_interval])", "format": "time_series", @@ -14102,7 +14102,7 @@ "collapsed": true, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "gridPos": { "h": 1, @@ -14119,7 +14119,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "description": "", "fill": 2, @@ -14163,7 +14163,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_scrape_collector_duration_seconds{instance=\"$host\",job=\"$job\"}", "format": "time_series", @@ -14213,7 +14213,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "description": "", "fill": 2, @@ -14262,7 +14262,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_scrape_collector_success{instance=\"$host\",job=\"$job\"}", "format": "time_series", @@ -14276,7 +14276,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "node_textfile_scrape_error{instance=\"$host\",job=\"$job\"}", "format": "time_series", @@ -14343,7 +14343,7 @@ }, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "definition": "label_values(node_uname_info{job=\"$job\"}, instance)", "hide": 0, @@ -14394,7 +14394,7 @@ }, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "definition": "", "hide": 2, diff --git a/templates/dashboards/opcache.json.j2 b/templates/dashboards/opcache.json.j2 index 72cd034..73ffd8c 100644 --- a/templates/dashboards/opcache.json.j2 +++ b/templates/dashboards/opcache.json.j2 @@ -31,7 +31,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -97,7 +97,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "exemplar": true, @@ -114,7 +114,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -192,7 +192,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "exemplar": true, @@ -209,7 +209,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -287,7 +287,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "exemplar": true, @@ -300,7 +300,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "exemplar": true, @@ -318,7 +318,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -384,7 +384,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "exemplar": true, @@ -401,7 +401,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -452,7 +452,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "exemplar": true, @@ -469,7 +469,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -518,7 +518,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "exemplar": true, @@ -535,7 +535,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -612,7 +612,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "exemplar": true, @@ -629,7 +629,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -706,7 +706,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "exemplar": true, @@ -739,7 +739,7 @@ }, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "definition": "label_values(opcache_exporter_build_info{job=\"opcache\"}, instance)", "hide": 0, diff --git a/templates/dashboards/opensearch.json.j2 b/templates/dashboards/opensearch.json.j2 index 6d2f3e1..f2a87ce 100644 --- a/templates/dashboards/opensearch.json.j2 +++ b/templates/dashboards/opensearch.json.j2 @@ -34,7 +34,7 @@ "collapsed": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "gridPos": { "h": 1, @@ -48,7 +48,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "refId": "A" } @@ -59,7 +59,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "description": "", "fieldConfig": { @@ -135,7 +135,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "exemplar": true, "expr": "sum(opensearch_cluster_status{cluster=~\"$cluster\"}) / count(opensearch_cluster_nodes_number{cluster=~\"$cluster\"})", @@ -152,7 +152,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "description": "", "fieldConfig": { @@ -202,7 +202,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "exemplar": true, "expr": "sum(opensearch_cluster_nodes_number{cluster=~\"$cluster\"}) / count(opensearch_cluster_nodes_number{cluster=~\"$cluster\"})", @@ -218,7 +218,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -267,7 +267,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "exemplar": true, "expr": "sum(opensearch_cluster_datanodes_number{cluster=~\"$cluster\"}) / count(opensearch_cluster_datanodes_number{cluster=~\"$cluster\"})", @@ -283,7 +283,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -336,7 +336,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "exemplar": true, "expr": "sum(opensearch_cluster_pending_tasks_number{cluster=~\"$cluster\"}) / count(opensearch_cluster_pending_tasks_number{cluster=~\"$cluster\"})", @@ -353,7 +353,7 @@ "collapsed": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "gridPos": { "h": 1, @@ -367,7 +367,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "refId": "A" } @@ -378,7 +378,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "description": "", "fieldConfig": { @@ -428,7 +428,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "exemplar": true, "expr": "sum(opensearch_cluster_shards_number{cluster=~\"$cluster\",type=\"active\"}) / count(opensearch_cluster_shards_number{cluster=~\"$cluster\",type=\"active\"})", @@ -444,7 +444,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -493,7 +493,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "exemplar": true, "expr": "sum(opensearch_cluster_shards_number{cluster=~\"$cluster\",type=\"active_primary\"}) / count(opensearch_cluster_shards_number{cluster=~\"$cluster\",type=\"active_primary\"})", @@ -509,7 +509,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "description": "", "fieldConfig": { @@ -563,7 +563,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "exemplar": true, "expr": "sum(opensearch_cluster_shards_number{cluster=~\"$cluster\",type=\"initializing\"}) / count(opensearch_cluster_shards_number{cluster=~\"$cluster\",type=\"initializing\"})", @@ -579,7 +579,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -632,7 +632,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "exemplar": true, "expr": "sum(opensearch_cluster_shards_number{cluster=~\"$cluster\",type=\"relocating\"}) / count(opensearch_cluster_shards_number{cluster=~\"$cluster\",type=\"relocating\"})", @@ -648,7 +648,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "description": "", "fieldConfig": { @@ -706,7 +706,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "exemplar": true, "expr": "sum(opensearch_cluster_shards_number{cluster=~\"$cluster\",type=\"unassigned\"}) / count(opensearch_cluster_shards_number{cluster=~\"$cluster\",type=\"unassigned\"})", @@ -723,7 +723,7 @@ "collapsed": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "gridPos": { "h": 1, @@ -737,7 +737,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "refId": "A" } @@ -1016,7 +1016,7 @@ "collapsed": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "gridPos": { "h": 1, @@ -1030,7 +1030,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "refId": "A" } @@ -1045,7 +1045,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fill": 1, "fillGradient": 0, @@ -1086,7 +1086,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "exemplar": true, "expr": "sum(opensearch_indices_merges_total_docs_count{cluster=~\"$cluster\"})", @@ -1526,7 +1526,7 @@ "collapsed": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "gridPos": { "h": 1, @@ -1540,7 +1540,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "refId": "A" } @@ -2525,7 +2525,7 @@ }, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "definition": "label_values(opensearch_cluster_status{}, cluster)", "hide": 0, @@ -2555,7 +2555,7 @@ }, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "definition": "label_values(node_uname_info{job=~\".*kubernetes.*|.*node_exporters.*\"}, job)", "hide": 0, @@ -2586,7 +2586,7 @@ }, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "definition": "label_values(node_uname_info{job=\"$job\"}, nodename)", "hide": 0, @@ -2617,7 +2617,7 @@ }, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "definition": "label_values(node_uname_info{job=\"$job\", nodename=\"$nodename\"}, instance)", "hide": 0, diff --git a/templates/dashboards/overview.json.j2 b/templates/dashboards/overview.json.j2 index 99d8929..ace7b19 100644 --- a/templates/dashboards/overview.json.j2 +++ b/templates/dashboards/overview.json.j2 @@ -32,7 +32,7 @@ "columns": [], "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "description": "\n\nCurrEstab: The number of TCP connections whose current status is ESTABLISHED or CLOSE-WAIT.", "fontSize": "80%", @@ -345,7 +345,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "node_uname_info{job=~\"$job\"} - 0", @@ -358,7 +358,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "sum(time() - node_boot_time_seconds{job=~\"$job\"})by(instance)", @@ -372,7 +372,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "node_memory_MemTotal_bytes{job=~\"$job\"} - 0", @@ -386,7 +386,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "count(node_cpu_seconds_total{job=~\"$job\",mode='system'}) by (instance)", @@ -400,7 +400,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "node_load5{job=~\"$job\"}", @@ -413,7 +413,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "(1 - avg(rate(node_cpu_seconds_total{job=~\"$job\",mode=\"idle\"}[$__rate_interval])) by (instance)) * 100", @@ -427,7 +427,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "(1 - (node_memory_MemAvailable_bytes{job=~\"$job\"} / (node_memory_MemTotal_bytes{job=~\"$job\"})))* 100", @@ -441,7 +441,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "max((node_filesystem_size_bytes{job=~\"$job\",fstype=~\"ext.?|xfs\"}-node_filesystem_free_bytes{job=~\"$job\",fstype=~\"ext.?|xfs\"}) *100/(node_filesystem_avail_bytes {job=~\"$job\",fstype=~\"ext.?|xfs\"}+(node_filesystem_size_bytes{job=~\"$job\",fstype=~\"ext.?|xfs\"}-node_filesystem_free_bytes{job=~\"$job\",fstype=~\"ext.?|xfs\"})))by(instance)", @@ -455,7 +455,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "max(rate(node_disk_read_bytes_total{job=~\"$job\"}[$__rate_interval])) by (instance)", @@ -469,7 +469,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "max(rate(node_disk_written_bytes_total{job=~\"$job\"}[$__rate_interval])) by (instance)", @@ -483,7 +483,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "node_netstat_Tcp_CurrEstab{job=~\"$job\"} - 0", @@ -497,7 +497,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "node_sockstat_TCP_tw{job=~\"$job\"} - 0", @@ -511,7 +511,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "max(rate(node_network_receive_bytes_total{job=~\"$job\"}[$__rate_interval])*8) by (instance)", @@ -525,7 +525,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "max(rate(node_network_transmit_bytes_total{job=~\"$job\"}[$__rate_interval])*8) by (instance)", @@ -560,7 +560,7 @@ }, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "definition": "label_values(node_uname_info, job)", "hide": 2, diff --git a/templates/dashboards/overview_cf.json.j2 b/templates/dashboards/overview_cf.json.j2 index 3a12835..f6df736 100644 --- a/templates/dashboards/overview_cf.json.j2 +++ b/templates/dashboards/overview_cf.json.j2 @@ -31,7 +31,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -116,7 +116,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "sum(rate(cloudflare_zone_requests_total{}[$__interval]))", @@ -129,7 +129,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "sum(rate(cloudflare_zone_requests_cached{}[$__interval]))", @@ -147,7 +147,7 @@ "columns": [], "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "description": "\n\nCurrEstab: The number of TCP connections whose current status is ESTABLISHED or CLOSE-WAIT.", "fontSize": "80%", @@ -460,7 +460,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "node_uname_info{job=~\"$job\"} - 0", @@ -473,7 +473,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "sum(time() - node_boot_time_seconds{job=~\"$job\"})by(instance)", @@ -487,7 +487,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "node_memory_MemTotal_bytes{job=~\"$job\"} - 0", @@ -501,7 +501,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "count(node_cpu_seconds_total{job=~\"$job\",mode='system'}) by (instance)", @@ -515,7 +515,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "node_load5{job=~\"$job\"}", @@ -528,7 +528,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "(1 - avg(rate(node_cpu_seconds_total{job=~\"$job\",mode=\"idle\"}[$__rate_interval])) by (instance)) * 100", @@ -542,7 +542,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "(1 - (node_memory_MemAvailable_bytes{job=~\"$job\"} / (node_memory_MemTotal_bytes{job=~\"$job\"})))* 100", @@ -556,7 +556,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "max((node_filesystem_size_bytes{job=~\"$job\",fstype=~\"ext.?|xfs\"}-node_filesystem_free_bytes{job=~\"$job\",fstype=~\"ext.?|xfs\"}) *100/(node_filesystem_avail_bytes {job=~\"$job\",fstype=~\"ext.?|xfs\"}+(node_filesystem_size_bytes{job=~\"$job\",fstype=~\"ext.?|xfs\"}-node_filesystem_free_bytes{job=~\"$job\",fstype=~\"ext.?|xfs\"})))by(instance)", @@ -570,7 +570,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "max(rate(node_disk_read_bytes_total{job=~\"$job\"}[$__rate_interval])) by (instance)", @@ -584,7 +584,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "max(rate(node_disk_written_bytes_total{job=~\"$job\"}[$__rate_interval])) by (instance)", @@ -598,7 +598,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "node_netstat_Tcp_CurrEstab{job=~\"$job\"} - 0", @@ -612,7 +612,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "node_sockstat_TCP_tw{job=~\"$job\"} - 0", @@ -626,7 +626,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "max(rate(node_network_receive_bytes_total{job=~\"$job\"}[$__rate_interval])*8) by (instance)", @@ -640,7 +640,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "max(rate(node_network_transmit_bytes_total{job=~\"$job\"}[$__rate_interval])*8) by (instance)", @@ -674,7 +674,7 @@ }, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "definition": "label_values(node_uname_info, job)", "hide": 2, diff --git a/templates/dashboards/phpfpm.json.j2 b/templates/dashboards/phpfpm.json.j2 index 1562a1a..971b616 100644 --- a/templates/dashboards/phpfpm.json.j2 +++ b/templates/dashboards/phpfpm.json.j2 @@ -33,7 +33,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -96,7 +96,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "min(php_fpm_up{instance=~\"^$host\", socket_path=~\"$pool\"})", "format": "time_series", @@ -114,7 +114,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -199,7 +199,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "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", @@ -214,7 +214,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "description": "Total number of accepted connections", "fieldConfig": { @@ -300,7 +300,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "sum by (socket_path) (rate(php_fpm_accepted_connections_total{instance=~\"^$host\", socket_path=~\"$pool\"} [$__rate_interval]))", "format": "time_series", @@ -317,7 +317,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "description": "Number of requests that exceed request_slowlog_timeout", "fieldConfig": { @@ -404,7 +404,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "sum by (socket_path) (rate(php_fpm_slow_requests{instance=~\"^$host\", socket_path=~\"$pool\"} [$__rate_interval]))", "format": "time_series", @@ -422,7 +422,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -509,7 +509,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "sum(php_fpm_active_processes{instance=~\"^$host\", socket_path=~\"$pool\"}) by (socket_path )", "format": "time_series", @@ -528,7 +528,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -615,7 +615,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "sum by (socket_path) (php_fpm_max_active_processes{instance=~\"^$host\", socket_path=~\"$pool\"})", "format": "time_series", @@ -633,7 +633,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -719,7 +719,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "sum by (socket_path) (php_fpm_max_children_reached{instance=~\"^$host\", socket_path=~\"$pool\"})", "format": "time_series", @@ -737,7 +737,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -823,7 +823,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "sum by (socket_path) (php_fpm_idle_processes{instance=~\"^$host\", socket_path=~\"$pool\"})", "format": "time_series", @@ -857,7 +857,7 @@ }, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "definition": "", "hide": 0, @@ -887,7 +887,7 @@ }, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "definition": "label_values(php_fpm_accepted_connections_total{instance=~\"$host\"}, socket_path)", "hide": 0, diff --git a/templates/dashboards/plateform-overview-cf.json.j2 b/templates/dashboards/plateform-overview-cf.json.j2 index 9169b62..7c45023 100644 --- a/templates/dashboards/plateform-overview-cf.json.j2 +++ b/templates/dashboards/plateform-overview-cf.json.j2 @@ -31,7 +31,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -82,7 +82,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "exemplar": false, @@ -99,7 +99,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -156,7 +156,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "exemplar": false, @@ -174,7 +174,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -231,7 +231,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "exemplar": false, @@ -248,7 +248,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -316,7 +316,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "exemplar": false, @@ -333,7 +333,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -383,7 +383,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "exemplar": false, @@ -400,7 +400,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -450,7 +450,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "exemplar": false, @@ -467,7 +467,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -517,7 +517,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "exemplar": false, @@ -534,7 +534,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -584,7 +584,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "exemplar": false, @@ -614,7 +614,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -720,7 +720,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "avg(100 - (avg(rate(node_cpu_seconds_total{instance=~\"$host\",mode=\"idle\"}[$__rate_interval])) * 100))", @@ -731,7 +731,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "avg(node_load5{instance=~\"$host\",job=\"$job\"})", @@ -743,7 +743,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "avg(100 - ((node_memory_MemAvailable_bytes{instance=~\"$host\",job=\"$job\"} * 100) / node_memory_MemTotal_bytes{instance=~\"$host\",job=\"$job\"}))", @@ -760,7 +760,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -862,7 +862,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "sum(increase(node_network_receive_bytes_total{instance=~\"$host\",device=~\"$nic\"}[60m]))", @@ -874,7 +874,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "sum(increase(node_network_transmit_bytes_total{instance=~\"$host\",device=~\"$nic\"}[60m]))", @@ -892,7 +892,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "description": "", "fieldConfig": { @@ -1332,7 +1332,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "sum(rate(node_network_receive_bytes_total{instance=~\"$host\",job=\"$job\"}[$__rate_interval])*8)", @@ -1346,7 +1346,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "sum(rate(node_network_transmit_bytes_total{instance=~\"$host\",job=\"$job\"}[$__rate_interval])*8)", @@ -1365,7 +1365,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -1447,7 +1447,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "avg(100 - ((node_filesystem_avail_bytes{instance=~\"$host\",mountpoint=~\"$mountpoints\"} * 100) / node_filesystem_size_bytes{instance=~\"$host\",mountpoint=~\"$mountpoints\"})) by (mountpoint)", @@ -1476,7 +1476,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -1557,7 +1557,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "sum(rate(haproxy_frontend_http_responses_total{instance=~\"$production\"}[$__rate_interval])) by (code)", @@ -1573,7 +1573,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -1653,7 +1653,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "max(max_over_time(mysql_global_status_threads_connected{instance=~\"$production\"}[$__rate_interval]) or mysql_global_status_threads_connected{instance=~\"$production\"})", @@ -1670,7 +1670,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -1755,7 +1755,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "sum(rate(cloudflare_zone_requests_total{}[$__interval]))", @@ -1768,7 +1768,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "sum(rate(cloudflare_zone_requests_cached{}[$__interval]))", @@ -1786,7 +1786,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -1866,7 +1866,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "avg(rate(mysql_global_status_queries{instance=~\"$production\"}[$__rate_interval]) or irate(mysql_global_status_queries{instance=~\"$production\"}[5m]))", @@ -1897,7 +1897,7 @@ }, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "definition": "label_values(node_uname_info, job)", "hide": 2, @@ -1932,7 +1932,7 @@ }, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "definition": "label_values(node_uname_info{job=\"$job\"}, instance)", "hide": 0, @@ -1969,7 +1969,7 @@ }, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "definition": "label_values(node_filesystem_avail_bytes{instance=~\"$host\",fstype!=\"nfs\"}, mountpoint)", "hide": 0, @@ -1996,7 +1996,7 @@ }, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "definition": "label_values(node_network_up{instance=~\"$host\",job=\"$job\"}, device)", "hide": 2, @@ -2023,7 +2023,7 @@ }, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "definition": "label_values(node_uname_info{job=\"$job\"}, instance)", "hide": 0, diff --git a/templates/dashboards/plateform-overview.json.j2 b/templates/dashboards/plateform-overview.json.j2 index d5188a6..b0043d9 100644 --- a/templates/dashboards/plateform-overview.json.j2 +++ b/templates/dashboards/plateform-overview.json.j2 @@ -31,7 +31,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -82,7 +82,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "exemplar": false, @@ -99,7 +99,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -156,7 +156,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "exemplar": false, @@ -174,7 +174,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -231,7 +231,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "exemplar": false, @@ -248,7 +248,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -316,7 +316,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "exemplar": false, @@ -333,7 +333,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -383,7 +383,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "exemplar": false, @@ -400,7 +400,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -450,7 +450,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "exemplar": false, @@ -467,7 +467,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -517,7 +517,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "exemplar": false, @@ -534,7 +534,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -584,7 +584,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "exemplar": false, @@ -614,7 +614,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -721,7 +721,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "avg(100 - (avg(rate(node_cpu_seconds_total{instance=~\"$host\",mode=\"idle\"}[$__rate_interval])) * 100))", @@ -732,7 +732,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "avg(node_load5{instance=~\"$host\",job=\"$job\"})", @@ -744,7 +744,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "avg(100 - ((node_memory_MemAvailable_bytes{instance=~\"$host\",job=\"$job\"} * 100) / node_memory_MemTotal_bytes{instance=~\"$host\",job=\"$job\"}))", @@ -761,7 +761,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -864,7 +864,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "sum(increase(node_network_receive_bytes_total{instance=~\"$host\",device=~\"$nic\"}[60m]))", @@ -876,7 +876,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "sum(increase(node_network_transmit_bytes_total{instance=~\"$host\",device=~\"$nic\"}[60m]))", @@ -894,7 +894,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "description": "", "fieldConfig": { @@ -1335,7 +1335,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "sum(rate(node_network_receive_bytes_total{instance=~\"$host\",job=\"$job\"}[$__rate_interval])*8)", @@ -1349,7 +1349,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "sum(rate(node_network_transmit_bytes_total{instance=~\"$host\",job=\"$job\"}[$__rate_interval])*8)", @@ -1368,7 +1368,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -1451,7 +1451,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "avg(100 - ((node_filesystem_avail_bytes{instance=~\"$host\",mountpoint=~\"$mountpoints\"} * 100) / node_filesystem_size_bytes{instance=~\"$host\",mountpoint=~\"$mountpoints\"})) by (mountpoint)", @@ -1480,7 +1480,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -1558,7 +1558,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "sum(rate(haproxy_frontend_http_responses_total{instance=~\"$production\"}[$__rate_interval])) by (code)", @@ -1574,7 +1574,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -1655,7 +1655,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "max(max_over_time(mysql_global_status_threads_connected{instance=~\"$production\"}[$__rate_interval]) or mysql_global_status_threads_connected{instance=~\"$production\"})", @@ -1672,7 +1672,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -1755,7 +1755,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "sum by (socket_path) (rate(php_fpm_slow_requests{instance=~\"$production\"} [$__rate_interval]))", @@ -1773,7 +1773,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -1854,7 +1854,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "avg(rate(mysql_global_status_queries{instance=~\"$production\"}[$__rate_interval]) or irate(mysql_global_status_queries{instance=~\"$production\"}[5m]))", @@ -1885,7 +1885,7 @@ }, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "definition": "label_values(node_uname_info, job)", "hide": 2, @@ -1918,7 +1918,7 @@ }, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "definition": "label_values(node_uname_info{job=\"$job\"}, instance)", "hide": 0, @@ -1951,7 +1951,7 @@ }, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "definition": "label_values(node_filesystem_avail_bytes{instance=~\"$host\",fstype!=\"nfs\"}, mountpoint)", "hide": 0, @@ -1978,7 +1978,7 @@ }, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "definition": "label_values(node_network_up{instance=~\"$host\",job=\"$job\"}, device)", "hide": 2, @@ -2005,7 +2005,7 @@ }, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "definition": "label_values(node_uname_info{job=\"$job\"}, instance)", "hide": 0, diff --git a/templates/dashboards/postgresql.json.j2 b/templates/dashboards/postgresql.json.j2 index e2aac2c..d7f192e 100644 --- a/templates/dashboards/postgresql.json.j2 +++ b/templates/dashboards/postgresql.json.j2 @@ -31,7 +31,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -73,7 +73,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "sum by (short_version) (pg_static{instance=~\"$host\"})", @@ -88,7 +88,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -132,7 +132,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "builder", "expr": "sum(pg_settings_shared_buffers_bytes{instance=~\"$host\"})", @@ -147,7 +147,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -202,7 +202,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "sum(pg_settings_effective_cache_size_bytes{instance=~\"$host\"})", @@ -217,7 +217,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -261,7 +261,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "sum(pg_settings_maintenance_work_mem_bytes{instance=~\"$host\"})", @@ -276,7 +276,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -320,7 +320,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "sum(pg_settings_max_wal_size_bytes{instance=~\"$host\"})", @@ -335,7 +335,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -379,7 +379,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "sum(pg_settings_max_worker_processes{instance=~\"$host\"})", @@ -394,7 +394,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -438,7 +438,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "sum(pg_settings_max_parallel_workers{instance=~\"$host\"})", @@ -453,7 +453,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -497,7 +497,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "sum(pg_settings_max_connections{instance=~\"$host\"})", @@ -512,7 +512,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -590,7 +590,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "builder", "expr": "sum by(instance) (rate(pg_stat_database_xact_commit{instance=~\"$host\"}[$__rate_interval]))", @@ -601,7 +601,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "builder", "expr": "sum by(instance) (rate(pg_stat_database_xact_commit{instance=~\"$host\"}[$__rate_interval]))", @@ -617,7 +617,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -695,7 +695,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "builder", "expr": "sum by(instance) (rate(pg_locks_count{instance=~\"$host\"}[$__rate_interval]))", @@ -710,7 +710,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -788,7 +788,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "builder", "expr": "sum by(instance) (rate(pg_stat_activity_count{instance=~\"$host\", state=\"active\"}[$__rate_interval]))", @@ -803,7 +803,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -881,7 +881,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "builder", "expr": "sum by(instance) (rate(pg_stat_activity_count{instance=~\"$host\", state=~\"idle|idle in transaction|idle in transaction (aborted)\"}[$__rate_interval]))", @@ -896,7 +896,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -978,7 +978,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "builder", "expr": "sum by(instance) (rate(pg_stat_database_tup_fetched{instance=~\"$host\"}[$__rate_interval]))", @@ -993,7 +993,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -1075,7 +1075,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "builder", "expr": "sum by(instance) (rate(pg_stat_database_tup_returned{instance=~\"$host\"}[$__rate_interval]))", @@ -1103,7 +1103,7 @@ }, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "definition": "label_values(pg_up, instance)", "hide": 0, diff --git a/templates/dashboards/proxmox.json.j2 b/templates/dashboards/proxmox.json.j2 index 3feed97..5957ca5 100644 --- a/templates/dashboards/proxmox.json.j2 +++ b/templates/dashboards/proxmox.json.j2 @@ -37,7 +37,7 @@ "columns": [], "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fontSize": "100%", "gridPos": { @@ -256,7 +256,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "sum by (id, name, type) (pve_guest_info{instance=\"$instance\",template!=\"1\"})", "format": "table", @@ -268,7 +268,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "sum by (id) (pve_up{instance=\"$instance\",template!=\"1\"} and on (id, instance) pve_guest_info)", "format": "table", @@ -281,7 +281,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "sum by (id) (pve_cpu_usage_limit{instance=\"$instance\",template!=\"1\"} and on (id, instance) pve_guest_info)", "format": "table", @@ -294,7 +294,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "sum by (id) (pve_memory_size_bytes{instance=\"$instance\",template!=\"1\"} and on (id, instance) pve_guest_info)", "format": "table", @@ -307,7 +307,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "sum by (id) (pve_memory_usage_bytes{instance=\"$instance\",template!=\"1\"} / pve_memory_size_bytes and on (id, instance) pve_guest_info)", "format": "table", @@ -320,7 +320,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "sum by (id) (pve_disk_size_bytes{instance=\"$instance\",template!=\"1\"} and on (id, instance) pve_guest_info)", "format": "table", @@ -333,7 +333,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "sum by (id) (pve_disk_usage_bytes{instance=\"$instance\",template!=\"1\"} / pve_disk_size_bytes and on (id, instance) pve_guest_info)", "format": "table", @@ -351,7 +351,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -420,7 +420,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "pve_cpu_usage_ratio{instance=\"$instance\",id=\"node/$node\"} / pve_cpu_usage_limit and on(id) pve_node_info", @@ -437,7 +437,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -505,7 +505,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "pve_memory_usage_bytes{instance=\"$instance\",id=\"node/$node\"} / pve_memory_size_bytes and on(id) pve_node_info", @@ -522,7 +522,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -608,7 +608,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "((pve_cpu_usage_ratio{instance=\"$instance\"} / pve_cpu_usage_limit) * on(id, instance) group_left(name, type) pve_guest_info) and on(id, instance) pve_up == 1", "format": "time_series", @@ -624,7 +624,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -711,7 +711,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "(pve_memory_usage_bytes{instance=\"$instance\"} / pve_memory_size_bytes * on(id, instance) group_left(name, type) pve_guest_info) and on(id, instance) pve_up == 1", "format": "time_series", @@ -727,7 +727,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -795,7 +795,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "pve_disk_usage_bytes{instance=\"$instance\", id=~\"storage/.+\",id!~\".+/local\"} / pve_disk_size_bytes * on (id, instance) group_left(storage) pve_storage_info", @@ -813,7 +813,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "description": "", "fieldConfig": { @@ -894,7 +894,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "pve_disk_size_bytes{instance=\"$instance\", id=~\"storage/.+\",id!~\".+/local\"} * on (id, instance) group_left(storage) pve_storage_info", @@ -911,7 +911,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -1001,7 +1001,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "pve_disk_usage_bytes{instance=\"$instance\"} / pve_disk_size_bytes{instance=\"$instance\"} * on (id, instance) group_left(name, type) pve_guest_info", "format": "time_series", @@ -1017,7 +1017,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "description": "", "fieldConfig": { @@ -1118,7 +1118,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "(rate(pve_network_receive_bytes{instance=\"$instance\"}[5m]) * on(id, instance) group_left(name, type) pve_guest_info) and on(id, instance) pve_up == 1", "format": "time_series", @@ -1130,7 +1130,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "(rate(pve_network_transmit_bytes{instance=\"$instance\"}[5m])* on(id, instance) group_left(name, type) pve_guest_info) and on(id, instance) pve_up == 1", "format": "time_series", @@ -1146,7 +1146,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "description": "", "fieldConfig": { @@ -1233,7 +1233,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "expr": "((rate(pve_disk_write_bytes{instance=\"$instance\"}[5m]) + rate(pve_disk_read_bytes[5m])) * on(id, instance) group_left(name, type) pve_guest_info) and on(id, instance) pve_up == 1", "format": "time_series", @@ -1265,7 +1265,7 @@ }, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "definition": "label_values(pve_node_info, instance)", "hide": 2, @@ -1294,7 +1294,7 @@ }, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "definition": "label_values(pve_node_info{instance=\"$instance\"},name)", "hide": 0, diff --git a/templates/dashboards/redis.json.j2 b/templates/dashboards/redis.json.j2 index 1d319f3..450460f 100644 --- a/templates/dashboards/redis.json.j2 +++ b/templates/dashboards/redis.json.j2 @@ -33,7 +33,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -98,7 +98,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "max(max_over_time(redis_uptime_in_seconds{instance=~\"$host\"}[$__interval]))", @@ -118,7 +118,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -184,7 +184,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "sum(redis_connected_clients{instance=~\"$host\"})", @@ -204,7 +204,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -273,7 +273,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "avg(100 * (redis_memory_used_bytes{instance=~\"$host\"} / redis_memory_max_bytes{instance=~\"$host\"} ))", @@ -293,7 +293,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -374,7 +374,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "sum(rate(redis_commands_processed_total{instance=~\"$host\"}[1m]))", @@ -395,7 +395,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -477,7 +477,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "sum(irate(redis_keyspace_hits_total{instance=~\"$host\"}[5m]))", @@ -495,7 +495,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "sum(irate(redis_keyspace_misses_total{instance=~\"$host\"}[5m]))", @@ -517,7 +517,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -615,7 +615,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "sum(redis_memory_used_bytes{instance=~\"$host\"} )", @@ -631,7 +631,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "sum(redis_memory_max_bytes{instance=~\"$host\"})", @@ -650,7 +650,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -731,7 +731,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "sum(rate(redis_net_input_bytes_total{instance=~\"$host\"}[5m]))", @@ -745,7 +745,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "sum(rate(redis_net_output_bytes_total{instance=~\"$host\"}[5m]))", @@ -764,7 +764,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -847,7 +847,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "sum(redis_db_keys{instance=~\"$host\"}) by (db)", @@ -867,7 +867,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -948,7 +948,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "sum (redis_db_keys{instance=~\"$host\"}) - sum (redis_db_keys_expiring{instance=~\"$host\"}) ", @@ -964,7 +964,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "sum (redis_db_keys_expiring{instance=~\"$host\"}) ", @@ -984,7 +984,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -1111,7 +1111,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "sum(rate(redis_expired_keys_total{instance=~\"$host\"}[5m]))", @@ -1129,7 +1129,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "sum(rate(redis_evicted_keys_total{instance=~\"$host\"}[5m]))", @@ -1148,7 +1148,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -1229,7 +1229,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "sum by(cmd) (topk(5, irate(redis_commands_total{instance=~\"$host\"}[1m])))", @@ -1249,7 +1249,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -1330,7 +1330,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "sum(redis_connected_clients{instance=~\"$host\"})", @@ -1362,7 +1362,7 @@ }, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "definition": "label_values(redis_up, instance)", "hide": 0, diff --git a/templates/dashboards/varnish.json.j2 b/templates/dashboards/varnish.json.j2 index 423c15d..3983887 100644 --- a/templates/dashboards/varnish.json.j2 +++ b/templates/dashboards/varnish.json.j2 @@ -34,7 +34,7 @@ "collapsed": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "gridPos": { "h": 1, @@ -50,7 +50,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "refId": "A" } @@ -61,7 +61,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -125,7 +125,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "sum(irate(varnish_main_client_req{instance=~\"^($host).*\"}[5m]))", @@ -145,7 +145,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -209,7 +209,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "sum(irate(varnish_main_backend_req{instance=~\"^$host.*\"}[5m]))", @@ -229,7 +229,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -292,7 +292,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "sum(varnish_main_vmods{instance=~\"^($host).*\"})", @@ -311,7 +311,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -374,7 +374,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "min(varnish_main_uptime{instance=~\"$host\"})", @@ -392,7 +392,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "description": "", "fieldConfig": { @@ -461,7 +461,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "avg(( rate(varnish_main_cache_hit{instance=~\"^($host).*\"}[5m]) / rate(varnish_main_client_req{instance=~\"^($host).*\"}[5m]) ))", @@ -483,7 +483,7 @@ "collapsed": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "gridPos": { "h": 1, @@ -497,7 +497,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "refId": "A" } @@ -508,7 +508,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -645,7 +645,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "sum(irate(varnish_main_client_req{instance=~\"^($host).*\"}[5m]))", @@ -661,7 +661,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "sum(irate(varnish_main_backend_req{instance=~\"^($host).*\"}[5m]))", @@ -676,7 +676,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "sum(varnish_main_fetch_total{instance=~\"^($host).*\"})", @@ -690,7 +690,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "sum(irate(varnish_main_fetch_total{instance=~\"^($host).*\"}[5m]))", @@ -708,7 +708,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -840,7 +840,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "avg(rate(varnish_main_cache_hit{instance=~\"^($host).*\"}[5m]) / rate(varnish_main_client_req{instance=~\"^($host).*\"}[5m]))", @@ -856,7 +856,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "avg(1 - (rate(varnish_main_cache_hit{instance=~\"^($host).*\"}[5m]) / rate(varnish_main_client_req{instance=~\"^($host).*\"}[5m])))", @@ -872,7 +872,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "avg(1 - (rate(varnish_main_cache_hitpass{instance=~\"^($host).*\"}[5m]) / rate(varnish_main_client_req{instance=~\"^($host).*\"}[5m])))", @@ -893,7 +893,7 @@ "collapsed": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "gridPos": { "h": 1, @@ -907,7 +907,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "refId": "A" } @@ -918,7 +918,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -1006,7 +1006,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "sum(irate(varnish_main_s_resp_hdrbytes{instance=~\"^($host).*\"}[5m]) + irate(varnish_main_s_resp_bodybytes{instance=~\"^($host).*\"}[5m]))", @@ -1022,7 +1022,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "sum(irate(varnish_backend_beresp_hdrbytes{instance=~\"^($host).*\"}[5m]) + irate(varnish_backend_beresp_bodybytes{instance=~\"^($host).*\"}[5m]))", @@ -1043,7 +1043,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -1121,7 +1121,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "sum(varnish_sma_g_bytes{instance=~\"$host\"})", @@ -1137,7 +1137,7 @@ "collapsed": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "gridPos": { "h": 1, @@ -1151,7 +1151,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "refId": "A" } @@ -1162,7 +1162,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -1249,7 +1249,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "sum(rate(varnish_main_backend_conn{instance=~\"^($host).*\"}[1m]))", @@ -1262,7 +1262,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "sum(rate(varnish_main_backend_recycle{instance=~\"^($host).*\"}[1m]))", @@ -1275,7 +1275,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "sum(rate(varnish_main_backend_reuse{instance=~\"^($host).*\"}[1m]))", @@ -1288,7 +1288,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "sum(rate(varnish_main_backend_fail{instance=~\"^($host).*\"}[1m]))", @@ -1301,7 +1301,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "sum(rate(varnish_main_backend_unhealthy{instance=~\"^($host).*\"}[1m]))", @@ -1314,7 +1314,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "sum(rate(varnish_main_backend_busy{instance=~\"^($host).*\"}[1m]))", @@ -1327,7 +1327,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "sum(rate(varnish_main_backend_req{instance=~\"^($host).*\"}[1m]))", @@ -1340,7 +1340,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "sum(rate(varnish_main_backend_retry{instance=~\"^($host).*\"}[1m]))", @@ -1353,7 +1353,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "sum(rate(varnish_backend_conn{instance=~\"^($host).*\"}[1m]))", @@ -1370,7 +1370,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -1456,7 +1456,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "sum by(type) (rate(varnish_main_sessions{instance=~\"^($host).*\"}[1m]))", @@ -1473,7 +1473,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "fieldConfig": { "defaults": { @@ -1557,7 +1557,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "sum(varnish_main_threads_created{instance=~\"^($host).*\"})", @@ -1571,7 +1571,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "sum(varnish_main_threads_destroyed{instance=~\"^($host).*\"})", @@ -1584,7 +1584,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "sum(varnish_main_threads_failed{instance=~\"^($host).*\"})", @@ -1597,7 +1597,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "sum(varnish_main_threads_limited{instance=~\"^($host).*\"})", @@ -1610,7 +1610,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "sum(varnish_main_threads{instance=~\"^($host).*\"})", @@ -1623,7 +1623,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "sum(varnish_main_thread_queue_len{instance=~\"^($host).*\"})", @@ -1636,7 +1636,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "editorMode": "code", "expr": "sum(varnish_main_pools{instance=~\"^($host).*\"})", @@ -1668,7 +1668,7 @@ }, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "{{ grafana_datasource_uid }}" }, "definition": "label_values(varnish_up, instance)", "hide": 0,