Merge "Updating reference from github to gerrit - Changing Maintainer to dev@mirantis.com"
diff --git a/grafana/files/dashboards/keepalived/keepalived_prometheus.json b/grafana/files/dashboards/keepalived/keepalived_prometheus.json
index 86a1ab0..06af161 100644
--- a/grafana/files/dashboards/keepalived/keepalived_prometheus.json
+++ b/grafana/files/dashboards/keepalived/keepalived_prometheus.json
@@ -17,24 +17,10 @@
"gnetId": null,
"graphTooltip": 0,
"id": null,
- "iteration": 1542818026918,
+ "iteration": 1544794928669,
"links": [],
"panels": [
{
- "collapsed": false,
- "gridPos": {
- "h": 1,
- "w": 24,
- "x": 0,
- "y": 0
- },
- "id": 9,
- "panels": [],
- "repeat": null,
- "title": "Status",
- "type": "row"
- },
- {
"cacheTimeout": null,
"colorBackground": true,
"colorValue": false,
@@ -56,7 +42,7 @@
"h": 3,
"w": 4,
"x": 0,
- "y": 1
+ "y": 0
},
"id": 4,
"interval": null,
@@ -89,2588 +75,6 @@
],
"repeat": "host",
"repeatDirection": "h",
- "scopedVars": {
- "host": {
- "selected": false,
- "text": "ctl01",
- "value": "ctl01"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "procstat_running{environment=\"$environment\",process_name=\"keepalived\",host=~\"$host\"} and on(host) keepalived_up{environment=\"$environment\",host=~\"$host\"}",
- "format": "time_series",
- "intervalFactor": 2,
- "refId": "A",
- "step": 4
- }
- ],
- "thresholds": "0,1",
- "title": "Keepalived@${host}",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- },
- {
- "op": "=",
- "text": "UP",
- "value": "1"
- },
- {
- "op": "=",
- "text": "DOWN",
- "value": "0"
- }
- ],
- "valueName": "avg"
- },
- {
- "cacheTimeout": null,
- "colorBackground": true,
- "colorValue": false,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "#299c46"
- ],
- "datasource": null,
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 3,
- "w": 4,
- "x": 4,
- "y": 1
- },
- "id": 114,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "minSpan": 4,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeat": null,
- "repeatDirection": "h",
- "repeatIteration": 1542818026918,
- "repeatPanelId": 4,
- "scopedVars": {
- "host": {
- "selected": false,
- "text": "ctl02",
- "value": "ctl02"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "procstat_running{environment=\"$environment\",process_name=\"keepalived\",host=~\"$host\"} and on(host) keepalived_up{environment=\"$environment\",host=~\"$host\"}",
- "format": "time_series",
- "intervalFactor": 2,
- "refId": "A",
- "step": 4
- }
- ],
- "thresholds": "0,1",
- "title": "Keepalived@${host}",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- },
- {
- "op": "=",
- "text": "UP",
- "value": "1"
- },
- {
- "op": "=",
- "text": "DOWN",
- "value": "0"
- }
- ],
- "valueName": "avg"
- },
- {
- "cacheTimeout": null,
- "colorBackground": true,
- "colorValue": false,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "#299c46"
- ],
- "datasource": null,
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 3,
- "w": 4,
- "x": 8,
- "y": 1
- },
- "id": 115,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "minSpan": 4,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeat": null,
- "repeatDirection": "h",
- "repeatIteration": 1542818026918,
- "repeatPanelId": 4,
- "scopedVars": {
- "host": {
- "selected": false,
- "text": "ctl03",
- "value": "ctl03"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "procstat_running{environment=\"$environment\",process_name=\"keepalived\",host=~\"$host\"} and on(host) keepalived_up{environment=\"$environment\",host=~\"$host\"}",
- "format": "time_series",
- "intervalFactor": 2,
- "refId": "A",
- "step": 4
- }
- ],
- "thresholds": "0,1",
- "title": "Keepalived@${host}",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- },
- {
- "op": "=",
- "text": "UP",
- "value": "1"
- },
- {
- "op": "=",
- "text": "DOWN",
- "value": "0"
- }
- ],
- "valueName": "avg"
- },
- {
- "cacheTimeout": null,
- "colorBackground": true,
- "colorValue": false,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "#299c46"
- ],
- "datasource": null,
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 3,
- "w": 4,
- "x": 12,
- "y": 1
- },
- "id": 116,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "minSpan": 4,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeat": null,
- "repeatDirection": "h",
- "repeatIteration": 1542818026918,
- "repeatPanelId": 4,
- "scopedVars": {
- "host": {
- "selected": false,
- "text": "dbs01",
- "value": "dbs01"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "procstat_running{environment=\"$environment\",process_name=\"keepalived\",host=~\"$host\"} and on(host) keepalived_up{environment=\"$environment\",host=~\"$host\"}",
- "format": "time_series",
- "intervalFactor": 2,
- "refId": "A",
- "step": 4
- }
- ],
- "thresholds": "0,1",
- "title": "Keepalived@${host}",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- },
- {
- "op": "=",
- "text": "UP",
- "value": "1"
- },
- {
- "op": "=",
- "text": "DOWN",
- "value": "0"
- }
- ],
- "valueName": "avg"
- },
- {
- "cacheTimeout": null,
- "colorBackground": true,
- "colorValue": false,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "#299c46"
- ],
- "datasource": null,
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 3,
- "w": 4,
- "x": 16,
- "y": 1
- },
- "id": 117,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "minSpan": 4,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeat": null,
- "repeatDirection": "h",
- "repeatIteration": 1542818026918,
- "repeatPanelId": 4,
- "scopedVars": {
- "host": {
- "selected": false,
- "text": "dbs02",
- "value": "dbs02"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "procstat_running{environment=\"$environment\",process_name=\"keepalived\",host=~\"$host\"} and on(host) keepalived_up{environment=\"$environment\",host=~\"$host\"}",
- "format": "time_series",
- "intervalFactor": 2,
- "refId": "A",
- "step": 4
- }
- ],
- "thresholds": "0,1",
- "title": "Keepalived@${host}",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- },
- {
- "op": "=",
- "text": "UP",
- "value": "1"
- },
- {
- "op": "=",
- "text": "DOWN",
- "value": "0"
- }
- ],
- "valueName": "avg"
- },
- {
- "cacheTimeout": null,
- "colorBackground": true,
- "colorValue": false,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "#299c46"
- ],
- "datasource": null,
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 3,
- "w": 4,
- "x": 20,
- "y": 1
- },
- "id": 118,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "minSpan": 4,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeat": null,
- "repeatDirection": "h",
- "repeatIteration": 1542818026918,
- "repeatPanelId": 4,
- "scopedVars": {
- "host": {
- "selected": false,
- "text": "dbs03",
- "value": "dbs03"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "procstat_running{environment=\"$environment\",process_name=\"keepalived\",host=~\"$host\"} and on(host) keepalived_up{environment=\"$environment\",host=~\"$host\"}",
- "format": "time_series",
- "intervalFactor": 2,
- "refId": "A",
- "step": 4
- }
- ],
- "thresholds": "0,1",
- "title": "Keepalived@${host}",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- },
- {
- "op": "=",
- "text": "UP",
- "value": "1"
- },
- {
- "op": "=",
- "text": "DOWN",
- "value": "0"
- }
- ],
- "valueName": "avg"
- },
- {
- "cacheTimeout": null,
- "colorBackground": true,
- "colorValue": false,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "#299c46"
- ],
- "datasource": null,
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 3,
- "w": 4,
- "x": 0,
- "y": 4
- },
- "id": 119,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "minSpan": 4,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeat": null,
- "repeatDirection": "h",
- "repeatIteration": 1542818026918,
- "repeatPanelId": 4,
- "scopedVars": {
- "host": {
- "selected": false,
- "text": "kvm01",
- "value": "kvm01"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "procstat_running{environment=\"$environment\",process_name=\"keepalived\",host=~\"$host\"} and on(host) keepalived_up{environment=\"$environment\",host=~\"$host\"}",
- "format": "time_series",
- "intervalFactor": 2,
- "refId": "A",
- "step": 4
- }
- ],
- "thresholds": "0,1",
- "title": "Keepalived@${host}",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- },
- {
- "op": "=",
- "text": "UP",
- "value": "1"
- },
- {
- "op": "=",
- "text": "DOWN",
- "value": "0"
- }
- ],
- "valueName": "avg"
- },
- {
- "cacheTimeout": null,
- "colorBackground": true,
- "colorValue": false,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "#299c46"
- ],
- "datasource": null,
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 3,
- "w": 4,
- "x": 4,
- "y": 4
- },
- "id": 120,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "minSpan": 4,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeat": null,
- "repeatDirection": "h",
- "repeatIteration": 1542818026918,
- "repeatPanelId": 4,
- "scopedVars": {
- "host": {
- "selected": false,
- "text": "kvm02",
- "value": "kvm02"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "procstat_running{environment=\"$environment\",process_name=\"keepalived\",host=~\"$host\"} and on(host) keepalived_up{environment=\"$environment\",host=~\"$host\"}",
- "format": "time_series",
- "intervalFactor": 2,
- "refId": "A",
- "step": 4
- }
- ],
- "thresholds": "0,1",
- "title": "Keepalived@${host}",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- },
- {
- "op": "=",
- "text": "UP",
- "value": "1"
- },
- {
- "op": "=",
- "text": "DOWN",
- "value": "0"
- }
- ],
- "valueName": "avg"
- },
- {
- "cacheTimeout": null,
- "colorBackground": true,
- "colorValue": false,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "#299c46"
- ],
- "datasource": null,
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 3,
- "w": 4,
- "x": 8,
- "y": 4
- },
- "id": 121,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "minSpan": 4,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeat": null,
- "repeatDirection": "h",
- "repeatIteration": 1542818026918,
- "repeatPanelId": 4,
- "scopedVars": {
- "host": {
- "selected": false,
- "text": "kvm03",
- "value": "kvm03"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "procstat_running{environment=\"$environment\",process_name=\"keepalived\",host=~\"$host\"} and on(host) keepalived_up{environment=\"$environment\",host=~\"$host\"}",
- "format": "time_series",
- "intervalFactor": 2,
- "refId": "A",
- "step": 4
- }
- ],
- "thresholds": "0,1",
- "title": "Keepalived@${host}",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- },
- {
- "op": "=",
- "text": "UP",
- "value": "1"
- },
- {
- "op": "=",
- "text": "DOWN",
- "value": "0"
- }
- ],
- "valueName": "avg"
- },
- {
- "cacheTimeout": null,
- "colorBackground": true,
- "colorValue": false,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "#299c46"
- ],
- "datasource": null,
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 3,
- "w": 4,
- "x": 12,
- "y": 4
- },
- "id": 122,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "minSpan": 4,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeat": null,
- "repeatDirection": "h",
- "repeatIteration": 1542818026918,
- "repeatPanelId": 4,
- "scopedVars": {
- "host": {
- "selected": false,
- "text": "log01",
- "value": "log01"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "procstat_running{environment=\"$environment\",process_name=\"keepalived\",host=~\"$host\"} and on(host) keepalived_up{environment=\"$environment\",host=~\"$host\"}",
- "format": "time_series",
- "intervalFactor": 2,
- "refId": "A",
- "step": 4
- }
- ],
- "thresholds": "0,1",
- "title": "Keepalived@${host}",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- },
- {
- "op": "=",
- "text": "UP",
- "value": "1"
- },
- {
- "op": "=",
- "text": "DOWN",
- "value": "0"
- }
- ],
- "valueName": "avg"
- },
- {
- "cacheTimeout": null,
- "colorBackground": true,
- "colorValue": false,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "#299c46"
- ],
- "datasource": null,
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 3,
- "w": 4,
- "x": 16,
- "y": 4
- },
- "id": 123,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "minSpan": 4,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeat": null,
- "repeatDirection": "h",
- "repeatIteration": 1542818026918,
- "repeatPanelId": 4,
- "scopedVars": {
- "host": {
- "selected": false,
- "text": "log02",
- "value": "log02"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "procstat_running{environment=\"$environment\",process_name=\"keepalived\",host=~\"$host\"} and on(host) keepalived_up{environment=\"$environment\",host=~\"$host\"}",
- "format": "time_series",
- "intervalFactor": 2,
- "refId": "A",
- "step": 4
- }
- ],
- "thresholds": "0,1",
- "title": "Keepalived@${host}",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- },
- {
- "op": "=",
- "text": "UP",
- "value": "1"
- },
- {
- "op": "=",
- "text": "DOWN",
- "value": "0"
- }
- ],
- "valueName": "avg"
- },
- {
- "cacheTimeout": null,
- "colorBackground": true,
- "colorValue": false,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "#299c46"
- ],
- "datasource": null,
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 3,
- "w": 4,
- "x": 20,
- "y": 4
- },
- "id": 124,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "minSpan": 4,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeat": null,
- "repeatDirection": "h",
- "repeatIteration": 1542818026918,
- "repeatPanelId": 4,
- "scopedVars": {
- "host": {
- "selected": false,
- "text": "log03",
- "value": "log03"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "procstat_running{environment=\"$environment\",process_name=\"keepalived\",host=~\"$host\"} and on(host) keepalived_up{environment=\"$environment\",host=~\"$host\"}",
- "format": "time_series",
- "intervalFactor": 2,
- "refId": "A",
- "step": 4
- }
- ],
- "thresholds": "0,1",
- "title": "Keepalived@${host}",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- },
- {
- "op": "=",
- "text": "UP",
- "value": "1"
- },
- {
- "op": "=",
- "text": "DOWN",
- "value": "0"
- }
- ],
- "valueName": "avg"
- },
- {
- "cacheTimeout": null,
- "colorBackground": true,
- "colorValue": false,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "#299c46"
- ],
- "datasource": null,
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 3,
- "w": 4,
- "x": 0,
- "y": 7
- },
- "id": 125,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "minSpan": 4,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeat": null,
- "repeatDirection": "h",
- "repeatIteration": 1542818026918,
- "repeatPanelId": 4,
- "scopedVars": {
- "host": {
- "selected": false,
- "text": "mdb01",
- "value": "mdb01"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "procstat_running{environment=\"$environment\",process_name=\"keepalived\",host=~\"$host\"} and on(host) keepalived_up{environment=\"$environment\",host=~\"$host\"}",
- "format": "time_series",
- "intervalFactor": 2,
- "refId": "A",
- "step": 4
- }
- ],
- "thresholds": "0,1",
- "title": "Keepalived@${host}",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- },
- {
- "op": "=",
- "text": "UP",
- "value": "1"
- },
- {
- "op": "=",
- "text": "DOWN",
- "value": "0"
- }
- ],
- "valueName": "avg"
- },
- {
- "cacheTimeout": null,
- "colorBackground": true,
- "colorValue": false,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "#299c46"
- ],
- "datasource": null,
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 3,
- "w": 4,
- "x": 4,
- "y": 7
- },
- "id": 126,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "minSpan": 4,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeat": null,
- "repeatDirection": "h",
- "repeatIteration": 1542818026918,
- "repeatPanelId": 4,
- "scopedVars": {
- "host": {
- "selected": false,
- "text": "mdb02",
- "value": "mdb02"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "procstat_running{environment=\"$environment\",process_name=\"keepalived\",host=~\"$host\"} and on(host) keepalived_up{environment=\"$environment\",host=~\"$host\"}",
- "format": "time_series",
- "intervalFactor": 2,
- "refId": "A",
- "step": 4
- }
- ],
- "thresholds": "0,1",
- "title": "Keepalived@${host}",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- },
- {
- "op": "=",
- "text": "UP",
- "value": "1"
- },
- {
- "op": "=",
- "text": "DOWN",
- "value": "0"
- }
- ],
- "valueName": "avg"
- },
- {
- "cacheTimeout": null,
- "colorBackground": true,
- "colorValue": false,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "#299c46"
- ],
- "datasource": null,
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 3,
- "w": 4,
- "x": 8,
- "y": 7
- },
- "id": 127,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "minSpan": 4,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeat": null,
- "repeatDirection": "h",
- "repeatIteration": 1542818026918,
- "repeatPanelId": 4,
- "scopedVars": {
- "host": {
- "selected": false,
- "text": "mdb03",
- "value": "mdb03"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "procstat_running{environment=\"$environment\",process_name=\"keepalived\",host=~\"$host\"} and on(host) keepalived_up{environment=\"$environment\",host=~\"$host\"}",
- "format": "time_series",
- "intervalFactor": 2,
- "refId": "A",
- "step": 4
- }
- ],
- "thresholds": "0,1",
- "title": "Keepalived@${host}",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- },
- {
- "op": "=",
- "text": "UP",
- "value": "1"
- },
- {
- "op": "=",
- "text": "DOWN",
- "value": "0"
- }
- ],
- "valueName": "avg"
- },
- {
- "cacheTimeout": null,
- "colorBackground": true,
- "colorValue": false,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "#299c46"
- ],
- "datasource": null,
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 3,
- "w": 4,
- "x": 12,
- "y": 7
- },
- "id": 128,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "minSpan": 4,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeat": null,
- "repeatDirection": "h",
- "repeatIteration": 1542818026918,
- "repeatPanelId": 4,
- "scopedVars": {
- "host": {
- "selected": false,
- "text": "mon01",
- "value": "mon01"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "procstat_running{environment=\"$environment\",process_name=\"keepalived\",host=~\"$host\"} and on(host) keepalived_up{environment=\"$environment\",host=~\"$host\"}",
- "format": "time_series",
- "intervalFactor": 2,
- "refId": "A",
- "step": 4
- }
- ],
- "thresholds": "0,1",
- "title": "Keepalived@${host}",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- },
- {
- "op": "=",
- "text": "UP",
- "value": "1"
- },
- {
- "op": "=",
- "text": "DOWN",
- "value": "0"
- }
- ],
- "valueName": "avg"
- },
- {
- "cacheTimeout": null,
- "colorBackground": true,
- "colorValue": false,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "#299c46"
- ],
- "datasource": null,
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 3,
- "w": 4,
- "x": 16,
- "y": 7
- },
- "id": 129,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "minSpan": 4,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeat": null,
- "repeatDirection": "h",
- "repeatIteration": 1542818026918,
- "repeatPanelId": 4,
- "scopedVars": {
- "host": {
- "selected": false,
- "text": "mon02",
- "value": "mon02"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "procstat_running{environment=\"$environment\",process_name=\"keepalived\",host=~\"$host\"} and on(host) keepalived_up{environment=\"$environment\",host=~\"$host\"}",
- "format": "time_series",
- "intervalFactor": 2,
- "refId": "A",
- "step": 4
- }
- ],
- "thresholds": "0,1",
- "title": "Keepalived@${host}",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- },
- {
- "op": "=",
- "text": "UP",
- "value": "1"
- },
- {
- "op": "=",
- "text": "DOWN",
- "value": "0"
- }
- ],
- "valueName": "avg"
- },
- {
- "cacheTimeout": null,
- "colorBackground": true,
- "colorValue": false,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "#299c46"
- ],
- "datasource": null,
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 3,
- "w": 4,
- "x": 20,
- "y": 7
- },
- "id": 130,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "minSpan": 4,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeat": null,
- "repeatDirection": "h",
- "repeatIteration": 1542818026918,
- "repeatPanelId": 4,
- "scopedVars": {
- "host": {
- "selected": false,
- "text": "mon03",
- "value": "mon03"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "procstat_running{environment=\"$environment\",process_name=\"keepalived\",host=~\"$host\"} and on(host) keepalived_up{environment=\"$environment\",host=~\"$host\"}",
- "format": "time_series",
- "intervalFactor": 2,
- "refId": "A",
- "step": 4
- }
- ],
- "thresholds": "0,1",
- "title": "Keepalived@${host}",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- },
- {
- "op": "=",
- "text": "UP",
- "value": "1"
- },
- {
- "op": "=",
- "text": "DOWN",
- "value": "0"
- }
- ],
- "valueName": "avg"
- },
- {
- "cacheTimeout": null,
- "colorBackground": true,
- "colorValue": false,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "#299c46"
- ],
- "datasource": null,
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 3,
- "w": 4,
- "x": 0,
- "y": 10
- },
- "id": 131,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "minSpan": 4,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeat": null,
- "repeatDirection": "h",
- "repeatIteration": 1542818026918,
- "repeatPanelId": 4,
- "scopedVars": {
- "host": {
- "selected": false,
- "text": "msg01",
- "value": "msg01"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "procstat_running{environment=\"$environment\",process_name=\"keepalived\",host=~\"$host\"} and on(host) keepalived_up{environment=\"$environment\",host=~\"$host\"}",
- "format": "time_series",
- "intervalFactor": 2,
- "refId": "A",
- "step": 4
- }
- ],
- "thresholds": "0,1",
- "title": "Keepalived@${host}",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- },
- {
- "op": "=",
- "text": "UP",
- "value": "1"
- },
- {
- "op": "=",
- "text": "DOWN",
- "value": "0"
- }
- ],
- "valueName": "avg"
- },
- {
- "cacheTimeout": null,
- "colorBackground": true,
- "colorValue": false,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "#299c46"
- ],
- "datasource": null,
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 3,
- "w": 4,
- "x": 4,
- "y": 10
- },
- "id": 132,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "minSpan": 4,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeat": null,
- "repeatDirection": "h",
- "repeatIteration": 1542818026918,
- "repeatPanelId": 4,
- "scopedVars": {
- "host": {
- "selected": false,
- "text": "msg02",
- "value": "msg02"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "procstat_running{environment=\"$environment\",process_name=\"keepalived\",host=~\"$host\"} and on(host) keepalived_up{environment=\"$environment\",host=~\"$host\"}",
- "format": "time_series",
- "intervalFactor": 2,
- "refId": "A",
- "step": 4
- }
- ],
- "thresholds": "0,1",
- "title": "Keepalived@${host}",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- },
- {
- "op": "=",
- "text": "UP",
- "value": "1"
- },
- {
- "op": "=",
- "text": "DOWN",
- "value": "0"
- }
- ],
- "valueName": "avg"
- },
- {
- "cacheTimeout": null,
- "colorBackground": true,
- "colorValue": false,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "#299c46"
- ],
- "datasource": null,
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 3,
- "w": 4,
- "x": 8,
- "y": 10
- },
- "id": 133,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "minSpan": 4,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeat": null,
- "repeatDirection": "h",
- "repeatIteration": 1542818026918,
- "repeatPanelId": 4,
- "scopedVars": {
- "host": {
- "selected": false,
- "text": "msg03",
- "value": "msg03"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "procstat_running{environment=\"$environment\",process_name=\"keepalived\",host=~\"$host\"} and on(host) keepalived_up{environment=\"$environment\",host=~\"$host\"}",
- "format": "time_series",
- "intervalFactor": 2,
- "refId": "A",
- "step": 4
- }
- ],
- "thresholds": "0,1",
- "title": "Keepalived@${host}",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- },
- {
- "op": "=",
- "text": "UP",
- "value": "1"
- },
- {
- "op": "=",
- "text": "DOWN",
- "value": "0"
- }
- ],
- "valueName": "avg"
- },
- {
- "cacheTimeout": null,
- "colorBackground": true,
- "colorValue": false,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "#299c46"
- ],
- "datasource": null,
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 3,
- "w": 4,
- "x": 12,
- "y": 10
- },
- "id": 134,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "minSpan": 4,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeat": null,
- "repeatDirection": "h",
- "repeatIteration": 1542818026918,
- "repeatPanelId": 4,
- "scopedVars": {
- "host": {
- "selected": false,
- "text": "mtr01",
- "value": "mtr01"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "procstat_running{environment=\"$environment\",process_name=\"keepalived\",host=~\"$host\"} and on(host) keepalived_up{environment=\"$environment\",host=~\"$host\"}",
- "format": "time_series",
- "intervalFactor": 2,
- "refId": "A",
- "step": 4
- }
- ],
- "thresholds": "0,1",
- "title": "Keepalived@${host}",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- },
- {
- "op": "=",
- "text": "UP",
- "value": "1"
- },
- {
- "op": "=",
- "text": "DOWN",
- "value": "0"
- }
- ],
- "valueName": "avg"
- },
- {
- "cacheTimeout": null,
- "colorBackground": true,
- "colorValue": false,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "#299c46"
- ],
- "datasource": null,
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 3,
- "w": 4,
- "x": 16,
- "y": 10
- },
- "id": 135,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "minSpan": 4,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeat": null,
- "repeatDirection": "h",
- "repeatIteration": 1542818026918,
- "repeatPanelId": 4,
- "scopedVars": {
- "host": {
- "selected": false,
- "text": "mtr02",
- "value": "mtr02"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "procstat_running{environment=\"$environment\",process_name=\"keepalived\",host=~\"$host\"} and on(host) keepalived_up{environment=\"$environment\",host=~\"$host\"}",
- "format": "time_series",
- "intervalFactor": 2,
- "refId": "A",
- "step": 4
- }
- ],
- "thresholds": "0,1",
- "title": "Keepalived@${host}",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- },
- {
- "op": "=",
- "text": "UP",
- "value": "1"
- },
- {
- "op": "=",
- "text": "DOWN",
- "value": "0"
- }
- ],
- "valueName": "avg"
- },
- {
- "cacheTimeout": null,
- "colorBackground": true,
- "colorValue": false,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "#299c46"
- ],
- "datasource": null,
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 3,
- "w": 4,
- "x": 20,
- "y": 10
- },
- "id": 136,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "minSpan": 4,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeat": null,
- "repeatDirection": "h",
- "repeatIteration": 1542818026918,
- "repeatPanelId": 4,
- "scopedVars": {
- "host": {
- "selected": false,
- "text": "mtr03",
- "value": "mtr03"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "procstat_running{environment=\"$environment\",process_name=\"keepalived\",host=~\"$host\"} and on(host) keepalived_up{environment=\"$environment\",host=~\"$host\"}",
- "format": "time_series",
- "intervalFactor": 2,
- "refId": "A",
- "step": 4
- }
- ],
- "thresholds": "0,1",
- "title": "Keepalived@${host}",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- },
- {
- "op": "=",
- "text": "UP",
- "value": "1"
- },
- {
- "op": "=",
- "text": "DOWN",
- "value": "0"
- }
- ],
- "valueName": "avg"
- },
- {
- "cacheTimeout": null,
- "colorBackground": true,
- "colorValue": false,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "#299c46"
- ],
- "datasource": null,
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 3,
- "w": 4,
- "x": 0,
- "y": 13
- },
- "id": 137,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "minSpan": 4,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeat": null,
- "repeatDirection": "h",
- "repeatIteration": 1542818026918,
- "repeatPanelId": 4,
- "scopedVars": {
- "host": {
- "selected": false,
- "text": "prx01",
- "value": "prx01"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "procstat_running{environment=\"$environment\",process_name=\"keepalived\",host=~\"$host\"} and on(host) keepalived_up{environment=\"$environment\",host=~\"$host\"}",
- "format": "time_series",
- "intervalFactor": 2,
- "refId": "A",
- "step": 4
- }
- ],
- "thresholds": "0,1",
- "title": "Keepalived@${host}",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- },
- {
- "op": "=",
- "text": "UP",
- "value": "1"
- },
- {
- "op": "=",
- "text": "DOWN",
- "value": "0"
- }
- ],
- "valueName": "avg"
- },
- {
- "cacheTimeout": null,
- "colorBackground": true,
- "colorValue": false,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "#299c46"
- ],
- "datasource": null,
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 3,
- "w": 4,
- "x": 4,
- "y": 13
- },
- "id": 138,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "minSpan": 4,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeat": null,
- "repeatDirection": "h",
- "repeatIteration": 1542818026918,
- "repeatPanelId": 4,
- "scopedVars": {
- "host": {
- "selected": false,
- "text": "prx02",
- "value": "prx02"
- }
- },
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
@@ -2716,7 +120,21 @@
"h": 1,
"w": 24,
"x": 0,
- "y": 16
+ "y": 3
+ },
+ "id": 9,
+ "panels": [],
+ "repeat": null,
+ "title": "Status",
+ "type": "row"
+ },
+ {
+ "collapsed": false,
+ "gridPos": {
+ "h": 1,
+ "w": 24,
+ "x": 0,
+ "y": 4
},
"id": 59,
"panels": [],
@@ -2735,7 +153,7 @@
"h": 6,
"w": 12,
"x": 0,
- "y": 17
+ "y": 5
},
"id": 113,
"legend": {
@@ -2825,7 +243,7 @@
"h": 6,
"w": 12,
"x": 12,
- "y": 17
+ "y": 5
},
"id": 1,
"legend": {
@@ -2909,3013 +327,123 @@
"h": 1,
"w": 24,
"x": 0,
- "y": 23
+ "y": 11
},
"id": 7,
"panels": [],
- "title": "VRRP ${vrrp} state",
+ "title": "VRRP status",
"type": "row"
},
{
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": true,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "#299c46",
- "rgba(237, 129, 40, 0.89)"
- ],
+ "columns": [],
"datasource": null,
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
+ "fontSize": "100%",
"gridPos": {
- "h": 3,
- "w": 4,
- "x": 0,
- "y": 24
- },
- "id": 3,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "minSpan": 4,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeat": "host",
- "repeatDirection": "h",
- "scopedVars": {
- "host": {
- "selected": false,
- "text": "ctl01",
- "value": "ctl01"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "keepalived_state{environment=\"$environment\",host=\"$host\",name=~\"$vrrp\"}",
- "format": "time_series",
- "intervalFactor": 2,
- "refId": "A",
- "step": 4
- }
- ],
- "thresholds": "0.5,1.5",
- "timeFrom": null,
- "timeShift": null,
- "title": "VRRP@${host}",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "FAILED",
- "value": "0"
- },
- {
- "op": "=",
- "text": "BACKUP",
- "value": "2"
- },
- {
- "op": "=",
- "text": "MASTER",
- "value": "1"
- },
- {
- "op": "=",
- "text": "UNKNOWN",
- "value": "-1"
- },
- {
- "op": "=",
- "text": "NONE",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": true,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "#299c46",
- "rgba(237, 129, 40, 0.89)"
- ],
- "datasource": null,
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 3,
- "w": 4,
- "x": 4,
- "y": 24
- },
- "id": 139,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "minSpan": 4,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeat": null,
- "repeatDirection": "h",
- "repeatIteration": 1542818026918,
- "repeatPanelId": 3,
- "scopedVars": {
- "host": {
- "selected": false,
- "text": "ctl02",
- "value": "ctl02"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "keepalived_state{environment=\"$environment\",host=\"$host\",name=~\"$vrrp\"}",
- "format": "time_series",
- "intervalFactor": 2,
- "refId": "A",
- "step": 4
- }
- ],
- "thresholds": "0.5,1.5",
- "timeFrom": null,
- "timeShift": null,
- "title": "VRRP@${host}",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "FAILED",
- "value": "0"
- },
- {
- "op": "=",
- "text": "BACKUP",
- "value": "2"
- },
- {
- "op": "=",
- "text": "MASTER",
- "value": "1"
- },
- {
- "op": "=",
- "text": "UNKNOWN",
- "value": "-1"
- },
- {
- "op": "=",
- "text": "NONE",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": true,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "#299c46",
- "rgba(237, 129, 40, 0.89)"
- ],
- "datasource": null,
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 3,
- "w": 4,
- "x": 8,
- "y": 24
- },
- "id": 140,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "minSpan": 4,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeat": null,
- "repeatDirection": "h",
- "repeatIteration": 1542818026918,
- "repeatPanelId": 3,
- "scopedVars": {
- "host": {
- "selected": false,
- "text": "ctl03",
- "value": "ctl03"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "keepalived_state{environment=\"$environment\",host=\"$host\",name=~\"$vrrp\"}",
- "format": "time_series",
- "intervalFactor": 2,
- "refId": "A",
- "step": 4
- }
- ],
- "thresholds": "0.5,1.5",
- "timeFrom": null,
- "timeShift": null,
- "title": "VRRP@${host}",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "FAILED",
- "value": "0"
- },
- {
- "op": "=",
- "text": "BACKUP",
- "value": "2"
- },
- {
- "op": "=",
- "text": "MASTER",
- "value": "1"
- },
- {
- "op": "=",
- "text": "UNKNOWN",
- "value": "-1"
- },
- {
- "op": "=",
- "text": "NONE",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": true,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "#299c46",
- "rgba(237, 129, 40, 0.89)"
- ],
- "datasource": null,
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 3,
- "w": 4,
- "x": 12,
- "y": 24
- },
- "id": 141,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "minSpan": 4,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeat": null,
- "repeatDirection": "h",
- "repeatIteration": 1542818026918,
- "repeatPanelId": 3,
- "scopedVars": {
- "host": {
- "selected": false,
- "text": "dbs01",
- "value": "dbs01"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "keepalived_state{environment=\"$environment\",host=\"$host\",name=~\"$vrrp\"}",
- "format": "time_series",
- "intervalFactor": 2,
- "refId": "A",
- "step": 4
- }
- ],
- "thresholds": "0.5,1.5",
- "timeFrom": null,
- "timeShift": null,
- "title": "VRRP@${host}",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "FAILED",
- "value": "0"
- },
- {
- "op": "=",
- "text": "BACKUP",
- "value": "2"
- },
- {
- "op": "=",
- "text": "MASTER",
- "value": "1"
- },
- {
- "op": "=",
- "text": "UNKNOWN",
- "value": "-1"
- },
- {
- "op": "=",
- "text": "NONE",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": true,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "#299c46",
- "rgba(237, 129, 40, 0.89)"
- ],
- "datasource": null,
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 3,
- "w": 4,
- "x": 16,
- "y": 24
- },
- "id": 142,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "minSpan": 4,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeat": null,
- "repeatDirection": "h",
- "repeatIteration": 1542818026918,
- "repeatPanelId": 3,
- "scopedVars": {
- "host": {
- "selected": false,
- "text": "dbs02",
- "value": "dbs02"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "keepalived_state{environment=\"$environment\",host=\"$host\",name=~\"$vrrp\"}",
- "format": "time_series",
- "intervalFactor": 2,
- "refId": "A",
- "step": 4
- }
- ],
- "thresholds": "0.5,1.5",
- "timeFrom": null,
- "timeShift": null,
- "title": "VRRP@${host}",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "FAILED",
- "value": "0"
- },
- {
- "op": "=",
- "text": "BACKUP",
- "value": "2"
- },
- {
- "op": "=",
- "text": "MASTER",
- "value": "1"
- },
- {
- "op": "=",
- "text": "UNKNOWN",
- "value": "-1"
- },
- {
- "op": "=",
- "text": "NONE",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": true,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "#299c46",
- "rgba(237, 129, 40, 0.89)"
- ],
- "datasource": null,
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 3,
- "w": 4,
- "x": 20,
- "y": 24
- },
- "id": 143,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "minSpan": 4,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeat": null,
- "repeatDirection": "h",
- "repeatIteration": 1542818026918,
- "repeatPanelId": 3,
- "scopedVars": {
- "host": {
- "selected": false,
- "text": "dbs03",
- "value": "dbs03"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "keepalived_state{environment=\"$environment\",host=\"$host\",name=~\"$vrrp\"}",
- "format": "time_series",
- "intervalFactor": 2,
- "refId": "A",
- "step": 4
- }
- ],
- "thresholds": "0.5,1.5",
- "timeFrom": null,
- "timeShift": null,
- "title": "VRRP@${host}",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "FAILED",
- "value": "0"
- },
- {
- "op": "=",
- "text": "BACKUP",
- "value": "2"
- },
- {
- "op": "=",
- "text": "MASTER",
- "value": "1"
- },
- {
- "op": "=",
- "text": "UNKNOWN",
- "value": "-1"
- },
- {
- "op": "=",
- "text": "NONE",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": true,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "#299c46",
- "rgba(237, 129, 40, 0.89)"
- ],
- "datasource": null,
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 3,
- "w": 4,
- "x": 0,
- "y": 27
- },
- "id": 144,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "minSpan": 4,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeat": null,
- "repeatDirection": "h",
- "repeatIteration": 1542818026918,
- "repeatPanelId": 3,
- "scopedVars": {
- "host": {
- "selected": false,
- "text": "kvm01",
- "value": "kvm01"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "keepalived_state{environment=\"$environment\",host=\"$host\",name=~\"$vrrp\"}",
- "format": "time_series",
- "intervalFactor": 2,
- "refId": "A",
- "step": 4
- }
- ],
- "thresholds": "0.5,1.5",
- "timeFrom": null,
- "timeShift": null,
- "title": "VRRP@${host}",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "FAILED",
- "value": "0"
- },
- {
- "op": "=",
- "text": "BACKUP",
- "value": "2"
- },
- {
- "op": "=",
- "text": "MASTER",
- "value": "1"
- },
- {
- "op": "=",
- "text": "UNKNOWN",
- "value": "-1"
- },
- {
- "op": "=",
- "text": "NONE",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": true,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "#299c46",
- "rgba(237, 129, 40, 0.89)"
- ],
- "datasource": null,
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 3,
- "w": 4,
- "x": 4,
- "y": 27
- },
- "id": 145,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "minSpan": 4,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeat": null,
- "repeatDirection": "h",
- "repeatIteration": 1542818026918,
- "repeatPanelId": 3,
- "scopedVars": {
- "host": {
- "selected": false,
- "text": "kvm02",
- "value": "kvm02"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "keepalived_state{environment=\"$environment\",host=\"$host\",name=~\"$vrrp\"}",
- "format": "time_series",
- "intervalFactor": 2,
- "refId": "A",
- "step": 4
- }
- ],
- "thresholds": "0.5,1.5",
- "timeFrom": null,
- "timeShift": null,
- "title": "VRRP@${host}",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "FAILED",
- "value": "0"
- },
- {
- "op": "=",
- "text": "BACKUP",
- "value": "2"
- },
- {
- "op": "=",
- "text": "MASTER",
- "value": "1"
- },
- {
- "op": "=",
- "text": "UNKNOWN",
- "value": "-1"
- },
- {
- "op": "=",
- "text": "NONE",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": true,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "#299c46",
- "rgba(237, 129, 40, 0.89)"
- ],
- "datasource": null,
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 3,
- "w": 4,
- "x": 8,
- "y": 27
- },
- "id": 146,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "minSpan": 4,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeat": null,
- "repeatDirection": "h",
- "repeatIteration": 1542818026918,
- "repeatPanelId": 3,
- "scopedVars": {
- "host": {
- "selected": false,
- "text": "kvm03",
- "value": "kvm03"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "keepalived_state{environment=\"$environment\",host=\"$host\",name=~\"$vrrp\"}",
- "format": "time_series",
- "intervalFactor": 2,
- "refId": "A",
- "step": 4
- }
- ],
- "thresholds": "0.5,1.5",
- "timeFrom": null,
- "timeShift": null,
- "title": "VRRP@${host}",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "FAILED",
- "value": "0"
- },
- {
- "op": "=",
- "text": "BACKUP",
- "value": "2"
- },
- {
- "op": "=",
- "text": "MASTER",
- "value": "1"
- },
- {
- "op": "=",
- "text": "UNKNOWN",
- "value": "-1"
- },
- {
- "op": "=",
- "text": "NONE",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": true,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "#299c46",
- "rgba(237, 129, 40, 0.89)"
- ],
- "datasource": null,
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 3,
- "w": 4,
- "x": 12,
- "y": 27
- },
- "id": 147,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "minSpan": 4,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeat": null,
- "repeatDirection": "h",
- "repeatIteration": 1542818026918,
- "repeatPanelId": 3,
- "scopedVars": {
- "host": {
- "selected": false,
- "text": "log01",
- "value": "log01"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "keepalived_state{environment=\"$environment\",host=\"$host\",name=~\"$vrrp\"}",
- "format": "time_series",
- "intervalFactor": 2,
- "refId": "A",
- "step": 4
- }
- ],
- "thresholds": "0.5,1.5",
- "timeFrom": null,
- "timeShift": null,
- "title": "VRRP@${host}",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "FAILED",
- "value": "0"
- },
- {
- "op": "=",
- "text": "BACKUP",
- "value": "2"
- },
- {
- "op": "=",
- "text": "MASTER",
- "value": "1"
- },
- {
- "op": "=",
- "text": "UNKNOWN",
- "value": "-1"
- },
- {
- "op": "=",
- "text": "NONE",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": true,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "#299c46",
- "rgba(237, 129, 40, 0.89)"
- ],
- "datasource": null,
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 3,
- "w": 4,
- "x": 16,
- "y": 27
- },
- "id": 148,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "minSpan": 4,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeat": null,
- "repeatDirection": "h",
- "repeatIteration": 1542818026918,
- "repeatPanelId": 3,
- "scopedVars": {
- "host": {
- "selected": false,
- "text": "log02",
- "value": "log02"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "keepalived_state{environment=\"$environment\",host=\"$host\",name=~\"$vrrp\"}",
- "format": "time_series",
- "intervalFactor": 2,
- "refId": "A",
- "step": 4
- }
- ],
- "thresholds": "0.5,1.5",
- "timeFrom": null,
- "timeShift": null,
- "title": "VRRP@${host}",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "FAILED",
- "value": "0"
- },
- {
- "op": "=",
- "text": "BACKUP",
- "value": "2"
- },
- {
- "op": "=",
- "text": "MASTER",
- "value": "1"
- },
- {
- "op": "=",
- "text": "UNKNOWN",
- "value": "-1"
- },
- {
- "op": "=",
- "text": "NONE",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": true,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "#299c46",
- "rgba(237, 129, 40, 0.89)"
- ],
- "datasource": null,
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 3,
- "w": 4,
- "x": 20,
- "y": 27
- },
- "id": 149,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "minSpan": 4,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeat": null,
- "repeatDirection": "h",
- "repeatIteration": 1542818026918,
- "repeatPanelId": 3,
- "scopedVars": {
- "host": {
- "selected": false,
- "text": "log03",
- "value": "log03"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "keepalived_state{environment=\"$environment\",host=\"$host\",name=~\"$vrrp\"}",
- "format": "time_series",
- "intervalFactor": 2,
- "refId": "A",
- "step": 4
- }
- ],
- "thresholds": "0.5,1.5",
- "timeFrom": null,
- "timeShift": null,
- "title": "VRRP@${host}",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "FAILED",
- "value": "0"
- },
- {
- "op": "=",
- "text": "BACKUP",
- "value": "2"
- },
- {
- "op": "=",
- "text": "MASTER",
- "value": "1"
- },
- {
- "op": "=",
- "text": "UNKNOWN",
- "value": "-1"
- },
- {
- "op": "=",
- "text": "NONE",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": true,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "#299c46",
- "rgba(237, 129, 40, 0.89)"
- ],
- "datasource": null,
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 3,
- "w": 4,
- "x": 0,
- "y": 30
- },
- "id": 150,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "minSpan": 4,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeat": null,
- "repeatDirection": "h",
- "repeatIteration": 1542818026918,
- "repeatPanelId": 3,
- "scopedVars": {
- "host": {
- "selected": false,
- "text": "mdb01",
- "value": "mdb01"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "keepalived_state{environment=\"$environment\",host=\"$host\",name=~\"$vrrp\"}",
- "format": "time_series",
- "intervalFactor": 2,
- "refId": "A",
- "step": 4
- }
- ],
- "thresholds": "0.5,1.5",
- "timeFrom": null,
- "timeShift": null,
- "title": "VRRP@${host}",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "FAILED",
- "value": "0"
- },
- {
- "op": "=",
- "text": "BACKUP",
- "value": "2"
- },
- {
- "op": "=",
- "text": "MASTER",
- "value": "1"
- },
- {
- "op": "=",
- "text": "UNKNOWN",
- "value": "-1"
- },
- {
- "op": "=",
- "text": "NONE",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": true,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "#299c46",
- "rgba(237, 129, 40, 0.89)"
- ],
- "datasource": null,
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 3,
- "w": 4,
- "x": 4,
- "y": 30
- },
- "id": 151,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "minSpan": 4,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeat": null,
- "repeatDirection": "h",
- "repeatIteration": 1542818026918,
- "repeatPanelId": 3,
- "scopedVars": {
- "host": {
- "selected": false,
- "text": "mdb02",
- "value": "mdb02"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "keepalived_state{environment=\"$environment\",host=\"$host\",name=~\"$vrrp\"}",
- "format": "time_series",
- "intervalFactor": 2,
- "refId": "A",
- "step": 4
- }
- ],
- "thresholds": "0.5,1.5",
- "timeFrom": null,
- "timeShift": null,
- "title": "VRRP@${host}",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "FAILED",
- "value": "0"
- },
- {
- "op": "=",
- "text": "BACKUP",
- "value": "2"
- },
- {
- "op": "=",
- "text": "MASTER",
- "value": "1"
- },
- {
- "op": "=",
- "text": "UNKNOWN",
- "value": "-1"
- },
- {
- "op": "=",
- "text": "NONE",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": true,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "#299c46",
- "rgba(237, 129, 40, 0.89)"
- ],
- "datasource": null,
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 3,
- "w": 4,
- "x": 8,
- "y": 30
- },
- "id": 152,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "minSpan": 4,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeat": null,
- "repeatDirection": "h",
- "repeatIteration": 1542818026918,
- "repeatPanelId": 3,
- "scopedVars": {
- "host": {
- "selected": false,
- "text": "mdb03",
- "value": "mdb03"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "keepalived_state{environment=\"$environment\",host=\"$host\",name=~\"$vrrp\"}",
- "format": "time_series",
- "intervalFactor": 2,
- "refId": "A",
- "step": 4
- }
- ],
- "thresholds": "0.5,1.5",
- "timeFrom": null,
- "timeShift": null,
- "title": "VRRP@${host}",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "FAILED",
- "value": "0"
- },
- {
- "op": "=",
- "text": "BACKUP",
- "value": "2"
- },
- {
- "op": "=",
- "text": "MASTER",
- "value": "1"
- },
- {
- "op": "=",
- "text": "UNKNOWN",
- "value": "-1"
- },
- {
- "op": "=",
- "text": "NONE",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": true,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "#299c46",
- "rgba(237, 129, 40, 0.89)"
- ],
- "datasource": null,
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 3,
- "w": 4,
- "x": 12,
- "y": 30
- },
- "id": 153,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "minSpan": 4,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeat": null,
- "repeatDirection": "h",
- "repeatIteration": 1542818026918,
- "repeatPanelId": 3,
- "scopedVars": {
- "host": {
- "selected": false,
- "text": "mon01",
- "value": "mon01"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "keepalived_state{environment=\"$environment\",host=\"$host\",name=~\"$vrrp\"}",
- "format": "time_series",
- "intervalFactor": 2,
- "refId": "A",
- "step": 4
- }
- ],
- "thresholds": "0.5,1.5",
- "timeFrom": null,
- "timeShift": null,
- "title": "VRRP@${host}",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "FAILED",
- "value": "0"
- },
- {
- "op": "=",
- "text": "BACKUP",
- "value": "2"
- },
- {
- "op": "=",
- "text": "MASTER",
- "value": "1"
- },
- {
- "op": "=",
- "text": "UNKNOWN",
- "value": "-1"
- },
- {
- "op": "=",
- "text": "NONE",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": true,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "#299c46",
- "rgba(237, 129, 40, 0.89)"
- ],
- "datasource": null,
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 3,
- "w": 4,
- "x": 16,
- "y": 30
- },
- "id": 154,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "minSpan": 4,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeat": null,
- "repeatDirection": "h",
- "repeatIteration": 1542818026918,
- "repeatPanelId": 3,
- "scopedVars": {
- "host": {
- "selected": false,
- "text": "mon02",
- "value": "mon02"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "keepalived_state{environment=\"$environment\",host=\"$host\",name=~\"$vrrp\"}",
- "format": "time_series",
- "intervalFactor": 2,
- "refId": "A",
- "step": 4
- }
- ],
- "thresholds": "0.5,1.5",
- "timeFrom": null,
- "timeShift": null,
- "title": "VRRP@${host}",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "FAILED",
- "value": "0"
- },
- {
- "op": "=",
- "text": "BACKUP",
- "value": "2"
- },
- {
- "op": "=",
- "text": "MASTER",
- "value": "1"
- },
- {
- "op": "=",
- "text": "UNKNOWN",
- "value": "-1"
- },
- {
- "op": "=",
- "text": "NONE",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": true,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "#299c46",
- "rgba(237, 129, 40, 0.89)"
- ],
- "datasource": null,
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 3,
- "w": 4,
- "x": 20,
- "y": 30
- },
- "id": 155,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "minSpan": 4,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeat": null,
- "repeatDirection": "h",
- "repeatIteration": 1542818026918,
- "repeatPanelId": 3,
- "scopedVars": {
- "host": {
- "selected": false,
- "text": "mon03",
- "value": "mon03"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "keepalived_state{environment=\"$environment\",host=\"$host\",name=~\"$vrrp\"}",
- "format": "time_series",
- "intervalFactor": 2,
- "refId": "A",
- "step": 4
- }
- ],
- "thresholds": "0.5,1.5",
- "timeFrom": null,
- "timeShift": null,
- "title": "VRRP@${host}",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "FAILED",
- "value": "0"
- },
- {
- "op": "=",
- "text": "BACKUP",
- "value": "2"
- },
- {
- "op": "=",
- "text": "MASTER",
- "value": "1"
- },
- {
- "op": "=",
- "text": "UNKNOWN",
- "value": "-1"
- },
- {
- "op": "=",
- "text": "NONE",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": true,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "#299c46",
- "rgba(237, 129, 40, 0.89)"
- ],
- "datasource": null,
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 3,
- "w": 4,
- "x": 0,
- "y": 33
- },
- "id": 156,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "minSpan": 4,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeat": null,
- "repeatDirection": "h",
- "repeatIteration": 1542818026918,
- "repeatPanelId": 3,
- "scopedVars": {
- "host": {
- "selected": false,
- "text": "msg01",
- "value": "msg01"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "keepalived_state{environment=\"$environment\",host=\"$host\",name=~\"$vrrp\"}",
- "format": "time_series",
- "intervalFactor": 2,
- "refId": "A",
- "step": 4
- }
- ],
- "thresholds": "0.5,1.5",
- "timeFrom": null,
- "timeShift": null,
- "title": "VRRP@${host}",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "FAILED",
- "value": "0"
- },
- {
- "op": "=",
- "text": "BACKUP",
- "value": "2"
- },
- {
- "op": "=",
- "text": "MASTER",
- "value": "1"
- },
- {
- "op": "=",
- "text": "UNKNOWN",
- "value": "-1"
- },
- {
- "op": "=",
- "text": "NONE",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": true,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "#299c46",
- "rgba(237, 129, 40, 0.89)"
- ],
- "datasource": null,
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 3,
- "w": 4,
- "x": 4,
- "y": 33
- },
- "id": 157,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "minSpan": 4,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeat": null,
- "repeatDirection": "h",
- "repeatIteration": 1542818026918,
- "repeatPanelId": 3,
- "scopedVars": {
- "host": {
- "selected": false,
- "text": "msg02",
- "value": "msg02"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "keepalived_state{environment=\"$environment\",host=\"$host\",name=~\"$vrrp\"}",
- "format": "time_series",
- "intervalFactor": 2,
- "refId": "A",
- "step": 4
- }
- ],
- "thresholds": "0.5,1.5",
- "timeFrom": null,
- "timeShift": null,
- "title": "VRRP@${host}",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "FAILED",
- "value": "0"
- },
- {
- "op": "=",
- "text": "BACKUP",
- "value": "2"
- },
- {
- "op": "=",
- "text": "MASTER",
- "value": "1"
- },
- {
- "op": "=",
- "text": "UNKNOWN",
- "value": "-1"
- },
- {
- "op": "=",
- "text": "NONE",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": true,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "#299c46",
- "rgba(237, 129, 40, 0.89)"
- ],
- "datasource": null,
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 3,
- "w": 4,
- "x": 8,
- "y": 33
- },
- "id": 158,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "minSpan": 4,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeat": null,
- "repeatDirection": "h",
- "repeatIteration": 1542818026918,
- "repeatPanelId": 3,
- "scopedVars": {
- "host": {
- "selected": false,
- "text": "msg03",
- "value": "msg03"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "keepalived_state{environment=\"$environment\",host=\"$host\",name=~\"$vrrp\"}",
- "format": "time_series",
- "intervalFactor": 2,
- "refId": "A",
- "step": 4
- }
- ],
- "thresholds": "0.5,1.5",
- "timeFrom": null,
- "timeShift": null,
- "title": "VRRP@${host}",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "FAILED",
- "value": "0"
- },
- {
- "op": "=",
- "text": "BACKUP",
- "value": "2"
- },
- {
- "op": "=",
- "text": "MASTER",
- "value": "1"
- },
- {
- "op": "=",
- "text": "UNKNOWN",
- "value": "-1"
- },
- {
- "op": "=",
- "text": "NONE",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": true,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "#299c46",
- "rgba(237, 129, 40, 0.89)"
- ],
- "datasource": null,
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 3,
- "w": 4,
- "x": 12,
- "y": 33
- },
- "id": 159,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "minSpan": 4,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeat": null,
- "repeatDirection": "h",
- "repeatIteration": 1542818026918,
- "repeatPanelId": 3,
- "scopedVars": {
- "host": {
- "selected": false,
- "text": "mtr01",
- "value": "mtr01"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "keepalived_state{environment=\"$environment\",host=\"$host\",name=~\"$vrrp\"}",
- "format": "time_series",
- "intervalFactor": 2,
- "refId": "A",
- "step": 4
- }
- ],
- "thresholds": "0.5,1.5",
- "timeFrom": null,
- "timeShift": null,
- "title": "VRRP@${host}",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "FAILED",
- "value": "0"
- },
- {
- "op": "=",
- "text": "BACKUP",
- "value": "2"
- },
- {
- "op": "=",
- "text": "MASTER",
- "value": "1"
- },
- {
- "op": "=",
- "text": "UNKNOWN",
- "value": "-1"
- },
- {
- "op": "=",
- "text": "NONE",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": true,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "#299c46",
- "rgba(237, 129, 40, 0.89)"
- ],
- "datasource": null,
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 3,
- "w": 4,
- "x": 16,
- "y": 33
- },
- "id": 160,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "minSpan": 4,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeat": null,
- "repeatDirection": "h",
- "repeatIteration": 1542818026918,
- "repeatPanelId": 3,
- "scopedVars": {
- "host": {
- "selected": false,
- "text": "mtr02",
- "value": "mtr02"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "keepalived_state{environment=\"$environment\",host=\"$host\",name=~\"$vrrp\"}",
- "format": "time_series",
- "intervalFactor": 2,
- "refId": "A",
- "step": 4
- }
- ],
- "thresholds": "0.5,1.5",
- "timeFrom": null,
- "timeShift": null,
- "title": "VRRP@${host}",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "FAILED",
- "value": "0"
- },
- {
- "op": "=",
- "text": "BACKUP",
- "value": "2"
- },
- {
- "op": "=",
- "text": "MASTER",
- "value": "1"
- },
- {
- "op": "=",
- "text": "UNKNOWN",
- "value": "-1"
- },
- {
- "op": "=",
- "text": "NONE",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": true,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "#299c46",
- "rgba(237, 129, 40, 0.89)"
- ],
- "datasource": null,
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 3,
- "w": 4,
- "x": 20,
- "y": 33
- },
- "id": 161,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "minSpan": 4,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeat": null,
- "repeatDirection": "h",
- "repeatIteration": 1542818026918,
- "repeatPanelId": 3,
- "scopedVars": {
- "host": {
- "selected": false,
- "text": "mtr03",
- "value": "mtr03"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "keepalived_state{environment=\"$environment\",host=\"$host\",name=~\"$vrrp\"}",
- "format": "time_series",
- "intervalFactor": 2,
- "refId": "A",
- "step": 4
- }
- ],
- "thresholds": "0.5,1.5",
- "timeFrom": null,
- "timeShift": null,
- "title": "VRRP@${host}",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "FAILED",
- "value": "0"
- },
- {
- "op": "=",
- "text": "BACKUP",
- "value": "2"
- },
- {
- "op": "=",
- "text": "MASTER",
- "value": "1"
- },
- {
- "op": "=",
- "text": "UNKNOWN",
- "value": "-1"
- },
- {
- "op": "=",
- "text": "NONE",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": true,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "#299c46",
- "rgba(237, 129, 40, 0.89)"
- ],
- "datasource": null,
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 3,
- "w": 4,
- "x": 0,
- "y": 36
- },
- "id": 162,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "minSpan": 4,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeat": null,
- "repeatDirection": "h",
- "repeatIteration": 1542818026918,
- "repeatPanelId": 3,
- "scopedVars": {
- "host": {
- "selected": false,
- "text": "prx01",
- "value": "prx01"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "keepalived_state{environment=\"$environment\",host=\"$host\",name=~\"$vrrp\"}",
- "format": "time_series",
- "intervalFactor": 2,
- "refId": "A",
- "step": 4
- }
- ],
- "thresholds": "0.5,1.5",
- "timeFrom": null,
- "timeShift": null,
- "title": "VRRP@${host}",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "FAILED",
- "value": "0"
- },
- {
- "op": "=",
- "text": "BACKUP",
- "value": "2"
- },
- {
- "op": "=",
- "text": "MASTER",
- "value": "1"
- },
- {
- "op": "=",
- "text": "UNKNOWN",
- "value": "-1"
- },
- {
- "op": "=",
- "text": "NONE",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": true,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "#299c46",
- "rgba(237, 129, 40, 0.89)"
- ],
- "datasource": null,
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 3,
- "w": 4,
- "x": 4,
- "y": 36
- },
- "id": 163,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "minSpan": 4,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeat": null,
- "repeatDirection": "h",
- "repeatIteration": 1542818026918,
- "repeatPanelId": 3,
- "scopedVars": {
- "host": {
- "selected": false,
- "text": "prx02",
- "value": "prx02"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "keepalived_state{environment=\"$environment\",host=\"$host\",name=~\"$vrrp\"}",
- "format": "time_series",
- "intervalFactor": 2,
- "refId": "A",
- "step": 4
- }
- ],
- "thresholds": "0.5,1.5",
- "timeFrom": null,
- "timeShift": null,
- "title": "VRRP@${host}",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "FAILED",
- "value": "0"
- },
- {
- "op": "=",
- "text": "BACKUP",
- "value": "2"
- },
- {
- "op": "=",
- "text": "MASTER",
- "value": "1"
- },
- {
- "op": "=",
- "text": "UNKNOWN",
- "value": "-1"
- },
- {
- "op": "=",
- "text": "NONE",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "collapsed": false,
- "gridPos": {
- "h": 1,
+ "h": 10,
"w": 24,
"x": 0,
- "y": 39
+ "y": 12
},
- "id": 85,
- "panels": [],
- "title": "VRRP known states",
- "type": "row"
+ "id": 115,
+ "links": [],
+ "pageSize": null,
+ "repeat": null,
+ "repeatDirection": "h",
+ "scroll": true,
+ "showHeader": true,
+ "sort": {
+ "col": 6,
+ "desc": false
+ },
+ "styles": [
+ {
+ "alias": "VRRP",
+ "colorMode": null,
+ "colors": [
+ "rgba(245, 54, 54, 0.9)",
+ "rgba(237, 129, 40, 0.89)",
+ "rgba(50, 172, 45, 0.97)"
+ ],
+ "dateFormat": "YYYY-MM-DD HH:mm:ss",
+ "decimals": 2,
+ "mappingType": 1,
+ "pattern": "name",
+ "thresholds": [],
+ "type": "string",
+ "unit": "short"
+ },
+ {
+ "alias": "",
+ "colorMode": "row",
+ "colors": [
+ "rgba(245, 54, 54, 0.9)",
+ "rgba(50, 172, 45, 0.97)",
+ "rgba(237, 129, 40, 0.89)"
+ ],
+ "dateFormat": "YYYY-MM-DD HH:mm:ss",
+ "decimals": 2,
+ "mappingType": 1,
+ "pattern": "Value",
+ "thresholds": [
+ "0.5",
+ "1.5"
+ ],
+ "type": "string",
+ "unit": "short",
+ "valueMaps": [
+ {
+ "text": "BACKUP",
+ "value": "2"
+ },
+ {
+ "text": "MASTER",
+ "value": "1"
+ },
+ {
+ "text": "FAILED",
+ "value": "0"
+ },
+ {
+ "text": "UNKNOWN",
+ "value": "-1"
+ },
+ {
+ "text": "UNKNOWN",
+ "value": "null"
+ }
+ ]
+ },
+ {
+ "alias": "",
+ "colorMode": null,
+ "colors": [
+ "rgba(245, 54, 54, 0.9)",
+ "rgba(237, 129, 40, 0.89)",
+ "rgba(50, 172, 45, 0.97)"
+ ],
+ "decimals": 2,
+ "pattern": "/(Time|__name__|instance|job|region)/",
+ "thresholds": [],
+ "type": "hidden",
+ "unit": "short"
+ }
+ ],
+ "targets": [
+ {
+ "expr": "keepalived_state{environment=\"$environment\",host=~\"$host\",name=~\"$VRRP\"}",
+ "format": "table",
+ "instant": true,
+ "interval": "",
+ "intervalFactor": 1,
+ "legendFormat": "",
+ "refId": "A"
+ }
+ ],
+ "timeFrom": "1s",
+ "timeShift": null,
+ "title": "VRRP state by name",
+ "transform": "table",
+ "type": "table"
},
{
"aliasColors": {},
@@ -5930,9 +458,9 @@
"h": 7,
"w": 24,
"x": 0,
- "y": 40
+ "y": 22
},
- "id": 2,
+ "id": 131,
"legend": {
"alignAsTable": true,
"avg": false,
@@ -5960,11 +488,11 @@
"steppedLine": false,
"targets": [
{
- "expr": "keepalived_state{environment=\"$environment\",host=~\"$host\",name=~\"$vrrp\"}",
+ "expr": "keepalived_state{environment=\"$environment\",host=~\"$host\"}",
"format": "time_series",
"instant": false,
"intervalFactor": 2,
- "legendFormat": "{{ host }}",
+ "legendFormat": "{{name}}@{{ host }}",
"refId": "A",
"step": 2
}
@@ -5972,7 +500,7 @@
"thresholds": [],
"timeFrom": null,
"timeShift": null,
- "title": "Keepalived VRRP state",
+ "title": "VRRP state",
"tooltip": {
"shared": true,
"sort": 0,
@@ -6019,8 +547,8 @@
"list": [
{
"allValue": null,
- "current": null,
- "datasource": "prometheus",
+ "current": {},
+ "datasource": null,
"hide": 0,
"includeAll": false,
"label": null,
@@ -6039,12 +567,7 @@
},
{
"allValue": null,
- "current": {
- "text": "All",
- "value": [
- "$__all"
- ]
- },
+ "current": {},
"datasource": null,
"hide": 0,
"includeAll": true,
@@ -6064,17 +587,13 @@
},
{
"allValue": null,
- "current": {
- "tags": [],
- "text": "All",
- "value": "$__all"
- },
+ "current": {},
"datasource": null,
"hide": 0,
"includeAll": true,
"label": null,
"multi": false,
- "name": "vrrp",
+ "name": "VRRP",
"options": [],
"query": "label_values(keepalived_state{environment=\"$environment\",host=~\"$host\"},name)",
"refresh": 1,
@@ -6119,6 +638,7 @@
},
"timezone": "",
"title": "Keepalived",
- "version": 3
+ "uid": null,
+ "version": 4
}
{% endraw %}
diff --git a/grafana/files/dashboards/prometheus/prometheus_performances_prometheus.json b/grafana/files/dashboards/prometheus/prometheus_performances_prometheus.json
index f7ae6f0..ed1e14e 100644
--- a/grafana/files/dashboards/prometheus/prometheus_performances_prometheus.json
+++ b/grafana/files/dashboards/prometheus/prometheus_performances_prometheus.json
@@ -4,7 +4,7 @@
"list": [
{
"builtIn": 1,
- "datasource": "prometheus",
+ "datasource": null,
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
@@ -18,7 +18,7 @@
"gnetId": null,
"graphTooltip": 0,
"id": null,
- "iteration": 1529677342097,
+ "iteration": 1544788980645,
"links": [],
"panels": [
{
@@ -74,13 +74,6 @@
"renderer": "flot",
"repeat": "instance",
"repeatDirection": "v",
- "scopedVars": {
- "instance": {
- "selected": false,
- "text": "10.0.0.21",
- "value": "10.0.0.21"
- }
- },
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
@@ -189,13 +182,6 @@
"renderer": "flot",
"repeat": "instance",
"repeatDirection": "v",
- "scopedVars": {
- "instance": {
- "selected": false,
- "text": "10.0.0.21",
- "value": "10.0.0.21"
- }
- },
"seriesOverrides": [
{
"alias": "/-/",
@@ -207,6 +193,15 @@
"steppedLine": false,
"targets": [
{
+ "expr": "go_memstats_alloc_bytes{environment=\"$environment\", instance=~\"$instance:[1-9][0-9]*\"}",
+ "format": "time_series",
+ "intervalFactor": 2,
+ "legendFormat": "allocated",
+ "metric": "go_memstats_alloc_bytes",
+ "refId": "A",
+ "step": 60
+ },
+ {
"expr": "process_resident_memory_bytes{environment=\"$environment\", instance=~\"$instance:[1-9][0-9]*\"}",
"format": "time_series",
"intervalFactor": 2,
@@ -232,15 +227,6 @@
"metric": "go_memstats_next_gc_bytes",
"refId": "C",
"step": 60
- },
- {
- "expr": "go_memstats_alloc_bytes{environment=\"$environment\", instance=~\"$instance:[1-9][0-9]*\"}",
- "format": "time_series",
- "intervalFactor": 2,
- "legendFormat": "allocated",
- "metric": "go_memstats_alloc_bytes",
- "refId": "A",
- "step": 60
}
],
"thresholds": [],
@@ -326,735 +312,6 @@
"renderer": "flot",
"repeat": "instance",
"repeatDirection": "v",
- "scopedVars": {
- "instance": {
- "selected": false,
- "text": "10.0.0.21",
- "value": "10.0.0.21"
- }
- },
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "rate(go_memstats_alloc_bytes_total{environment=\"$environment\", instance=~\"$instance:[1-9][0-9]*\"}[$rate_interval])",
- "format": "time_series",
- "intervalFactor": 2,
- "legendFormat": "allocation speed",
- "metric": "go_memstats_alloc_bytes",
- "refId": "A",
- "step": 60
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeShift": null,
- "title": "Allocations@${instance}",
- "tooltip": {
- "msResolution": false,
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "Bps",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": null,
- "decimals": 2,
- "editable": true,
- "error": false,
- "fill": 1,
- "gridPos": {
- "h": 7,
- "w": 8,
- "x": 0,
- "y": 8
- },
- "id": 51,
- "legend": {
- "alignAsTable": false,
- "avg": false,
- "current": false,
- "hideEmpty": false,
- "max": false,
- "min": false,
- "rightSide": false,
- "show": false,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "minSpan": 2,
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeat": null,
- "repeatDirection": "v",
- "repeatIteration": 1529677342097,
- "repeatPanelId": 9,
- "scopedVars": {
- "instance": {
- "selected": false,
- "text": "10.0.0.23",
- "value": "10.0.0.23"
- }
- },
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "rate(process_cpu_seconds_total{environment=\"$environment\", instance=~\"$instance:[1-9][0-9]*\"}[$rate_interval])",
- "format": "time_series",
- "intervalFactor": 2,
- "legendFormat": "CPU seconds",
- "metric": "prometheus_local_storage_ingested_samples_total",
- "refId": "B",
- "step": 60
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeShift": null,
- "title": "CPU@${instance}",
- "tooltip": {
- "msResolution": false,
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": [
- "avg"
- ]
- },
- "yaxes": [
- {
- "format": "none",
- "label": "Seconds / Second",
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {
- "Allocated bytes": "#7EB26D",
- "Allocated bytes - 1m max": "#BF1B00",
- "Allocated bytes - 1m min": "#BF1B00",
- "Allocated bytes - 5m max": "#BF1B00",
- "Allocated bytes - 5m min": "#BF1B00",
- "Chunks": "#1F78C1",
- "Chunks to persist": "#508642",
- "Max chunks": "#052B51",
- "Max to persist": "#3F6833",
- "RSS": "#447EBC"
- },
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": null,
- "decimals": null,
- "editable": true,
- "error": false,
- "fill": 1,
- "gridPos": {
- "h": 7,
- "w": 8,
- "x": 8,
- "y": 8
- },
- "id": 53,
- "legend": {
- "alignAsTable": true,
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "rightSide": true,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "minSpan": 2,
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeat": null,
- "repeatDirection": "v",
- "repeatIteration": 1529677342097,
- "repeatPanelId": 6,
- "scopedVars": {
- "instance": {
- "selected": false,
- "text": "10.0.0.23",
- "value": "10.0.0.23"
- }
- },
- "seriesOverrides": [
- {
- "alias": "/-/",
- "fill": 0
- }
- ],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "process_resident_memory_bytes{environment=\"$environment\", instance=~\"$instance:[1-9][0-9]*\"}",
- "format": "time_series",
- "intervalFactor": 2,
- "legendFormat": "RSS",
- "metric": "process_resident_memory_bytes",
- "refId": "B",
- "step": 60
- },
- {
- "expr": "prometheus_local_storage_target_heap_size_bytes{environment=\"$environment\", instance=~\"$instance:[1-9][0-9]*\"}",
- "format": "time_series",
- "intervalFactor": 2,
- "legendFormat": "target heap size",
- "metric": "go_memstats_alloc_bytes",
- "refId": "D",
- "step": 60
- },
- {
- "expr": "go_memstats_next_gc_bytes{environment=\"$environment\", instance=~\"$instance:[1-9][0-9]*\"}",
- "format": "time_series",
- "intervalFactor": 2,
- "legendFormat": "next GC",
- "metric": "go_memstats_next_gc_bytes",
- "refId": "C",
- "step": 60
- },
- {
- "expr": "go_memstats_alloc_bytes{environment=\"$environment\", instance=~\"$instance:[1-9][0-9]*\"}",
- "format": "time_series",
- "intervalFactor": 2,
- "legendFormat": "allocated",
- "metric": "go_memstats_alloc_bytes",
- "refId": "A",
- "step": 60
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeShift": null,
- "title": "Memory@${instance}",
- "tooltip": {
- "msResolution": false,
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "bytes",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {
- "Allocated bytes": "#F9BA8F",
- "Chunks": "#1F78C1",
- "Chunks to persist": "#508642",
- "Max chunks": "#052B51",
- "Max to persist": "#3F6833",
- "RSS": "#890F02"
- },
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": null,
- "editable": true,
- "error": false,
- "fill": 1,
- "gridPos": {
- "h": 7,
- "w": 8,
- "x": 16,
- "y": 8
- },
- "id": 55,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": false,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeat": null,
- "repeatDirection": "v",
- "repeatIteration": 1529677342097,
- "repeatPanelId": 7,
- "scopedVars": {
- "instance": {
- "selected": false,
- "text": "10.0.0.23",
- "value": "10.0.0.23"
- }
- },
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "rate(go_memstats_alloc_bytes_total{environment=\"$environment\", instance=~\"$instance:[1-9][0-9]*\"}[$rate_interval])",
- "format": "time_series",
- "intervalFactor": 2,
- "legendFormat": "allocation speed",
- "metric": "go_memstats_alloc_bytes",
- "refId": "A",
- "step": 60
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeShift": null,
- "title": "Allocations@${instance}",
- "tooltip": {
- "msResolution": false,
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "Bps",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": null,
- "decimals": 2,
- "editable": true,
- "error": false,
- "fill": 1,
- "gridPos": {
- "h": 7,
- "w": 8,
- "x": 0,
- "y": 15
- },
- "id": 52,
- "legend": {
- "alignAsTable": false,
- "avg": false,
- "current": false,
- "hideEmpty": false,
- "max": false,
- "min": false,
- "rightSide": false,
- "show": false,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "minSpan": 2,
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeat": null,
- "repeatDirection": "v",
- "repeatIteration": 1529677342097,
- "repeatPanelId": 9,
- "scopedVars": {
- "instance": {
- "selected": false,
- "text": "10.0.0.33",
- "value": "10.0.0.33"
- }
- },
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "rate(process_cpu_seconds_total{environment=\"$environment\", instance=~\"$instance:[1-9][0-9]*\"}[$rate_interval])",
- "format": "time_series",
- "intervalFactor": 2,
- "legendFormat": "CPU seconds",
- "metric": "prometheus_local_storage_ingested_samples_total",
- "refId": "B",
- "step": 60
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeShift": null,
- "title": "CPU@${instance}",
- "tooltip": {
- "msResolution": false,
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": [
- "avg"
- ]
- },
- "yaxes": [
- {
- "format": "none",
- "label": "Seconds / Second",
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {
- "Allocated bytes": "#7EB26D",
- "Allocated bytes - 1m max": "#BF1B00",
- "Allocated bytes - 1m min": "#BF1B00",
- "Allocated bytes - 5m max": "#BF1B00",
- "Allocated bytes - 5m min": "#BF1B00",
- "Chunks": "#1F78C1",
- "Chunks to persist": "#508642",
- "Max chunks": "#052B51",
- "Max to persist": "#3F6833",
- "RSS": "#447EBC"
- },
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": null,
- "decimals": null,
- "editable": true,
- "error": false,
- "fill": 1,
- "gridPos": {
- "h": 7,
- "w": 8,
- "x": 8,
- "y": 15
- },
- "id": 54,
- "legend": {
- "alignAsTable": true,
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "rightSide": true,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "minSpan": 2,
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeat": null,
- "repeatDirection": "v",
- "repeatIteration": 1529677342097,
- "repeatPanelId": 6,
- "scopedVars": {
- "instance": {
- "selected": false,
- "text": "10.0.0.33",
- "value": "10.0.0.33"
- }
- },
- "seriesOverrides": [
- {
- "alias": "/-/",
- "fill": 0
- }
- ],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "process_resident_memory_bytes{environment=\"$environment\", instance=~\"$instance:[1-9][0-9]*\"}",
- "format": "time_series",
- "intervalFactor": 2,
- "legendFormat": "RSS",
- "metric": "process_resident_memory_bytes",
- "refId": "B",
- "step": 60
- },
- {
- "expr": "prometheus_local_storage_target_heap_size_bytes{environment=\"$environment\", instance=~\"$instance:[1-9][0-9]*\"}",
- "format": "time_series",
- "intervalFactor": 2,
- "legendFormat": "target heap size",
- "metric": "go_memstats_alloc_bytes",
- "refId": "D",
- "step": 60
- },
- {
- "expr": "go_memstats_next_gc_bytes{environment=\"$environment\", instance=~\"$instance:[1-9][0-9]*\"}",
- "format": "time_series",
- "intervalFactor": 2,
- "legendFormat": "next GC",
- "metric": "go_memstats_next_gc_bytes",
- "refId": "C",
- "step": 60
- },
- {
- "expr": "go_memstats_alloc_bytes{environment=\"$environment\", instance=~\"$instance:[1-9][0-9]*\"}",
- "format": "time_series",
- "intervalFactor": 2,
- "legendFormat": "allocated",
- "metric": "go_memstats_alloc_bytes",
- "refId": "A",
- "step": 60
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeShift": null,
- "title": "Memory@${instance}",
- "tooltip": {
- "msResolution": false,
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "bytes",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {
- "Allocated bytes": "#F9BA8F",
- "Chunks": "#1F78C1",
- "Chunks to persist": "#508642",
- "Max chunks": "#052B51",
- "Max to persist": "#3F6833",
- "RSS": "#890F02"
- },
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": null,
- "editable": true,
- "error": false,
- "fill": 1,
- "gridPos": {
- "h": 7,
- "w": 8,
- "x": 16,
- "y": 15
- },
- "id": 56,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": false,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeat": null,
- "repeatDirection": "v",
- "repeatIteration": 1529677342097,
- "repeatPanelId": 7,
- "scopedVars": {
- "instance": {
- "selected": false,
- "text": "10.0.0.33",
- "value": "10.0.0.33"
- }
- },
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
@@ -1117,7 +374,7 @@
"h": 1,
"w": 24,
"x": 0,
- "y": 22
+ "y": 8
},
"id": 50,
"panels": [],
@@ -1143,7 +400,7 @@
"h": 7,
"w": 24,
"x": 0,
- "y": 23
+ "y": 9
},
"id": 24,
"legend": {
@@ -1168,231 +425,6 @@
"renderer": "flot",
"repeat": "instance",
"repeatDirection": "v",
- "scopedVars": {
- "instance": {
- "selected": false,
- "text": "10.0.0.21",
- "value": "10.0.0.21"
- }
- },
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": true,
- "steppedLine": false,
- "targets": [
- {
- "expr": "rate(prometheus_engine_query_duration_seconds_sum{environment=\"$environment\", instance=~\"$instance:[1-9][0-9]*\"}[$rate_interval])",
- "format": "time_series",
- "intervalFactor": 2,
- "legendFormat": "{{ slice }}",
- "metric": "prometheus_local_storage_memory_chunkdescs",
- "refId": "A",
- "step": 60
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeShift": null,
- "title": "Query Engine Speed Rate@${instance}",
- "tooltip": {
- "msResolution": false,
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "s",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {
- "Chunks": "#1F78C1",
- "Chunks to persist": "#508642",
- "Max chunks": "#052B51",
- "Max to persist": "#3F6833"
- },
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": null,
- "description": "Time spent in each mode, per second",
- "editable": true,
- "error": false,
- "fill": 1,
- "gridPos": {
- "h": 7,
- "w": 24,
- "x": 0,
- "y": 30
- },
- "id": 57,
- "legend": {
- "alignAsTable": true,
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "rightSide": true,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "minSpan": 2,
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeat": null,
- "repeatDirection": "v",
- "repeatIteration": 1529677342097,
- "repeatPanelId": 24,
- "scopedVars": {
- "instance": {
- "selected": false,
- "text": "10.0.0.23",
- "value": "10.0.0.23"
- }
- },
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": true,
- "steppedLine": false,
- "targets": [
- {
- "expr": "rate(prometheus_engine_query_duration_seconds_sum{environment=\"$environment\", instance=~\"$instance:[1-9][0-9]*\"}[$rate_interval])",
- "format": "time_series",
- "intervalFactor": 2,
- "legendFormat": "{{ slice }}",
- "metric": "prometheus_local_storage_memory_chunkdescs",
- "refId": "A",
- "step": 60
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeShift": null,
- "title": "Query Engine Speed Rate@${instance}",
- "tooltip": {
- "msResolution": false,
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "s",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {
- "Chunks": "#1F78C1",
- "Chunks to persist": "#508642",
- "Max chunks": "#052B51",
- "Max to persist": "#3F6833"
- },
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": null,
- "description": "Time spent in each mode, per second",
- "editable": true,
- "error": false,
- "fill": 1,
- "gridPos": {
- "h": 7,
- "w": 24,
- "x": 0,
- "y": 37
- },
- "id": 58,
- "legend": {
- "alignAsTable": true,
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "rightSide": true,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "minSpan": 2,
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeat": null,
- "repeatDirection": "v",
- "repeatIteration": 1529677342097,
- "repeatPanelId": 24,
- "scopedVars": {
- "instance": {
- "selected": false,
- "text": "10.0.0.33",
- "value": "10.0.0.33"
- }
- },
"seriesOverrides": [],
"spaceLength": 10,
"stack": true,
@@ -1455,7 +487,7 @@
"h": 1,
"w": 24,
"x": 0,
- "y": 44
+ "y": 16
},
"id": 37,
"panels": [],
@@ -1481,7 +513,7 @@
"h": 7,
"w": 8,
"x": 0,
- "y": 45
+ "y": 17
},
"id": 3,
"legend": {
@@ -1577,7 +609,7 @@
"h": 7,
"w": 8,
"x": 8,
- "y": 45
+ "y": 17
},
"id": 26,
"legend": {
@@ -1670,7 +702,7 @@
"h": 7,
"w": 8,
"x": 16,
- "y": 45
+ "y": 17
},
"id": 1,
"legend": {
@@ -1754,7 +786,7 @@
"h": 1,
"w": 24,
"x": 0,
- "y": 52
+ "y": 24
},
"id": 43,
"panels": [],
@@ -1780,7 +812,7 @@
"h": 7,
"w": 12,
"x": 0,
- "y": 53
+ "y": 25
},
"id": 2,
"legend": {
@@ -1881,7 +913,7 @@
"h": 7,
"w": 12,
"x": 12,
- "y": 53
+ "y": 25
},
"id": 4,
"legend": {
@@ -1977,7 +1009,7 @@
"h": 7,
"w": 12,
"x": 0,
- "y": 60
+ "y": 32
},
"id": 14,
"legend": {
@@ -2079,7 +1111,7 @@
"h": 7,
"w": 12,
"x": 12,
- "y": 60
+ "y": 32
},
"id": 25,
"legend": {
@@ -2163,7 +1195,7 @@
"h": 1,
"w": 24,
"x": 0,
- "y": 67
+ "y": 39
},
"id": 45,
"panels": [],
@@ -2190,7 +1222,7 @@
"h": 7,
"w": 12,
"x": 0,
- "y": 68
+ "y": 40
},
"id": 32,
"legend": {
@@ -2218,20 +1250,27 @@
"steppedLine": false,
"targets": [
{
- "expr": "rate(prometheus_tsdb_wal_corruptions_total{environment=\"$environment\"}[$rate_interval])",
+ "expr": "prometheus_tsdb_wal_truncations_failed_total{environment=\"$environment\"}",
"format": "time_series",
"interval": "",
"intervalFactor": 2,
- "legendFormat": "{{ instance }}",
+ "legendFormat": "failed@{{ instance }}",
"metric": "prometheus_local_storage_series_chunks_persisted_count",
"refId": "A",
"step": 60
+ },
+ {
+ "expr": "prometheus_tsdb_wal_truncations_total{environment=\"$environment\"}",
+ "format": "time_series",
+ "intervalFactor": 1,
+ "legendFormat": "total@{{instance}}",
+ "refId": "B"
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
- "title": "WAL Corruption Rate",
+ "title": "WAL Truncations",
"tooltip": {
"msResolution": false,
"shared": true,
@@ -2288,7 +1327,7 @@
"h": 7,
"w": 12,
"x": 12,
- "y": 68
+ "y": 40
},
"id": 31,
"legend": {
@@ -2316,7 +1355,7 @@
"steppedLine": false,
"targets": [
{
- "expr": "rate(prometheus_tsdb_wal_fsync_duration_seconds_sum{environment=\"$environment\"}[$rate_interval]) / rate(prometheus_tsdb_wal_fsync_duration_seconds_count{environment=\"$environment\"}[$rate_interval])",
+ "expr": "prometheus_tsdb_wal_fsync_duration_seconds_sum{environment=\"$environment\"} / prometheus_tsdb_wal_fsync_duration_seconds_count{environment=\"$environment\"}",
"format": "time_series",
"interval": "",
"intervalFactor": 2,
@@ -2387,7 +1426,7 @@
"h": 7,
"w": 12,
"x": 0,
- "y": 75
+ "y": 47
},
"id": 30,
"legend": {
@@ -2493,7 +1532,7 @@
"h": 7,
"w": 12,
"x": 12,
- "y": 75
+ "y": 47
},
"id": 29,
"legend": {
@@ -2577,7 +1616,7 @@
"h": 1,
"w": 24,
"x": 0,
- "y": 82
+ "y": 54
},
"id": 41,
"panels": [],
@@ -2603,7 +1642,7 @@
"h": 7,
"w": 8,
"x": 0,
- "y": 83
+ "y": 55
},
"id": 19,
"legend": {
@@ -2711,7 +1750,7 @@
"h": 7,
"w": 8,
"x": 8,
- "y": 83
+ "y": 55
},
"id": 8,
"legend": {
@@ -2807,7 +1846,7 @@
"h": 7,
"w": 8,
"x": 16,
- "y": 83
+ "y": 55
},
"id": 33,
"legend": {
@@ -2903,7 +1942,7 @@
"h": 7,
"w": 8,
"x": 0,
- "y": 90
+ "y": 62
},
"id": 27,
"legend": {
@@ -2931,8 +1970,9 @@
"steppedLine": false,
"targets": [
{
- "expr": "rate(prometheus_tsdb_compaction_chunk_range_sum{environment=\"$environment\"}[$rate_interval]) / rate(prometheus_tsdb_compaction_chunk_range_count{environment=\"$environment\"}[$rate_interval])",
+ "expr": "prometheus_tsdb_compaction_chunk_range_seconds_sum{environment=\"$environment\"} / prometheus_tsdb_compaction_chunk_range_seconds_count{environment=\"$environment\"}",
"format": "time_series",
+ "hide": false,
"intervalFactor": 2,
"legendFormat": "{{ instance }}",
"metric": "prometheus_local_storage_series_chunks_persisted_count",
@@ -2961,7 +2001,7 @@
"yaxes": [
{
"decimals": null,
- "format": "short",
+ "format": "s",
"label": "",
"logBase": 1,
"max": null,
@@ -3000,7 +2040,7 @@
"h": 7,
"w": 8,
"x": 8,
- "y": 90
+ "y": 62
},
"id": 34,
"legend": {
@@ -3028,7 +2068,7 @@
"steppedLine": false,
"targets": [
{
- "expr": "rate(prometheus_tsdb_compaction_chunk_samples_sum{environment=\"$environment\"}[$rate_interval]) / rate(prometheus_tsdb_compaction_chunk_samples_count{environment=\"$environment\"}[$rate_interval])",
+ "expr": "prometheus_tsdb_compaction_chunk_samples_sum{environment=\"$environment\"} / prometheus_tsdb_compaction_chunk_samples_count{environment=\"$environment\"}",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "{{ instance }}",
@@ -3096,7 +2136,7 @@
"h": 7,
"w": 8,
"x": 16,
- "y": 90
+ "y": 62
},
"id": 35,
"legend": {
@@ -3124,7 +2164,7 @@
"steppedLine": false,
"targets": [
{
- "expr": "rate(prometheus_tsdb_compaction_chunk_size_sum{environment=\"$environment\"}[$rate_interval]) / rate(prometheus_tsdb_compaction_chunk_samples_sum{environment=\"$environment\"}[$rate_interval])",
+ "expr": "prometheus_tsdb_compaction_chunk_size_bytes_sum{environment=\"$environment\"} / prometheus_tsdb_compaction_chunk_samples_sum{environment=\"$environment\"}",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "{{ instance }}",
@@ -3187,7 +2227,7 @@
{
"allValue": null,
"current": null,
- "datasource": "prometheus",
+ "datasource": null,
"hide": 0,
"includeAll": false,
"label": null,
@@ -3197,6 +2237,7 @@
"query": "label_values(environment)",
"refresh": 1,
"regex": "",
+ "skipUrlSync": false,
"sort": 0,
"tagValuesQuery": "",
"tags": [],
@@ -3206,13 +2247,7 @@
},
{
"allValue": null,
- "current": {
- "tags": [],
- "text": "All",
- "value": [
- "$__all"
- ]
- },
+ "current": {},
"datasource": null,
"hide": 0,
"includeAll": true,
@@ -3220,9 +2255,10 @@
"multi": true,
"name": "instance",
"options": [],
- "query": "query_result(up{environment=\"$environment\", job=\"prometheus\"} == 1)",
+ "query": "query_result(up{environment=\"$environment\", job=~\"prometheus|prometheus_lts\"})",
"refresh": 1,
"regex": ".*instance=\"([^\"]+):9090\".*",
+ "skipUrlSync": false,
"sort": 0,
"tagValuesQuery": null,
"tags": [],
@@ -3275,6 +2311,7 @@
}
],
"query": "1m,3m,5m,10m,15m",
+ "skipUrlSync": false,
"type": "custom"
}
]
diff --git a/grafana/files/dashboards/prometheus/prometheus_stats_prometheus.json b/grafana/files/dashboards/prometheus/prometheus_stats_prometheus.json
index db20d63..9d8c5c0 100644
--- a/grafana/files/dashboards/prometheus/prometheus_stats_prometheus.json
+++ b/grafana/files/dashboards/prometheus/prometheus_stats_prometheus.json
@@ -4,7 +4,7 @@
"list": [
{
"builtIn": 1,
- "datasource": "prometheus",
+ "datasource": null,
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
@@ -18,7 +18,7 @@
"gnetId": null,
"graphTooltip": 0,
"id": null,
- "iteration": 1529933876190,
+ "iteration": 1544626722178,
"links": [],
"panels": [
{
@@ -57,7 +57,7 @@
},
"gridPos": {
"h": 3,
- "w": 8,
+ "w": 4,
"x": 0,
"y": 1
},
@@ -92,13 +92,6 @@
],
"repeat": "instance",
"repeatDirection": "h",
- "scopedVars": {
- "instance": {
- "selected": false,
- "text": "10.0.0.13",
- "value": "10.0.0.13"
- }
- },
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
@@ -108,219 +101,7 @@
"tableColumn": "",
"targets": [
{
- "expr": "up{environment=\"$environment\", job=\"prometheus\",instance=~\"$instance:[1-9][0-9]*\"}",
- "format": "time_series",
- "intervalFactor": 2,
- "refId": "A",
- "step": 40
- }
- ],
- "thresholds": "1,1",
- "title": "Prometheus@${instance}",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- },
- {
- "op": "=",
- "text": "FAIL",
- "value": "0"
- },
- {
- "op": "=",
- "text": "OK",
- "value": "1"
- }
- ],
- "valueName": "current"
- },
- {
- "cacheTimeout": null,
- "colorBackground": true,
- "colorValue": false,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "#299c46"
- ],
- "datasource": null,
- "decimals": null,
- "editable": true,
- "error": false,
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 3,
- "w": 8,
- "x": 8,
- "y": 1
- },
- "id": 28,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "minSpan": 3,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeat": null,
- "repeatDirection": "h",
- "repeatIteration": 1529933876190,
- "repeatPanelId": 5,
- "scopedVars": {
- "instance": {
- "selected": false,
- "text": "10.0.0.8",
- "value": "10.0.0.8"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "up{environment=\"$environment\", job=\"prometheus\",instance=~\"$instance:[1-9][0-9]*\"}",
- "format": "time_series",
- "intervalFactor": 2,
- "refId": "A",
- "step": 40
- }
- ],
- "thresholds": "1,1",
- "title": "Prometheus@${instance}",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- },
- {
- "op": "=",
- "text": "FAIL",
- "value": "0"
- },
- {
- "op": "=",
- "text": "OK",
- "value": "1"
- }
- ],
- "valueName": "current"
- },
- {
- "cacheTimeout": null,
- "colorBackground": true,
- "colorValue": false,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "#299c46"
- ],
- "datasource": null,
- "decimals": null,
- "editable": true,
- "error": false,
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 3,
- "w": 8,
- "x": 16,
- "y": 1
- },
- "id": 29,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "minSpan": 3,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeat": null,
- "repeatDirection": "h",
- "repeatIteration": 1529933876190,
- "repeatPanelId": 5,
- "scopedVars": {
- "instance": {
- "selected": false,
- "text": "127.0.0.1",
- "value": "127.0.0.1"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "up{environment=\"$environment\", job=\"prometheus\",instance=~\"$instance:[1-9][0-9]*\"}",
+ "expr": "up{environment=\"$environment\",job=~\"prometheus|prometheus_lts\",instance=~\"$instance:[1-9][0-9]*\"}",
"format": "time_series",
"intervalFactor": 2,
"refId": "A",
@@ -372,7 +153,7 @@
},
"gridPos": {
"h": 3,
- "w": 8,
+ "w": 4,
"x": 0,
"y": 4
},
@@ -407,13 +188,6 @@
],
"repeat": "instance",
"repeatDirection": "h",
- "scopedVars": {
- "instance": {
- "selected": false,
- "text": "10.0.0.13",
- "value": "10.0.0.13"
- }
- },
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
@@ -423,207 +197,7 @@
"tableColumn": "",
"targets": [
{
- "expr": "prometheus_config_last_reload_successful{environment=\"$environment\", instance=~\"$instance:[1-9][0-9]*\"}",
- "format": "time_series",
- "intervalFactor": 2,
- "refId": "A",
- "step": 40
- }
- ],
- "thresholds": "0:1",
- "title": "Config Reload@${instance}",
- "type": "singlestat",
- "valueFontSize": "70%",
- "valueMaps": [
- {
- "op": "=",
- "text": "Failure",
- "value": "0"
- },
- {
- "op": "=",
- "text": "Success",
- "value": "1"
- }
- ],
- "valueName": "current"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": true,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "rgba(245, 54, 54, 0.9)"
- ],
- "datasource": null,
- "editable": true,
- "error": false,
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 3,
- "w": 8,
- "x": 8,
- "y": 4
- },
- "id": 30,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "minSpan": 4,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeat": null,
- "repeatDirection": "h",
- "repeatIteration": 1529933876190,
- "repeatPanelId": 16,
- "scopedVars": {
- "instance": {
- "selected": false,
- "text": "10.0.0.8",
- "value": "10.0.0.8"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "prometheus_config_last_reload_successful{environment=\"$environment\", instance=~\"$instance:[1-9][0-9]*\"}",
- "format": "time_series",
- "intervalFactor": 2,
- "refId": "A",
- "step": 40
- }
- ],
- "thresholds": "0:1",
- "title": "Config Reload@${instance}",
- "type": "singlestat",
- "valueFontSize": "70%",
- "valueMaps": [
- {
- "op": "=",
- "text": "Failure",
- "value": "0"
- },
- {
- "op": "=",
- "text": "Success",
- "value": "1"
- }
- ],
- "valueName": "current"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": true,
- "colors": [
- "#299c46",
- "rgba(237, 129, 40, 0.89)",
- "rgba(245, 54, 54, 0.9)"
- ],
- "datasource": null,
- "editable": true,
- "error": false,
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 3,
- "w": 8,
- "x": 16,
- "y": 4
- },
- "id": 31,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "minSpan": 4,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeat": null,
- "repeatDirection": "h",
- "repeatIteration": 1529933876190,
- "repeatPanelId": 16,
- "scopedVars": {
- "instance": {
- "selected": false,
- "text": "127.0.0.1",
- "value": "127.0.0.1"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "prometheus_config_last_reload_successful{environment=\"$environment\", instance=~\"$instance:[1-9][0-9]*\"}",
+ "expr": "prometheus_config_last_reload_successful{environment=\"$environment\",instance=~\"$instance:[1-9][0-9]*\"}",
"format": "time_series",
"intervalFactor": 2,
"refId": "A",
@@ -720,13 +294,6 @@
],
"repeat": "instance",
"repeatDirection": "v",
- "scopedVars": {
- "instance": {
- "selected": false,
- "text": "10.0.0.13",
- "value": "10.0.0.13"
- }
- },
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
@@ -736,7 +303,7 @@
"tableColumn": "",
"targets": [
{
- "expr": "(time() - process_start_time_seconds{environment=\"$environment\", job=\"prometheus\", instance=~\"$instance:[1-9][0-9]*\"})",
+ "expr": "(time() - process_start_time_seconds{environment=\"$environment\",job=~\"prometheus|prometheus_lts\", instance=~\"$instance:[1-9][0-9]*\"})",
"format": "time_series",
"intervalFactor": 2,
"refId": "A",
@@ -813,13 +380,6 @@
],
"repeat": "instance",
"repeatDirection": "v",
- "scopedVars": {
- "instance": {
- "selected": false,
- "text": "10.0.0.13",
- "value": "10.0.0.13"
- }
- },
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
@@ -829,7 +389,7 @@
"tableColumn": "",
"targets": [
{
- "expr": "prometheus_tsdb_head_series{environment=\"$environment\", instance=~\"$instance:[1-9][0-9]*\"}",
+ "expr": "prometheus_tsdb_head_series{environment=\"$environment\",instance=~\"$instance:[1-9][0-9]*\"}",
"format": "time_series",
"intervalFactor": 2,
"refId": "A",
@@ -900,13 +460,6 @@
],
"repeat": "instance",
"repeatDirection": "v",
- "scopedVars": {
- "instance": {
- "selected": false,
- "text": "10.0.0.13",
- "value": "10.0.0.13"
- }
- },
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
@@ -916,569 +469,7 @@
"tableColumn": "",
"targets": [
{
- "expr": "sum(prometheus_tsdb_head_chunks{environment=\"$environment\", instance=~\"$instance:[1-9][0-9]*\"})",
- "format": "time_series",
- "intervalFactor": 2,
- "refId": "A",
- "step": 40
- }
- ],
- "thresholds": "500,4000",
- "title": "Memory Chunks@${instance}",
- "type": "singlestat",
- "valueFontSize": "70%",
- "valueMaps": [
- {
- "op": "=",
- "text": "Empty",
- "value": "0"
- }
- ],
- "valueName": "current"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "datasource": null,
- "decimals": 1,
- "description": "",
- "editable": true,
- "error": false,
- "format": "s",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 3,
- "w": 8,
- "x": 0,
- "y": 11
- },
- "id": 32,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "minSpan": 4,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeat": null,
- "repeatDirection": "v",
- "repeatIteration": 1529933876190,
- "repeatPanelId": 23,
- "scopedVars": {
- "instance": {
- "selected": false,
- "text": "10.0.0.8",
- "value": "10.0.0.8"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "(time() - process_start_time_seconds{environment=\"$environment\", job=\"prometheus\", instance=~\"$instance:[1-9][0-9]*\"})",
- "format": "time_series",
- "intervalFactor": 2,
- "refId": "A",
- "step": 40
- }
- ],
- "thresholds": "",
- "title": "Uptime@${instance}",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "rgba(50, 172, 45, 0.97)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(245, 54, 54, 0.9)"
- ],
- "datasource": null,
- "editable": true,
- "error": false,
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 3,
- "w": 8,
- "x": 8,
- "y": 11
- },
- "id": 34,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "minSpan": 4,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeat": null,
- "repeatDirection": "v",
- "repeatIteration": 1529933876190,
- "repeatPanelId": 6,
- "scopedVars": {
- "instance": {
- "selected": false,
- "text": "10.0.0.8",
- "value": "10.0.0.8"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": true
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "prometheus_tsdb_head_series{environment=\"$environment\", instance=~\"$instance:[1-9][0-9]*\"}",
- "format": "time_series",
- "intervalFactor": 2,
- "refId": "A",
- "step": 40
- }
- ],
- "thresholds": "1,5",
- "title": "Total Series@${instance}",
- "type": "singlestat",
- "valueFontSize": "70%",
- "valueMaps": [],
- "valueName": "current"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "rgba(50, 172, 45, 0.97)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(245, 54, 54, 0.9)"
- ],
- "datasource": null,
- "editable": true,
- "error": false,
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 3,
- "w": 8,
- "x": 16,
- "y": 11
- },
- "id": 36,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "minSpan": 4,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeat": null,
- "repeatDirection": "v",
- "repeatIteration": 1529933876190,
- "repeatPanelId": 7,
- "scopedVars": {
- "instance": {
- "selected": false,
- "text": "10.0.0.8",
- "value": "10.0.0.8"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": true
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "sum(prometheus_tsdb_head_chunks{environment=\"$environment\", instance=~\"$instance:[1-9][0-9]*\"})",
- "format": "time_series",
- "intervalFactor": 2,
- "refId": "A",
- "step": 40
- }
- ],
- "thresholds": "500,4000",
- "title": "Memory Chunks@${instance}",
- "type": "singlestat",
- "valueFontSize": "70%",
- "valueMaps": [
- {
- "op": "=",
- "text": "Empty",
- "value": "0"
- }
- ],
- "valueName": "current"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "datasource": null,
- "decimals": 1,
- "description": "",
- "editable": true,
- "error": false,
- "format": "s",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 3,
- "w": 8,
- "x": 0,
- "y": 14
- },
- "id": 33,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "minSpan": 4,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeat": null,
- "repeatDirection": "v",
- "repeatIteration": 1529933876190,
- "repeatPanelId": 23,
- "scopedVars": {
- "instance": {
- "selected": false,
- "text": "127.0.0.1",
- "value": "127.0.0.1"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": false
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "(time() - process_start_time_seconds{environment=\"$environment\", job=\"prometheus\", instance=~\"$instance:[1-9][0-9]*\"})",
- "format": "time_series",
- "intervalFactor": 2,
- "refId": "A",
- "step": 40
- }
- ],
- "thresholds": "",
- "title": "Uptime@${instance}",
- "type": "singlestat",
- "valueFontSize": "80%",
- "valueMaps": [
- {
- "op": "=",
- "text": "N/A",
- "value": "null"
- }
- ],
- "valueName": "current"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "rgba(50, 172, 45, 0.97)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(245, 54, 54, 0.9)"
- ],
- "datasource": null,
- "editable": true,
- "error": false,
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 3,
- "w": 8,
- "x": 8,
- "y": 14
- },
- "id": 35,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "minSpan": 4,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeat": null,
- "repeatDirection": "v",
- "repeatIteration": 1529933876190,
- "repeatPanelId": 6,
- "scopedVars": {
- "instance": {
- "selected": false,
- "text": "127.0.0.1",
- "value": "127.0.0.1"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": true
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "prometheus_tsdb_head_series{environment=\"$environment\", instance=~\"$instance:[1-9][0-9]*\"}",
- "format": "time_series",
- "intervalFactor": 2,
- "refId": "A",
- "step": 40
- }
- ],
- "thresholds": "1,5",
- "title": "Total Series@${instance}",
- "type": "singlestat",
- "valueFontSize": "70%",
- "valueMaps": [],
- "valueName": "current"
- },
- {
- "cacheTimeout": null,
- "colorBackground": false,
- "colorValue": false,
- "colors": [
- "rgba(50, 172, 45, 0.97)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(245, 54, 54, 0.9)"
- ],
- "datasource": null,
- "editable": true,
- "error": false,
- "format": "none",
- "gauge": {
- "maxValue": 100,
- "minValue": 0,
- "show": false,
- "thresholdLabels": false,
- "thresholdMarkers": true
- },
- "gridPos": {
- "h": 3,
- "w": 8,
- "x": 16,
- "y": 14
- },
- "id": 37,
- "interval": null,
- "links": [],
- "mappingType": 1,
- "mappingTypes": [
- {
- "name": "value to text",
- "value": 1
- },
- {
- "name": "range to text",
- "value": 2
- }
- ],
- "maxDataPoints": 100,
- "minSpan": 4,
- "nullPointMode": "connected",
- "nullText": null,
- "postfix": "",
- "postfixFontSize": "50%",
- "prefix": "",
- "prefixFontSize": "50%",
- "rangeMaps": [
- {
- "from": "null",
- "text": "N/A",
- "to": "null"
- }
- ],
- "repeat": null,
- "repeatDirection": "v",
- "repeatIteration": 1529933876190,
- "repeatPanelId": 7,
- "scopedVars": {
- "instance": {
- "selected": false,
- "text": "127.0.0.1",
- "value": "127.0.0.1"
- }
- },
- "sparkline": {
- "fillColor": "rgba(31, 118, 189, 0.18)",
- "full": false,
- "lineColor": "rgb(31, 120, 193)",
- "show": true
- },
- "tableColumn": "",
- "targets": [
- {
- "expr": "sum(prometheus_tsdb_head_chunks{environment=\"$environment\", instance=~\"$instance:[1-9][0-9]*\"})",
+ "expr": "sum(prometheus_tsdb_head_chunks{environment=\"$environment\",instance=~\"$instance:[1-9][0-9]*\"})",
"format": "time_series",
"intervalFactor": 2,
"refId": "A",
@@ -1504,7 +495,7 @@
"h": 1,
"w": 24,
"x": 0,
- "y": 17
+ "y": 11
},
"id": 25,
"panels": [],
@@ -1529,7 +520,7 @@
"h": 7,
"w": 24,
"x": 0,
- "y": 18
+ "y": 12
},
"id": 3,
"legend": {
@@ -1626,7 +617,7 @@
"h": 7,
"w": 12,
"x": 0,
- "y": 25
+ "y": 19
},
"id": 17,
"legend": {
@@ -1651,21 +642,15 @@
"renderer": "flot",
"repeat": "instance",
"repeatDirection": "v",
- "scopedVars": {
- "instance": {
- "selected": false,
- "text": "10.0.0.13",
- "value": "10.0.0.13"
- }
- },
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
- "expr": "rate(http_request_duration_microseconds_count{environment=\"$environment\", handler=~\"query|query_range\",instance=~\"$instance:[1-9][0-9]*\"}[$rate_interval])",
+ "expr": "rate(prometheus_http_request_duration_seconds_count{environment=\"$environment\",handler=~\"/(query|query_range)\",instance=~\"$instance:[1-9][0-9]*\"}[$rate_interval])",
"format": "time_series",
+ "hide": false,
"intervalFactor": 2,
"legendFormat": "{{ handler }}",
"refId": "A",
@@ -1692,7 +677,7 @@
},
"yaxes": [
{
- "format": "ms",
+ "format": "s",
"label": "",
"logBase": 1,
"max": null,
@@ -1724,7 +709,7 @@
"h": 7,
"w": 12,
"x": 12,
- "y": 25
+ "y": 19
},
"id": 18,
"legend": {
@@ -1749,20 +734,13 @@
"renderer": "flot",
"repeat": "instance",
"repeatDirection": "v",
- "scopedVars": {
- "instance": {
- "selected": false,
- "text": "10.0.0.13",
- "value": "10.0.0.13"
- }
- },
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
- "expr": "increase(prometheus_tsdb_head_series_created_total{environment=\"$environment\", instance=~\"$instance:[1-9][0-9]*\"}[$rate_interval])",
+ "expr": "increase(prometheus_tsdb_head_series_created_total{environment=\"$environment\",instance=~\"$instance:[1-9][0-9]*\"}[$rate_interval])",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "created",
@@ -1770,427 +748,7 @@
"step": 4
},
{
- "expr": "increase(prometheus_tsdb_head_series_removed_total{environment=\"$environment\", instance=~\"$instance:[1-9][0-9]*\"}[$rate_interval])",
- "format": "time_series",
- "intervalFactor": 2,
- "legendFormat": "removed",
- "refId": "B",
- "step": 4
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeShift": null,
- "title": "Series@${instance}",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": null,
- "editable": true,
- "error": false,
- "fill": 1,
- "grid": {},
- "gridPos": {
- "h": 7,
- "w": 12,
- "x": 0,
- "y": 32
- },
- "id": 38,
- "legend": {
- "alignAsTable": true,
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "rightSide": true,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "minSpan": 1,
- "nullPointMode": "connected",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeat": null,
- "repeatDirection": "v",
- "repeatIteration": 1529933876190,
- "repeatPanelId": 17,
- "scopedVars": {
- "instance": {
- "selected": false,
- "text": "10.0.0.8",
- "value": "10.0.0.8"
- }
- },
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "rate(http_request_duration_microseconds_count{environment=\"$environment\", handler=~\"query|query_range\",instance=~\"$instance:[1-9][0-9]*\"}[$rate_interval])",
- "format": "time_series",
- "intervalFactor": 2,
- "legendFormat": "{{ handler }}",
- "refId": "A",
- "step": 2
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeShift": null,
- "title": "Queries duration@${instance}",
- "tooltip": {
- "msResolution": false,
- "shared": true,
- "sort": 0,
- "value_type": "cumulative"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "ms",
- "label": "",
- "logBase": 1,
- "max": null,
- "min": 0,
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": false
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": null,
- "fill": 1,
- "gridPos": {
- "h": 7,
- "w": 12,
- "x": 12,
- "y": 32
- },
- "id": 40,
- "legend": {
- "alignAsTable": true,
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "rightSide": true,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "minSpan": 2,
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeat": null,
- "repeatDirection": "v",
- "repeatIteration": 1529933876190,
- "repeatPanelId": 18,
- "scopedVars": {
- "instance": {
- "selected": false,
- "text": "10.0.0.8",
- "value": "10.0.0.8"
- }
- },
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "increase(prometheus_tsdb_head_series_created_total{environment=\"$environment\", instance=~\"$instance:[1-9][0-9]*\"}[$rate_interval])",
- "format": "time_series",
- "intervalFactor": 2,
- "legendFormat": "created",
- "refId": "A",
- "step": 4
- },
- {
- "expr": "increase(prometheus_tsdb_head_series_removed_total{environment=\"$environment\", instance=~\"$instance:[1-9][0-9]*\"}[$rate_interval])",
- "format": "time_series",
- "intervalFactor": 2,
- "legendFormat": "removed",
- "refId": "B",
- "step": 4
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeShift": null,
- "title": "Series@${instance}",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": null,
- "editable": true,
- "error": false,
- "fill": 1,
- "grid": {},
- "gridPos": {
- "h": 7,
- "w": 12,
- "x": 0,
- "y": 39
- },
- "id": 39,
- "legend": {
- "alignAsTable": true,
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "rightSide": true,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "minSpan": 1,
- "nullPointMode": "connected",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeat": null,
- "repeatDirection": "v",
- "repeatIteration": 1529933876190,
- "repeatPanelId": 17,
- "scopedVars": {
- "instance": {
- "selected": false,
- "text": "127.0.0.1",
- "value": "127.0.0.1"
- }
- },
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "rate(http_request_duration_microseconds_count{environment=\"$environment\", handler=~\"query|query_range\",instance=~\"$instance:[1-9][0-9]*\"}[$rate_interval])",
- "format": "time_series",
- "intervalFactor": 2,
- "legendFormat": "{{ handler }}",
- "refId": "A",
- "step": 2
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeShift": null,
- "title": "Queries duration@${instance}",
- "tooltip": {
- "msResolution": false,
- "shared": true,
- "sort": 0,
- "value_type": "cumulative"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "ms",
- "label": "",
- "logBase": 1,
- "max": null,
- "min": 0,
- "show": true
- },
- {
- "format": "short",
- "label": null,
- "logBase": 1,
- "max": null,
- "min": null,
- "show": false
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": null,
- "fill": 1,
- "gridPos": {
- "h": 7,
- "w": 12,
- "x": 12,
- "y": 39
- },
- "id": 41,
- "legend": {
- "alignAsTable": true,
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "rightSide": true,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "minSpan": 2,
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeat": null,
- "repeatDirection": "v",
- "repeatIteration": 1529933876190,
- "repeatPanelId": 18,
- "scopedVars": {
- "instance": {
- "selected": false,
- "text": "127.0.0.1",
- "value": "127.0.0.1"
- }
- },
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "increase(prometheus_tsdb_head_series_created_total{environment=\"$environment\", instance=~\"$instance:[1-9][0-9]*\"}[$rate_interval])",
- "format": "time_series",
- "intervalFactor": 2,
- "legendFormat": "created",
- "refId": "A",
- "step": 4
- },
- {
- "expr": "increase(prometheus_tsdb_head_series_removed_total{environment=\"$environment\", instance=~\"$instance:[1-9][0-9]*\"}[$rate_interval])",
+ "expr": "increase(prometheus_tsdb_head_series_removed_total{environment=\"$environment\",instance=~\"$instance:[1-9][0-9]*\"}[$rate_interval])",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "removed",
@@ -2244,7 +802,7 @@
"h": 1,
"w": 24,
"x": 0,
- "y": 46
+ "y": 26
},
"id": 27,
"panels": [],
@@ -2268,7 +826,7 @@
"h": 7,
"w": 12,
"x": 0,
- "y": 47
+ "y": 27
},
"id": 2,
"legend": {
@@ -2293,20 +851,13 @@
"renderer": "flot",
"repeat": "instance",
"repeatDirection": "v",
- "scopedVars": {
- "instance": {
- "selected": false,
- "text": "10.0.0.13",
- "value": "10.0.0.13"
- }
- },
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
- "expr": "rate(prometheus_target_interval_length_seconds_count{environment=\"$environment\", instance=~\"$instance:[1-9][0-9]*\"}[$rate_interval])",
+ "expr": "rate(prometheus_target_interval_length_seconds_count{environment=\"$environment\",instance=~\"$instance:[1-9][0-9]*\"}[$rate_interval])",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "{{ instance }}",
@@ -2369,7 +920,7 @@
"h": 7,
"w": 12,
"x": 12,
- "y": 47
+ "y": 27
},
"id": 14,
"legend": {
@@ -2394,440 +945,13 @@
"renderer": "flot",
"repeat": "instance",
"repeatDirection": "v",
- "scopedVars": {
- "instance": {
- "selected": false,
- "text": "10.0.0.13",
- "value": "10.0.0.13"
- }
- },
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
- "expr": "prometheus_target_interval_length_seconds{environment=\"$environment\", quantile!=\"0.01\", quantile!=\"0.05\", instance=~\"$instance:[1-9][0-9]*\"}",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "{{ quantile }} ({{ interval }})",
- "metric": "",
- "refId": "A",
- "step": 4
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeShift": null,
- "title": "Scrape duration@${instance}",
- "tooltip": {
- "msResolution": false,
- "ordering": "alphabetical",
- "shared": true,
- "sort": 0,
- "value_type": "cumulative"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "short",
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {
- "prometheus": "#F9BA8F",
- "{instance=\"localhost:9090\",interval=\"5s\",job=\"prometheus\"}": "#F9BA8F"
- },
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": null,
- "editable": true,
- "error": false,
- "fill": 1,
- "grid": {},
- "gridPos": {
- "h": 7,
- "w": 12,
- "x": 0,
- "y": 54
- },
- "id": 42,
- "legend": {
- "alignAsTable": true,
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "rightSide": true,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "minSpan": 2,
- "nullPointMode": "connected",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeat": null,
- "repeatDirection": "v",
- "repeatIteration": 1529933876190,
- "repeatPanelId": 2,
- "scopedVars": {
- "instance": {
- "selected": false,
- "text": "10.0.0.8",
- "value": "10.0.0.8"
- }
- },
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "rate(prometheus_target_interval_length_seconds_count{environment=\"$environment\", instance=~\"$instance:[1-9][0-9]*\"}[$rate_interval])",
- "format": "time_series",
- "intervalFactor": 2,
- "legendFormat": "{{ instance }}",
- "refId": "A",
- "step": 4
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeShift": null,
- "title": "Target scrapes@${instance}",
- "tooltip": {
- "msResolution": false,
- "ordering": "alphabetical",
- "shared": true,
- "sort": 0,
- "value_type": "cumulative"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "label": "Scrapes / Second",
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "short",
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": null,
- "editable": true,
- "error": false,
- "fill": 1,
- "grid": {},
- "gridPos": {
- "h": 7,
- "w": 12,
- "x": 12,
- "y": 54
- },
- "id": 44,
- "legend": {
- "alignAsTable": true,
- "avg": true,
- "current": false,
- "max": false,
- "min": false,
- "rightSide": true,
- "show": true,
- "total": false,
- "values": true
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "minSpan": 2,
- "nullPointMode": "connected",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeat": null,
- "repeatDirection": "v",
- "repeatIteration": 1529933876190,
- "repeatPanelId": 14,
- "scopedVars": {
- "instance": {
- "selected": false,
- "text": "10.0.0.8",
- "value": "10.0.0.8"
- }
- },
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "prometheus_target_interval_length_seconds{environment=\"$environment\", quantile!=\"0.01\", quantile!=\"0.05\", instance=~\"$instance:[1-9][0-9]*\"}",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 2,
- "legendFormat": "{{ quantile }} ({{ interval }})",
- "metric": "",
- "refId": "A",
- "step": 4
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeShift": null,
- "title": "Scrape duration@${instance}",
- "tooltip": {
- "msResolution": false,
- "ordering": "alphabetical",
- "shared": true,
- "sort": 0,
- "value_type": "cumulative"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "short",
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {
- "prometheus": "#F9BA8F",
- "{instance=\"localhost:9090\",interval=\"5s\",job=\"prometheus\"}": "#F9BA8F"
- },
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": null,
- "editable": true,
- "error": false,
- "fill": 1,
- "grid": {},
- "gridPos": {
- "h": 7,
- "w": 12,
- "x": 0,
- "y": 61
- },
- "id": 43,
- "legend": {
- "alignAsTable": true,
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "rightSide": true,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "minSpan": 2,
- "nullPointMode": "connected",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeat": null,
- "repeatDirection": "v",
- "repeatIteration": 1529933876190,
- "repeatPanelId": 2,
- "scopedVars": {
- "instance": {
- "selected": false,
- "text": "127.0.0.1",
- "value": "127.0.0.1"
- }
- },
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "rate(prometheus_target_interval_length_seconds_count{environment=\"$environment\", instance=~\"$instance:[1-9][0-9]*\"}[$rate_interval])",
- "format": "time_series",
- "intervalFactor": 2,
- "legendFormat": "{{ instance }}",
- "refId": "A",
- "step": 4
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeShift": null,
- "title": "Target scrapes@${instance}",
- "tooltip": {
- "msResolution": false,
- "ordering": "alphabetical",
- "shared": true,
- "sort": 0,
- "value_type": "cumulative"
- },
- "type": "graph",
- "xaxis": {
- "buckets": null,
- "mode": "time",
- "name": null,
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "label": "Scrapes / Second",
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- },
- {
- "format": "short",
- "logBase": 1,
- "max": null,
- "min": null,
- "show": true
- }
- ],
- "yaxis": {
- "align": false,
- "alignLevel": null
- }
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "datasource": null,
- "editable": true,
- "error": false,
- "fill": 1,
- "grid": {},
- "gridPos": {
- "h": 7,
- "w": 12,
- "x": 12,
- "y": 61
- },
- "id": 45,
- "legend": {
- "alignAsTable": true,
- "avg": true,
- "current": false,
- "max": false,
- "min": false,
- "rightSide": true,
- "show": true,
- "total": false,
- "values": true
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "minSpan": 2,
- "nullPointMode": "connected",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "repeat": null,
- "repeatDirection": "v",
- "repeatIteration": 1529933876190,
- "repeatPanelId": 14,
- "scopedVars": {
- "instance": {
- "selected": false,
- "text": "127.0.0.1",
- "value": "127.0.0.1"
- }
- },
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "expr": "prometheus_target_interval_length_seconds{environment=\"$environment\", quantile!=\"0.01\", quantile!=\"0.05\", instance=~\"$instance:[1-9][0-9]*\"}",
+ "expr": "prometheus_target_interval_length_seconds{environment=\"$environment\",quantile!=\"0.01\", quantile!=\"0.05\", instance=~\"$instance:[1-9][0-9]*\"}",
"format": "time_series",
"interval": "",
"intervalFactor": 2,
@@ -2888,8 +1012,8 @@
"list": [
{
"allValue": null,
- "current": null,
- "datasource": "prometheus",
+ "current": {},
+ "datasource": null,
"hide": 0,
"includeAll": false,
"label": null,
@@ -2899,6 +1023,7 @@
"query": "label_values(environment)",
"refresh": 1,
"regex": "",
+ "skipUrlSync": false,
"sort": 0,
"tagValuesQuery": "",
"tags": [],
@@ -2908,13 +1033,7 @@
},
{
"allValue": null,
- "current": {
- "tags": [],
- "text": "All",
- "value": [
- "$__all"
- ]
- },
+ "current": {},
"datasource": null,
"hide": 0,
"includeAll": true,
@@ -2922,9 +1041,10 @@
"multi": true,
"name": "instance",
"options": [],
- "query": "query_result(up{environment=\"$environment\", job=\"prometheus\"} == 1)",
+ "query": "query_result(up{environment=\"$environment\",job=~\"prometheus|prometheus_lts\"})",
"refresh": 1,
"regex": ".*instance=\"([^:]+):[1-9][0-9]*\".*",
+ "skipUrlSync": false,
"sort": 1,
"tagValuesQuery": "",
"tags": [],
@@ -2977,6 +1097,7 @@
}
],
"query": "1m,3m,5m,10m,15m",
+ "skipUrlSync": false,
"type": "custom"
}
]