Revert "change prometheus datasource variable"

This reverts commit a6c5dab19bc587e064266f3b8fa6635bf56f9983.
This commit is contained in:
tom.chivert 2023-07-24 15:03:08 +02:00
parent 0e68a71c82
commit 1a2bd471aa
15 changed files with 791 additions and 791 deletions

View File

@ -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,

View File

@ -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,

View File

@ -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"
}

File diff suppressed because it is too large Load Diff

View File

@ -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,

View File

@ -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,

View File

@ -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,

View File

@ -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,

View File

@ -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,

View File

@ -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,

View File

@ -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,

View File

@ -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,

View File

@ -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,

View File

@ -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,

View File

@ -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,