|
|
@@ -0,0 +1,1758 @@
|
|
|
+{
|
|
|
+ "__inputs": [
|
|
|
+ {
|
|
|
+ "name": "DS_NAME",
|
|
|
+ "type": "datasource",
|
|
|
+ "pluginId": "prometheus"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "annotations": {
|
|
|
+ "list": []
|
|
|
+ },
|
|
|
+ "editable": true,
|
|
|
+ "gnetId": null,
|
|
|
+ "graphTooltip": 1,
|
|
|
+ "hideControls": false,
|
|
|
+ "id": null,
|
|
|
+ "links": [
|
|
|
+ {
|
|
|
+ "icon": "info",
|
|
|
+ "tags": [],
|
|
|
+ "targetBlank": true,
|
|
|
+ "title": "Grafana Docs",
|
|
|
+ "tooltip": "",
|
|
|
+ "type": "link",
|
|
|
+ "url": "http://docs.grafana.org/"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "icon": "info",
|
|
|
+ "tags": [],
|
|
|
+ "targetBlank": true,
|
|
|
+ "title": "Prometheus Docs",
|
|
|
+ "type": "link",
|
|
|
+ "url": "http://prometheus.io/docs/introduction/overview/"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "refresh": "5m",
|
|
|
+ "revision": "0.1",
|
|
|
+ "rows": [
|
|
|
+ {
|
|
|
+ "collapse": false,
|
|
|
+ "height": 178,
|
|
|
+ "panels": [
|
|
|
+ {
|
|
|
+ "aliasColors": {
|
|
|
+ "prometheus": "#C15C17",
|
|
|
+ "{instance=\"localhost:9090\",job=\"prometheus\"}": "#CCA300"
|
|
|
+ },
|
|
|
+ "bars": false,
|
|
|
+ "dashLength": 10,
|
|
|
+ "dashes": false,
|
|
|
+ "datasource": "${DS_LOCAL-P8S}",
|
|
|
+ "editable": true,
|
|
|
+ "error": false,
|
|
|
+ "fill": 0,
|
|
|
+ "grid": {},
|
|
|
+ "id": 3,
|
|
|
+ "legend": {
|
|
|
+ "avg": false,
|
|
|
+ "current": false,
|
|
|
+ "max": false,
|
|
|
+ "min": false,
|
|
|
+ "show": true,
|
|
|
+ "total": false,
|
|
|
+ "values": false
|
|
|
+ },
|
|
|
+ "lines": true,
|
|
|
+ "linewidth": 1,
|
|
|
+ "links": [],
|
|
|
+ "nullPointMode": "connected",
|
|
|
+ "percentage": false,
|
|
|
+ "pointradius": 2,
|
|
|
+ "points": false,
|
|
|
+ "renderer": "flot",
|
|
|
+ "seriesOverrides": [],
|
|
|
+ "spaceLength": 10,
|
|
|
+ "span": 3,
|
|
|
+ "stack": false,
|
|
|
+ "steppedLine": false,
|
|
|
+ "targets": [
|
|
|
+ {
|
|
|
+ "expr": "sum(irate(prometheus_tsdb_head_samples_appended_total{job=\"prometheus\"}[5m]))",
|
|
|
+ "format": "time_series",
|
|
|
+ "hide": false,
|
|
|
+ "interval": "",
|
|
|
+ "intervalFactor": 2,
|
|
|
+ "legendFormat": "samples",
|
|
|
+ "metric": "",
|
|
|
+ "refId": "A",
|
|
|
+ "step": 120
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "thresholds": [],
|
|
|
+ "timeFrom": null,
|
|
|
+ "timeShift": null,
|
|
|
+ "title": "Samples Appended",
|
|
|
+ "tooltip": {
|
|
|
+ "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": "0",
|
|
|
+ "show": true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "format": "short",
|
|
|
+ "logBase": 1,
|
|
|
+ "max": null,
|
|
|
+ "min": null,
|
|
|
+ "show": true
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "aliasColors": {},
|
|
|
+ "bars": false,
|
|
|
+ "dashLength": 10,
|
|
|
+ "dashes": false,
|
|
|
+ "datasource": "${DS_LOCAL-P8S}",
|
|
|
+ "editable": true,
|
|
|
+ "error": false,
|
|
|
+ "fill": 0,
|
|
|
+ "grid": {},
|
|
|
+ "id": 14,
|
|
|
+ "legend": {
|
|
|
+ "avg": false,
|
|
|
+ "current": false,
|
|
|
+ "max": false,
|
|
|
+ "min": false,
|
|
|
+ "show": true,
|
|
|
+ "total": false,
|
|
|
+ "values": false
|
|
|
+ },
|
|
|
+ "lines": true,
|
|
|
+ "linewidth": 1,
|
|
|
+ "links": [],
|
|
|
+ "nullPointMode": "connected",
|
|
|
+ "percentage": false,
|
|
|
+ "pointradius": 5,
|
|
|
+ "points": false,
|
|
|
+ "renderer": "flot",
|
|
|
+ "seriesOverrides": [],
|
|
|
+ "spaceLength": 10,
|
|
|
+ "span": 3,
|
|
|
+ "stack": false,
|
|
|
+ "steppedLine": false,
|
|
|
+ "targets": [
|
|
|
+ {
|
|
|
+ "expr": "max(prometheus_target_interval_length_seconds{job=\"prometheus\", quantile!=\"0.01\", quantile!=\"0.05\"}) by (quantile)",
|
|
|
+ "format": "time_series",
|
|
|
+ "interval": "",
|
|
|
+ "intervalFactor": 2,
|
|
|
+ "legendFormat": "{{quantile}} ({{interval}})",
|
|
|
+ "metric": "",
|
|
|
+ "refId": "A",
|
|
|
+ "step": 120
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "thresholds": [],
|
|
|
+ "timeFrom": null,
|
|
|
+ "timeShift": null,
|
|
|
+ "title": "Scrape Duration",
|
|
|
+ "tooltip": {
|
|
|
+ "shared": true,
|
|
|
+ "sort": 0,
|
|
|
+ "value_type": "cumulative"
|
|
|
+ },
|
|
|
+ "type": "graph",
|
|
|
+ "xaxis": {
|
|
|
+ "buckets": null,
|
|
|
+ "mode": "time",
|
|
|
+ "name": null,
|
|
|
+ "show": true,
|
|
|
+ "values": []
|
|
|
+ },
|
|
|
+ "yaxes": [
|
|
|
+ {
|
|
|
+ "format": "s",
|
|
|
+ "logBase": 1,
|
|
|
+ "max": null,
|
|
|
+ "min": null,
|
|
|
+ "show": true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "format": "short",
|
|
|
+ "logBase": 1,
|
|
|
+ "max": null,
|
|
|
+ "min": null,
|
|
|
+ "show": true
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "aliasColors": {},
|
|
|
+ "bars": false,
|
|
|
+ "dashLength": 10,
|
|
|
+ "dashes": false,
|
|
|
+ "datasource": "${DS_LOCAL-P8S}",
|
|
|
+ "description": "",
|
|
|
+ "fill": 0,
|
|
|
+ "id": 16,
|
|
|
+ "legend": {
|
|
|
+ "avg": false,
|
|
|
+ "current": false,
|
|
|
+ "max": false,
|
|
|
+ "min": false,
|
|
|
+ "show": true,
|
|
|
+ "total": false,
|
|
|
+ "values": false
|
|
|
+ },
|
|
|
+ "lines": true,
|
|
|
+ "linewidth": 1,
|
|
|
+ "links": [],
|
|
|
+ "nullPointMode": "null",
|
|
|
+ "percentage": false,
|
|
|
+ "pointradius": 5,
|
|
|
+ "points": false,
|
|
|
+ "renderer": "flot",
|
|
|
+ "seriesOverrides": [
|
|
|
+ {
|
|
|
+ "alias": "total node memory",
|
|
|
+ "linewidth": 3
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "spaceLength": 10,
|
|
|
+ "span": 3,
|
|
|
+ "stack": false,
|
|
|
+ "steppedLine": false,
|
|
|
+ "targets": [
|
|
|
+ {
|
|
|
+ "expr": "sum(process_resident_memory_bytes{job=\"prometheus\"})",
|
|
|
+ "format": "time_series",
|
|
|
+ "hide": false,
|
|
|
+ "interval": "",
|
|
|
+ "intervalFactor": 2,
|
|
|
+ "legendFormat": "p8s process resident memory",
|
|
|
+ "refId": "D",
|
|
|
+ "step": 120
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "expr": "node_memory_Mapped{instance=~'[[node]].*'}",
|
|
|
+ "format": "time_series",
|
|
|
+ "hide": false,
|
|
|
+ "interval": "",
|
|
|
+ "intervalFactor": 2,
|
|
|
+ "legendFormat": "mmap'd memory",
|
|
|
+ "refId": "A",
|
|
|
+ "step": 120
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "expr": "node_memory_MemTotal{instance=~'[[node]].*'}",
|
|
|
+ "format": "time_series",
|
|
|
+ "hide": false,
|
|
|
+ "interval": "",
|
|
|
+ "intervalFactor": 2,
|
|
|
+ "legendFormat": "total node memory",
|
|
|
+ "refId": "B",
|
|
|
+ "step": 120
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "expr": "process_virtual_memory_bytes{job=\"prometheus\"}",
|
|
|
+ "format": "time_series",
|
|
|
+ "hide": false,
|
|
|
+ "intervalFactor": 2,
|
|
|
+ "legendFormat": "virtual memory",
|
|
|
+ "refId": "C",
|
|
|
+ "step": 120
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "thresholds": [],
|
|
|
+ "timeFrom": null,
|
|
|
+ "timeShift": null,
|
|
|
+ "title": "Memory Profile",
|
|
|
+ "tooltip": {
|
|
|
+ "shared": true,
|
|
|
+ "sort": 2,
|
|
|
+ "value_type": "individual"
|
|
|
+ },
|
|
|
+ "transparent": false,
|
|
|
+ "type": "graph",
|
|
|
+ "xaxis": {
|
|
|
+ "buckets": null,
|
|
|
+ "mode": "time",
|
|
|
+ "name": null,
|
|
|
+ "show": true,
|
|
|
+ "values": []
|
|
|
+ },
|
|
|
+ "yaxes": [
|
|
|
+ {
|
|
|
+ "format": "bytes",
|
|
|
+ "label": "",
|
|
|
+ "logBase": 1,
|
|
|
+ "max": null,
|
|
|
+ "min": "0",
|
|
|
+ "show": true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "format": "short",
|
|
|
+ "label": null,
|
|
|
+ "logBase": 1,
|
|
|
+ "max": null,
|
|
|
+ "min": null,
|
|
|
+ "show": true
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "cacheTimeout": null,
|
|
|
+ "colorBackground": false,
|
|
|
+ "colorValue": true,
|
|
|
+ "colors": [
|
|
|
+ "rgba(50, 172, 45, 0.97)",
|
|
|
+ "rgba(237, 129, 40, 0.89)",
|
|
|
+ "rgba(245, 54, 54, 0.9)"
|
|
|
+ ],
|
|
|
+ "datasource": "${DS_LOCAL-P8S}",
|
|
|
+ "format": "none",
|
|
|
+ "gauge": {
|
|
|
+ "maxValue": 100,
|
|
|
+ "minValue": 0,
|
|
|
+ "show": false,
|
|
|
+ "thresholdLabels": false,
|
|
|
+ "thresholdMarkers": true
|
|
|
+ },
|
|
|
+ "id": 37,
|
|
|
+ "interval": null,
|
|
|
+ "links": [],
|
|
|
+ "mappingType": 1,
|
|
|
+ "mappingTypes": [
|
|
|
+ {
|
|
|
+ "name": "value to text",
|
|
|
+ "value": 1
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "name": "range to text",
|
|
|
+ "value": 2
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "maxDataPoints": 100,
|
|
|
+ "nullPointMode": "connected",
|
|
|
+ "nullText": null,
|
|
|
+ "postfix": "",
|
|
|
+ "postfixFontSize": "50%",
|
|
|
+ "prefix": "",
|
|
|
+ "prefixFontSize": "50%",
|
|
|
+ "rangeMaps": [
|
|
|
+ {
|
|
|
+ "from": "null",
|
|
|
+ "text": "N/A",
|
|
|
+ "to": "null"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "span": 3,
|
|
|
+ "sparkline": {
|
|
|
+ "fillColor": "rgba(31, 118, 189, 0.18)",
|
|
|
+ "full": false,
|
|
|
+ "lineColor": "rgb(31, 120, 193)",
|
|
|
+ "show": false
|
|
|
+ },
|
|
|
+ "tableColumn": "",
|
|
|
+ "targets": [
|
|
|
+ {
|
|
|
+ "expr": "tsdb_wal_corruptions_total",
|
|
|
+ "format": "time_series",
|
|
|
+ "intervalFactor": 2,
|
|
|
+ "legendFormat": "",
|
|
|
+ "refId": "A",
|
|
|
+ "step": 600
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "thresholds": "0.1,1",
|
|
|
+ "title": "WAL Corruptions",
|
|
|
+ "type": "singlestat",
|
|
|
+ "valueFontSize": "200%",
|
|
|
+ "valueMaps": [
|
|
|
+ {
|
|
|
+ "op": "=",
|
|
|
+ "text": "None",
|
|
|
+ "value": "0"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "valueName": "max"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "repeat": null,
|
|
|
+ "repeatIteration": null,
|
|
|
+ "repeatRowId": null,
|
|
|
+ "showTitle": false,
|
|
|
+ "title": "New row",
|
|
|
+ "titleSize": "h6"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "collapse": false,
|
|
|
+ "height": 227,
|
|
|
+ "panels": [
|
|
|
+ {
|
|
|
+ "aliasColors": {},
|
|
|
+ "bars": false,
|
|
|
+ "dashLength": 10,
|
|
|
+ "dashes": false,
|
|
|
+ "datasource": "${DS_LOCAL-P8S}",
|
|
|
+ "decimals": null,
|
|
|
+ "editable": true,
|
|
|
+ "error": false,
|
|
|
+ "fill": 0,
|
|
|
+ "grid": {},
|
|
|
+ "id": 35,
|
|
|
+ "legend": {
|
|
|
+ "alignAsTable": false,
|
|
|
+ "avg": false,
|
|
|
+ "current": false,
|
|
|
+ "hideEmpty": true,
|
|
|
+ "max": false,
|
|
|
+ "min": false,
|
|
|
+ "show": true,
|
|
|
+ "total": false,
|
|
|
+ "values": false
|
|
|
+ },
|
|
|
+ "lines": true,
|
|
|
+ "linewidth": 1,
|
|
|
+ "links": [],
|
|
|
+ "nullPointMode": "connected",
|
|
|
+ "percentage": false,
|
|
|
+ "pointradius": 5,
|
|
|
+ "points": false,
|
|
|
+ "renderer": "flot",
|
|
|
+ "seriesOverrides": [],
|
|
|
+ "spaceLength": 10,
|
|
|
+ "span": 3,
|
|
|
+ "stack": false,
|
|
|
+ "steppedLine": false,
|
|
|
+ "targets": [
|
|
|
+ {
|
|
|
+ "expr": "max(prometheus_evaluator_duration_seconds{quantile!=\"0.01\", quantile!=\"0.05\"}) by (quantile)",
|
|
|
+ "format": "time_series",
|
|
|
+ "interval": "",
|
|
|
+ "intervalFactor": 2,
|
|
|
+ "legendFormat": "{{quantile}}",
|
|
|
+ "refId": "A",
|
|
|
+ "step": 120
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "thresholds": [],
|
|
|
+ "timeFrom": null,
|
|
|
+ "timeShift": null,
|
|
|
+ "title": "Rule Eval Duration",
|
|
|
+ "tooltip": {
|
|
|
+ "shared": true,
|
|
|
+ "sort": 0,
|
|
|
+ "value_type": "cumulative"
|
|
|
+ },
|
|
|
+ "type": "graph",
|
|
|
+ "xaxis": {
|
|
|
+ "buckets": null,
|
|
|
+ "mode": "time",
|
|
|
+ "name": null,
|
|
|
+ "show": true,
|
|
|
+ "values": []
|
|
|
+ },
|
|
|
+ "yaxes": [
|
|
|
+ {
|
|
|
+ "format": "s",
|
|
|
+ "label": "",
|
|
|
+ "logBase": 1,
|
|
|
+ "max": null,
|
|
|
+ "min": null,
|
|
|
+ "show": true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "format": "short",
|
|
|
+ "logBase": 1,
|
|
|
+ "max": null,
|
|
|
+ "min": null,
|
|
|
+ "show": true
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "aliasColors": {},
|
|
|
+ "bars": false,
|
|
|
+ "dashLength": 10,
|
|
|
+ "dashes": false,
|
|
|
+ "datasource": "${DS_LOCAL-P8S}",
|
|
|
+ "fill": 0,
|
|
|
+ "id": 29,
|
|
|
+ "legend": {
|
|
|
+ "avg": false,
|
|
|
+ "current": false,
|
|
|
+ "max": false,
|
|
|
+ "min": false,
|
|
|
+ "show": true,
|
|
|
+ "total": false,
|
|
|
+ "values": false
|
|
|
+ },
|
|
|
+ "lines": true,
|
|
|
+ "linewidth": 1,
|
|
|
+ "links": [],
|
|
|
+ "nullPointMode": "null",
|
|
|
+ "percentage": false,
|
|
|
+ "pointradius": 5,
|
|
|
+ "points": false,
|
|
|
+ "renderer": "flot",
|
|
|
+ "seriesOverrides": [],
|
|
|
+ "spaceLength": 10,
|
|
|
+ "span": 3,
|
|
|
+ "stack": false,
|
|
|
+ "steppedLine": false,
|
|
|
+ "targets": [
|
|
|
+ {
|
|
|
+ "expr": "sum(prometheus_tsdb_head_active_appenders{job=\"prometheus\"})",
|
|
|
+ "format": "time_series",
|
|
|
+ "interval": "",
|
|
|
+ "intervalFactor": 2,
|
|
|
+ "legendFormat": "active_appenders",
|
|
|
+ "metric": "",
|
|
|
+ "refId": "A",
|
|
|
+ "step": 120
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "expr": "sum(process_open_fds{job=\"prometheus\"})",
|
|
|
+ "format": "time_series",
|
|
|
+ "interval": "",
|
|
|
+ "intervalFactor": 2,
|
|
|
+ "legendFormat": "open_fds",
|
|
|
+ "refId": "B",
|
|
|
+ "step": 120
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "thresholds": [],
|
|
|
+ "timeFrom": null,
|
|
|
+ "timeShift": null,
|
|
|
+ "title": "Active Appenders",
|
|
|
+ "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": false
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "aliasColors": {
|
|
|
+ "prometheus": "#F9BA8F",
|
|
|
+ "{instance=\"localhost:9090\",interval=\"5s\",job=\"prometheus\"}": "#F9BA8F"
|
|
|
+ },
|
|
|
+ "bars": false,
|
|
|
+ "dashLength": 10,
|
|
|
+ "dashes": false,
|
|
|
+ "datasource": "${DS_LOCAL-P8S}",
|
|
|
+ "editable": true,
|
|
|
+ "error": false,
|
|
|
+ "fill": 0,
|
|
|
+ "grid": {},
|
|
|
+ "id": 2,
|
|
|
+ "legend": {
|
|
|
+ "avg": false,
|
|
|
+ "current": false,
|
|
|
+ "max": false,
|
|
|
+ "min": false,
|
|
|
+ "show": true,
|
|
|
+ "total": false,
|
|
|
+ "values": false
|
|
|
+ },
|
|
|
+ "lines": true,
|
|
|
+ "linewidth": 1,
|
|
|
+ "links": [],
|
|
|
+ "nullPointMode": "connected",
|
|
|
+ "percentage": false,
|
|
|
+ "pointradius": 5,
|
|
|
+ "points": false,
|
|
|
+ "renderer": "flot",
|
|
|
+ "seriesOverrides": [],
|
|
|
+ "spaceLength": 10,
|
|
|
+ "span": 3,
|
|
|
+ "stack": false,
|
|
|
+ "steppedLine": false,
|
|
|
+ "targets": [
|
|
|
+ {
|
|
|
+ "expr": "prometheus_tsdb_blocks_loaded",
|
|
|
+ "format": "time_series",
|
|
|
+ "intervalFactor": 2,
|
|
|
+ "legendFormat": "blocks",
|
|
|
+ "refId": "A",
|
|
|
+ "step": 120
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "thresholds": [],
|
|
|
+ "timeFrom": null,
|
|
|
+ "timeShift": null,
|
|
|
+ "title": "Blocks Loaded",
|
|
|
+ "tooltip": {
|
|
|
+ "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
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "aliasColors": {},
|
|
|
+ "bars": false,
|
|
|
+ "dashLength": 10,
|
|
|
+ "dashes": false,
|
|
|
+ "datasource": "${DS_LOCAL-P8S}",
|
|
|
+ "decimals": null,
|
|
|
+ "description": "",
|
|
|
+ "fill": 0,
|
|
|
+ "id": 33,
|
|
|
+ "legend": {
|
|
|
+ "avg": false,
|
|
|
+ "current": false,
|
|
|
+ "max": false,
|
|
|
+ "min": false,
|
|
|
+ "show": true,
|
|
|
+ "total": false,
|
|
|
+ "values": false
|
|
|
+ },
|
|
|
+ "lines": true,
|
|
|
+ "linewidth": 1,
|
|
|
+ "links": [],
|
|
|
+ "nullPointMode": "connected",
|
|
|
+ "percentage": false,
|
|
|
+ "pointradius": 5,
|
|
|
+ "points": false,
|
|
|
+ "renderer": "flot",
|
|
|
+ "seriesOverrides": [],
|
|
|
+ "spaceLength": 10,
|
|
|
+ "span": 3,
|
|
|
+ "stack": false,
|
|
|
+ "steppedLine": false,
|
|
|
+ "targets": [
|
|
|
+ {
|
|
|
+ "expr": "prometheus_tsdb_head_chunks",
|
|
|
+ "format": "time_series",
|
|
|
+ "interval": "",
|
|
|
+ "intervalFactor": 2,
|
|
|
+ "legendFormat": "chunks",
|
|
|
+ "refId": "A",
|
|
|
+ "step": 120
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "thresholds": [],
|
|
|
+ "timeFrom": null,
|
|
|
+ "timeShift": null,
|
|
|
+ "title": "Head Chunks",
|
|
|
+ "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": "bytes",
|
|
|
+ "label": "",
|
|
|
+ "logBase": 1,
|
|
|
+ "max": null,
|
|
|
+ "min": null,
|
|
|
+ "show": false
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "repeat": null,
|
|
|
+ "repeatIteration": null,
|
|
|
+ "repeatRowId": null,
|
|
|
+ "showTitle": false,
|
|
|
+ "title": "New row",
|
|
|
+ "titleSize": "h6"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "collapse": false,
|
|
|
+ "height": "250px",
|
|
|
+ "panels": [
|
|
|
+ {
|
|
|
+ "aliasColors": {},
|
|
|
+ "bars": false,
|
|
|
+ "dashLength": 10,
|
|
|
+ "dashes": false,
|
|
|
+ "datasource": "${DS_LOCAL-P8S}",
|
|
|
+ "decimals": null,
|
|
|
+ "description": "",
|
|
|
+ "fill": 0,
|
|
|
+ "id": 20,
|
|
|
+ "legend": {
|
|
|
+ "avg": false,
|
|
|
+ "current": false,
|
|
|
+ "max": false,
|
|
|
+ "min": false,
|
|
|
+ "show": true,
|
|
|
+ "total": false,
|
|
|
+ "values": false
|
|
|
+ },
|
|
|
+ "lines": true,
|
|
|
+ "linewidth": 1,
|
|
|
+ "links": [],
|
|
|
+ "nullPointMode": "connected",
|
|
|
+ "percentage": false,
|
|
|
+ "pointradius": 5,
|
|
|
+ "points": false,
|
|
|
+ "renderer": "flot",
|
|
|
+ "seriesOverrides": [
|
|
|
+ {
|
|
|
+ "alias": "duration-p99",
|
|
|
+ "yaxis": 2
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "spaceLength": 10,
|
|
|
+ "span": 4,
|
|
|
+ "stack": false,
|
|
|
+ "steppedLine": false,
|
|
|
+ "targets": [
|
|
|
+ {
|
|
|
+ "expr": "histogram_quantile(0.99, sum(rate(prometheus_tsdb_compaction_duration_bucket[5m])) by (le))",
|
|
|
+ "format": "time_series",
|
|
|
+ "hide": false,
|
|
|
+ "interval": "",
|
|
|
+ "intervalFactor": 2,
|
|
|
+ "legendFormat": "duration-{{p99}}",
|
|
|
+ "refId": "A",
|
|
|
+ "step": 120
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "expr": "irate(prometheus_tsdb_compactions_total[5m])",
|
|
|
+ "format": "time_series",
|
|
|
+ "intervalFactor": 2,
|
|
|
+ "legendFormat": "compactions",
|
|
|
+ "refId": "B",
|
|
|
+ "step": 120
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "expr": "irate(prometheus_tsdb_compactions_failed_total[5m])",
|
|
|
+ "format": "time_series",
|
|
|
+ "intervalFactor": 2,
|
|
|
+ "legendFormat": "failed",
|
|
|
+ "refId": "C",
|
|
|
+ "step": 120
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "expr": "irate(prometheus_tsdb_compactions_triggered_total[5m])",
|
|
|
+ "format": "time_series",
|
|
|
+ "intervalFactor": 2,
|
|
|
+ "legendFormat": "triggered",
|
|
|
+ "refId": "D",
|
|
|
+ "step": 120
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "thresholds": [],
|
|
|
+ "timeFrom": null,
|
|
|
+ "timeShift": null,
|
|
|
+ "title": "Compaction Activity",
|
|
|
+ "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": "0",
|
|
|
+ "show": true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "format": "s",
|
|
|
+ "label": "",
|
|
|
+ "logBase": 1,
|
|
|
+ "max": null,
|
|
|
+ "min": "0",
|
|
|
+ "show": true
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "aliasColors": {},
|
|
|
+ "bars": false,
|
|
|
+ "dashLength": 10,
|
|
|
+ "dashes": false,
|
|
|
+ "datasource": "${DS_LOCAL-P8S}",
|
|
|
+ "fill": 1,
|
|
|
+ "id": 36,
|
|
|
+ "legend": {
|
|
|
+ "avg": false,
|
|
|
+ "current": false,
|
|
|
+ "max": false,
|
|
|
+ "min": false,
|
|
|
+ "show": true,
|
|
|
+ "total": false,
|
|
|
+ "values": false
|
|
|
+ },
|
|
|
+ "lines": true,
|
|
|
+ "linewidth": 1,
|
|
|
+ "links": [],
|
|
|
+ "nullPointMode": "null",
|
|
|
+ "percentage": false,
|
|
|
+ "pointradius": 5,
|
|
|
+ "points": false,
|
|
|
+ "renderer": "flot",
|
|
|
+ "seriesOverrides": [
|
|
|
+ {
|
|
|
+ "alias": "duration-p99",
|
|
|
+ "yaxis": 2
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "spaceLength": 10,
|
|
|
+ "span": 4,
|
|
|
+ "stack": false,
|
|
|
+ "steppedLine": false,
|
|
|
+ "targets": [
|
|
|
+ {
|
|
|
+ "expr": "prometheus_tsdb_head_gc_duration_seconds{quantile=\"0.99\"}",
|
|
|
+ "format": "time_series",
|
|
|
+ "intervalFactor": 2,
|
|
|
+ "legendFormat": "duration-p99",
|
|
|
+ "refId": "A",
|
|
|
+ "step": 120
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "expr": "irate(prometheus_tsdb_head_gc_duration_seconds_count[5m])",
|
|
|
+ "format": "time_series",
|
|
|
+ "intervalFactor": 2,
|
|
|
+ "legendFormat": "collections",
|
|
|
+ "refId": "B",
|
|
|
+ "step": 120
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "thresholds": [],
|
|
|
+ "timeFrom": null,
|
|
|
+ "timeShift": null,
|
|
|
+ "title": "Head Block GC Activity",
|
|
|
+ "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": "0",
|
|
|
+ "show": true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "format": "s",
|
|
|
+ "label": null,
|
|
|
+ "logBase": 1,
|
|
|
+ "max": null,
|
|
|
+ "min": "0",
|
|
|
+ "show": true
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "aliasColors": {},
|
|
|
+ "bars": false,
|
|
|
+ "dashLength": 10,
|
|
|
+ "dashes": false,
|
|
|
+ "datasource": "${DS_LOCAL-P8S}",
|
|
|
+ "fill": 1,
|
|
|
+ "id": 32,
|
|
|
+ "legend": {
|
|
|
+ "avg": false,
|
|
|
+ "current": false,
|
|
|
+ "max": false,
|
|
|
+ "min": false,
|
|
|
+ "show": true,
|
|
|
+ "total": false,
|
|
|
+ "values": false
|
|
|
+ },
|
|
|
+ "lines": true,
|
|
|
+ "linewidth": 1,
|
|
|
+ "links": [],
|
|
|
+ "nullPointMode": "null",
|
|
|
+ "percentage": false,
|
|
|
+ "pointradius": 5,
|
|
|
+ "points": false,
|
|
|
+ "renderer": "flot",
|
|
|
+ "seriesOverrides": [],
|
|
|
+ "spaceLength": 10,
|
|
|
+ "span": 4,
|
|
|
+ "stack": false,
|
|
|
+ "steppedLine": false,
|
|
|
+ "targets": [
|
|
|
+ {
|
|
|
+ "expr": "rate(prometheus_tsdb_reloads_total{job=\"prometheus\"}[5m])",
|
|
|
+ "format": "time_series",
|
|
|
+ "intervalFactor": 2,
|
|
|
+ "legendFormat": "reloads",
|
|
|
+ "refId": "A",
|
|
|
+ "step": 120
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "expr": "rate(prometheus_tsdb_reloads_failures_total{job=\"prometheus\"}[5m])",
|
|
|
+ "format": "time_series",
|
|
|
+ "hide": false,
|
|
|
+ "intervalFactor": 2,
|
|
|
+ "legendFormat": "failures",
|
|
|
+ "refId": "B",
|
|
|
+ "step": 120
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "thresholds": [],
|
|
|
+ "timeFrom": null,
|
|
|
+ "timeShift": null,
|
|
|
+ "title": "Reload Count",
|
|
|
+ "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
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "repeat": null,
|
|
|
+ "repeatIteration": null,
|
|
|
+ "repeatRowId": null,
|
|
|
+ "showTitle": false,
|
|
|
+ "title": "New row",
|
|
|
+ "titleSize": "h6"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "collapse": false,
|
|
|
+ "height": 250,
|
|
|
+ "panels": [
|
|
|
+ {
|
|
|
+ "aliasColors": {},
|
|
|
+ "bars": false,
|
|
|
+ "dashLength": 10,
|
|
|
+ "dashes": false,
|
|
|
+ "datasource": "${DS_LOCAL-P8S}",
|
|
|
+ "editable": true,
|
|
|
+ "error": false,
|
|
|
+ "fill": 0,
|
|
|
+ "grid": {},
|
|
|
+ "id": 34,
|
|
|
+ "legend": {
|
|
|
+ "avg": false,
|
|
|
+ "current": false,
|
|
|
+ "max": false,
|
|
|
+ "min": false,
|
|
|
+ "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,
|
|
|
+ "seriesOverrides": [
|
|
|
+ {
|
|
|
+ "alias": "/.*_read$/",
|
|
|
+ "transform": "negative-Y"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "spaceLength": 10,
|
|
|
+ "span": 4,
|
|
|
+ "stack": false,
|
|
|
+ "steppedLine": false,
|
|
|
+ "targets": [
|
|
|
+ {
|
|
|
+ "expr": "sum(rate(node_disk_reads_completed{instance=~'$node.*'}[5m]))",
|
|
|
+ "format": "time_series",
|
|
|
+ "interval": "",
|
|
|
+ "intervalFactor": 4,
|
|
|
+ "legendFormat": "read",
|
|
|
+ "metric": "",
|
|
|
+ "refId": "A",
|
|
|
+ "step": 240,
|
|
|
+ "target": ""
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "expr": "sum(rate(node_disk_writes_completed{instance=~'$node.*'}[5m]))",
|
|
|
+ "format": "time_series",
|
|
|
+ "intervalFactor": 2,
|
|
|
+ "legendFormat": "write",
|
|
|
+ "metric": "",
|
|
|
+ "refId": "B",
|
|
|
+ "step": 120
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "thresholds": [],
|
|
|
+ "timeFrom": null,
|
|
|
+ "timeShift": null,
|
|
|
+ "title": "Disk IOs / sec",
|
|
|
+ "tooltip": {
|
|
|
+ "msResolution": false,
|
|
|
+ "shared": false,
|
|
|
+ "sort": 0,
|
|
|
+ "value_type": "cumulative"
|
|
|
+ },
|
|
|
+ "type": "graph",
|
|
|
+ "xaxis": {
|
|
|
+ "buckets": null,
|
|
|
+ "mode": "time",
|
|
|
+ "name": null,
|
|
|
+ "show": true,
|
|
|
+ "values": []
|
|
|
+ },
|
|
|
+ "yaxes": [
|
|
|
+ {
|
|
|
+ "format": "short",
|
|
|
+ "label": "IO/second read (-) / write (+)",
|
|
|
+ "logBase": 1,
|
|
|
+ "max": null,
|
|
|
+ "min": null,
|
|
|
+ "show": true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "format": "short",
|
|
|
+ "logBase": 1,
|
|
|
+ "max": null,
|
|
|
+ "min": null,
|
|
|
+ "show": true
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "aliasColors": {},
|
|
|
+ "bars": false,
|
|
|
+ "dashLength": 10,
|
|
|
+ "dashes": false,
|
|
|
+ "datasource": "${DS_LOCAL-P8S}",
|
|
|
+ "editable": true,
|
|
|
+ "error": false,
|
|
|
+ "fill": 0,
|
|
|
+ "grid": {},
|
|
|
+ "id": 39,
|
|
|
+ "legend": {
|
|
|
+ "avg": false,
|
|
|
+ "current": false,
|
|
|
+ "max": false,
|
|
|
+ "min": false,
|
|
|
+ "show": true,
|
|
|
+ "total": false,
|
|
|
+ "values": false
|
|
|
+ },
|
|
|
+ "lines": true,
|
|
|
+ "linewidth": 1,
|
|
|
+ "links": [],
|
|
|
+ "minSpan": 2,
|
|
|
+ "nullPointMode": "connected",
|
|
|
+ "percentage": false,
|
|
|
+ "pointradius": 5,
|
|
|
+ "points": false,
|
|
|
+ "renderer": "flot",
|
|
|
+ "seriesOverrides": [],
|
|
|
+ "spaceLength": 10,
|
|
|
+ "span": 4,
|
|
|
+ "stack": false,
|
|
|
+ "steppedLine": false,
|
|
|
+ "targets": [
|
|
|
+ {
|
|
|
+ "expr": "sum(rate(node_disk_io_time_weighted{instance=~'$node.*'}[5m]))",
|
|
|
+ "format": "time_series",
|
|
|
+ "interval": "",
|
|
|
+ "intervalFactor": 4,
|
|
|
+ "legendFormat": "weighted",
|
|
|
+ "metric": "",
|
|
|
+ "refId": "A",
|
|
|
+ "step": 240,
|
|
|
+ "target": ""
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "expr": "sum(rate(node_disk_io_time_ms{instance=~'$node.*'}[5m]))",
|
|
|
+ "format": "time_series",
|
|
|
+ "intervalFactor": 2,
|
|
|
+ "legendFormat": "time",
|
|
|
+ "metric": "",
|
|
|
+ "refId": "B",
|
|
|
+ "step": 120
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "thresholds": [],
|
|
|
+ "timeFrom": null,
|
|
|
+ "timeShift": null,
|
|
|
+ "title": "Disk I/O Time",
|
|
|
+ "tooltip": {
|
|
|
+ "msResolution": false,
|
|
|
+ "shared": false,
|
|
|
+ "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": null,
|
|
|
+ "show": true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "format": "ms",
|
|
|
+ "logBase": 1,
|
|
|
+ "max": null,
|
|
|
+ "min": null,
|
|
|
+ "show": false
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "aliasColors": {},
|
|
|
+ "bars": false,
|
|
|
+ "dashLength": 10,
|
|
|
+ "dashes": false,
|
|
|
+ "datasource": "${DS_LOCAL-P8S}",
|
|
|
+ "editable": true,
|
|
|
+ "error": false,
|
|
|
+ "fill": 0,
|
|
|
+ "grid": {},
|
|
|
+ "id": 38,
|
|
|
+ "legend": {
|
|
|
+ "avg": false,
|
|
|
+ "current": false,
|
|
|
+ "max": false,
|
|
|
+ "min": false,
|
|
|
+ "show": true,
|
|
|
+ "total": false,
|
|
|
+ "values": false
|
|
|
+ },
|
|
|
+ "lines": true,
|
|
|
+ "linewidth": 1,
|
|
|
+ "links": [],
|
|
|
+ "minSpan": 2,
|
|
|
+ "nullPointMode": "connected",
|
|
|
+ "percentage": false,
|
|
|
+ "pointradius": 5,
|
|
|
+ "points": false,
|
|
|
+ "renderer": "flot",
|
|
|
+ "seriesOverrides": [
|
|
|
+ {
|
|
|
+ "alias": "/.*_read$/",
|
|
|
+ "transform": "negative-Y"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "spaceLength": 10,
|
|
|
+ "span": 4,
|
|
|
+ "stack": false,
|
|
|
+ "steppedLine": false,
|
|
|
+ "targets": [
|
|
|
+ {
|
|
|
+ "expr": "sum(rate(node_disk_bytes_read{instance=~'$node.*'}[5m]))",
|
|
|
+ "format": "time_series",
|
|
|
+ "interval": "",
|
|
|
+ "intervalFactor": 4,
|
|
|
+ "legendFormat": "read",
|
|
|
+ "metric": "",
|
|
|
+ "refId": "A",
|
|
|
+ "step": 240,
|
|
|
+ "target": ""
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "expr": "sum(rate(node_disk_bytes_written{instance=~'$node.*'}[5m]))",
|
|
|
+ "format": "time_series",
|
|
|
+ "intervalFactor": 2,
|
|
|
+ "legendFormat": "write",
|
|
|
+ "metric": "",
|
|
|
+ "refId": "B",
|
|
|
+ "step": 120
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "thresholds": [],
|
|
|
+ "timeFrom": null,
|
|
|
+ "timeShift": null,
|
|
|
+ "title": "Disk Throughput",
|
|
|
+ "tooltip": {
|
|
|
+ "msResolution": false,
|
|
|
+ "shared": false,
|
|
|
+ "sort": 0,
|
|
|
+ "value_type": "cumulative"
|
|
|
+ },
|
|
|
+ "type": "graph",
|
|
|
+ "xaxis": {
|
|
|
+ "buckets": null,
|
|
|
+ "mode": "time",
|
|
|
+ "name": null,
|
|
|
+ "show": true,
|
|
|
+ "values": []
|
|
|
+ },
|
|
|
+ "yaxes": [
|
|
|
+ {
|
|
|
+ "format": "bytes",
|
|
|
+ "label": "read(-) / write (+)",
|
|
|
+ "logBase": 1,
|
|
|
+ "max": null,
|
|
|
+ "min": null,
|
|
|
+ "show": true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "format": "bytes",
|
|
|
+ "logBase": 1,
|
|
|
+ "max": null,
|
|
|
+ "min": null,
|
|
|
+ "show": true
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "repeat": null,
|
|
|
+ "repeatIteration": null,
|
|
|
+ "repeatRowId": null,
|
|
|
+ "showTitle": false,
|
|
|
+ "title": "Dashboard Row",
|
|
|
+ "titleSize": "h6"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "collapse": false,
|
|
|
+ "height": 250,
|
|
|
+ "panels": [
|
|
|
+ {
|
|
|
+ "aliasColors": {},
|
|
|
+ "bars": false,
|
|
|
+ "dashLength": 10,
|
|
|
+ "dashes": false,
|
|
|
+ "datasource": "${DS_LOCAL-P8S}",
|
|
|
+ "decimals": 3,
|
|
|
+ "editable": true,
|
|
|
+ "error": false,
|
|
|
+ "fill": 10,
|
|
|
+ "grid": {},
|
|
|
+ "id": 27,
|
|
|
+ "legend": {
|
|
|
+ "alignAsTable": false,
|
|
|
+ "avg": false,
|
|
|
+ "current": false,
|
|
|
+ "hideEmpty": false,
|
|
|
+ "max": false,
|
|
|
+ "min": false,
|
|
|
+ "rightSide": false,
|
|
|
+ "show": true,
|
|
|
+ "total": false,
|
|
|
+ "values": false
|
|
|
+ },
|
|
|
+ "lines": true,
|
|
|
+ "linewidth": 0,
|
|
|
+ "links": [],
|
|
|
+ "minSpan": 2,
|
|
|
+ "nullPointMode": "connected",
|
|
|
+ "percentage": true,
|
|
|
+ "pointradius": 5,
|
|
|
+ "points": false,
|
|
|
+ "renderer": "flot",
|
|
|
+ "repeat": null,
|
|
|
+ "seriesOverrides": [],
|
|
|
+ "spaceLength": 10,
|
|
|
+ "span": 6,
|
|
|
+ "stack": true,
|
|
|
+ "steppedLine": false,
|
|
|
+ "targets": [
|
|
|
+ {
|
|
|
+ "expr": "sum by (mode)(irate(node_cpu{mode=\"system\", instance=~'[[node]].*', _ftio=\"\"}[5m]))",
|
|
|
+ "format": "time_series",
|
|
|
+ "interval": "",
|
|
|
+ "intervalFactor": 2,
|
|
|
+ "legendFormat": "{{mode}}",
|
|
|
+ "metric": "",
|
|
|
+ "refId": "A",
|
|
|
+ "step": 60,
|
|
|
+ "target": ""
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "expr": "sum by (mode)(irate(node_cpu{mode='user', instance=~'[[node]].*', _ftio=\"\"}[5m]))",
|
|
|
+ "format": "time_series",
|
|
|
+ "interval": "",
|
|
|
+ "intervalFactor": 2,
|
|
|
+ "legendFormat": "user",
|
|
|
+ "refId": "B",
|
|
|
+ "step": 60
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "expr": "sum by (mode)(irate(node_cpu{mode='nice', instance=~'[[node]].*', _ftio=\"\"}[5m]))",
|
|
|
+ "format": "time_series",
|
|
|
+ "interval": "",
|
|
|
+ "intervalFactor": 2,
|
|
|
+ "legendFormat": "nice",
|
|
|
+ "refId": "C",
|
|
|
+ "step": 60
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "expr": "sum by (mode)(irate(node_cpu{mode='iowait', instance=~'[[node]].*', _ftio=\"\"}[5m]))",
|
|
|
+ "format": "time_series",
|
|
|
+ "interval": "",
|
|
|
+ "intervalFactor": 2,
|
|
|
+ "legendFormat": "iowait",
|
|
|
+ "refId": "E",
|
|
|
+ "step": 60
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "expr": "sum by (mode)(irate(node_cpu{mode='steal', instance=~'[[node]].*', _ftio=\"\"}[5m]))",
|
|
|
+ "format": "time_series",
|
|
|
+ "intervalFactor": 2,
|
|
|
+ "legendFormat": "steal",
|
|
|
+ "refId": "H",
|
|
|
+ "step": 60
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "expr": "sum by (mode)(irate(node_cpu{mode='idle', instance=~'[[node]].*', _ftio=\"\"}[5m]))",
|
|
|
+ "format": "time_series",
|
|
|
+ "interval": "",
|
|
|
+ "intervalFactor": 2,
|
|
|
+ "legendFormat": "idle",
|
|
|
+ "refId": "D",
|
|
|
+ "step": 60
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "expr": "sum by (mode)(irate(node_cpu{mode='irq', instance=~'[[node]].*', _ftio=\"\"}[5m]))",
|
|
|
+ "format": "time_series",
|
|
|
+ "interval": "",
|
|
|
+ "intervalFactor": 2,
|
|
|
+ "legendFormat": "irq",
|
|
|
+ "refId": "F",
|
|
|
+ "step": 60
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "expr": "sum by (mode)(irate(node_cpu{mode='softirq', instance=~'[[node]].*', _ftio=\"\"}[5m]))",
|
|
|
+ "format": "time_series",
|
|
|
+ "interval": "",
|
|
|
+ "intervalFactor": 2,
|
|
|
+ "legendFormat": "softirq",
|
|
|
+ "refId": "G",
|
|
|
+ "step": 60
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "expr": "sum by (mode)(irate(node_cpu{mode='guest', instance=~'[[node]].*', _ftio=\"\"}[5m]))",
|
|
|
+ "format": "time_series",
|
|
|
+ "interval": "",
|
|
|
+ "intervalFactor": 2,
|
|
|
+ "legendFormat": "guest",
|
|
|
+ "refId": "I",
|
|
|
+ "step": 60
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "thresholds": [],
|
|
|
+ "timeFrom": null,
|
|
|
+ "timeShift": null,
|
|
|
+ "title": "Host CPU",
|
|
|
+ "tooltip": {
|
|
|
+ "msResolution": false,
|
|
|
+ "shared": true,
|
|
|
+ "sort": 0,
|
|
|
+ "value_type": "individual"
|
|
|
+ },
|
|
|
+ "type": "graph",
|
|
|
+ "xaxis": {
|
|
|
+ "buckets": null,
|
|
|
+ "mode": "time",
|
|
|
+ "name": null,
|
|
|
+ "show": true,
|
|
|
+ "values": []
|
|
|
+ },
|
|
|
+ "yaxes": [
|
|
|
+ {
|
|
|
+ "format": "short",
|
|
|
+ "label": "%",
|
|
|
+ "logBase": 1,
|
|
|
+ "max": 100,
|
|
|
+ "min": 0,
|
|
|
+ "show": true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "format": "short",
|
|
|
+ "logBase": 1,
|
|
|
+ "max": null,
|
|
|
+ "min": null,
|
|
|
+ "show": true
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "aliasColors": {},
|
|
|
+ "bars": false,
|
|
|
+ "dashLength": 10,
|
|
|
+ "dashes": false,
|
|
|
+ "datasource": "${DS_LOCAL-P8S}",
|
|
|
+ "decimals": 2,
|
|
|
+ "editable": true,
|
|
|
+ "error": false,
|
|
|
+ "fill": 9,
|
|
|
+ "grid": {},
|
|
|
+ "id": 28,
|
|
|
+ "legend": {
|
|
|
+ "avg": false,
|
|
|
+ "current": false,
|
|
|
+ "max": false,
|
|
|
+ "min": false,
|
|
|
+ "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,
|
|
|
+ "seriesOverrides": [
|
|
|
+ {
|
|
|
+ "alias": "total",
|
|
|
+ "color": "#629E51",
|
|
|
+ "fill": 0,
|
|
|
+ "linewidth": 4,
|
|
|
+ "stack": "D",
|
|
|
+ "zindex": 2
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "alias": "swapped",
|
|
|
+ "color": "#BF1B00",
|
|
|
+ "fill": 10,
|
|
|
+ "linewidth": 4,
|
|
|
+ "stack": true,
|
|
|
+ "zindex": 2
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "alias": "apps",
|
|
|
+ "color": "#EAB839"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "alias": "buffers",
|
|
|
+ "color": "#BA43A9"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "alias": "cached",
|
|
|
+ "color": "#7EB26D"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "alias": "misc",
|
|
|
+ "color": "#447EBC",
|
|
|
+ "fill": 3
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "alias": "free",
|
|
|
+ "color": "#70DBED",
|
|
|
+ "fill": 3
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "spaceLength": 10,
|
|
|
+ "span": 6,
|
|
|
+ "stack": true,
|
|
|
+ "steppedLine": false,
|
|
|
+ "targets": [
|
|
|
+ {
|
|
|
+ "expr": "sum(( node_memory_MemTotal{instance=~'[[node]].*', _ftio=\"\"} - node_memory_MemFree{instance=~'[[node]].*', _ftio=\"\"} - node_memory_Buffers{instance=~'[[node]].*', _ftio=\"\"} - node_memory_Cached{instance=~'[[node]].*', _ftio=\"\"} - node_memory_SwapCached{instance=~'[[node]].*', _ftio=\"\"} - node_memory_Slab{instance=~'[[node]].*', _ftio=\"\"} - node_memory_PageTables{instance=~'[[node]].*', _ftio=\"\"} - node_memory_VmallocUsed{instance=~'[[node]].*', _ftio=\"\"} ))",
|
|
|
+ "format": "time_series",
|
|
|
+ "hide": false,
|
|
|
+ "interval": "",
|
|
|
+ "intervalFactor": 2,
|
|
|
+ "legendFormat": "apps",
|
|
|
+ "metric": "",
|
|
|
+ "refId": "C",
|
|
|
+ "step": 60
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "expr": "sum(node_memory_Buffers{instance=~'[[node]].*', _ftio=\"\"})",
|
|
|
+ "format": "time_series",
|
|
|
+ "hide": false,
|
|
|
+ "interval": "",
|
|
|
+ "intervalFactor": 2,
|
|
|
+ "legendFormat": "buffers",
|
|
|
+ "metric": "",
|
|
|
+ "refId": "A",
|
|
|
+ "step": 60
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "expr": "sum(node_memory_Cached{instance=~'[[node]].*', _ftio=\"\"})",
|
|
|
+ "format": "time_series",
|
|
|
+ "hide": false,
|
|
|
+ "interval": "",
|
|
|
+ "intervalFactor": 2,
|
|
|
+ "legendFormat": "cached",
|
|
|
+ "metric": "",
|
|
|
+ "refId": "E",
|
|
|
+ "step": 60
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "expr": "sum({__name__=~\"node_memory_(SwapCached|Slab|PageTables|VmallocUsed)\", instance=~'[[node]].*', _ftio=\"\"})",
|
|
|
+ "format": "time_series",
|
|
|
+ "hide": false,
|
|
|
+ "interval": "",
|
|
|
+ "intervalFactor": 2,
|
|
|
+ "legendFormat": "misc",
|
|
|
+ "refId": "F",
|
|
|
+ "step": 60
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "expr": "sum(node_memory_MemFree{instance=~'[[node]].*', _ftio=\"\"})",
|
|
|
+ "format": "time_series",
|
|
|
+ "hide": false,
|
|
|
+ "interval": "",
|
|
|
+ "intervalFactor": 2,
|
|
|
+ "legendFormat": "free",
|
|
|
+ "metric": "",
|
|
|
+ "refId": "B",
|
|
|
+ "step": 60
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "expr": "sum(node_memory_SwapTotal{instance=~'[[node]].*', _ftio=\"\"}) - sum(node_memory_SwapFree{instance=~'[[node]].*', _ftio=\"\"})",
|
|
|
+ "format": "time_series",
|
|
|
+ "interval": "",
|
|
|
+ "intervalFactor": 2,
|
|
|
+ "legendFormat": "swapped",
|
|
|
+ "refId": "G",
|
|
|
+ "step": 60
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "expr": "sum(node_memory_MemTotal{instance=~'[[node]].*', _ftio=\"\"}) ",
|
|
|
+ "format": "time_series",
|
|
|
+ "interval": "",
|
|
|
+ "intervalFactor": 2,
|
|
|
+ "legendFormat": "total",
|
|
|
+ "metric": "",
|
|
|
+ "refId": "D",
|
|
|
+ "step": 60
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "thresholds": [],
|
|
|
+ "timeFrom": null,
|
|
|
+ "timeShift": null,
|
|
|
+ "title": "Host Memory",
|
|
|
+ "tooltip": {
|
|
|
+ "msResolution": false,
|
|
|
+ "shared": true,
|
|
|
+ "sort": 2,
|
|
|
+ "value_type": "individual"
|
|
|
+ },
|
|
|
+ "type": "graph",
|
|
|
+ "xaxis": {
|
|
|
+ "buckets": null,
|
|
|
+ "mode": "time",
|
|
|
+ "name": null,
|
|
|
+ "show": true,
|
|
|
+ "values": []
|
|
|
+ },
|
|
|
+ "yaxes": [
|
|
|
+ {
|
|
|
+ "format": "bytes",
|
|
|
+ "label": "GB",
|
|
|
+ "logBase": 1,
|
|
|
+ "max": null,
|
|
|
+ "min": "0",
|
|
|
+ "show": true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "format": "short",
|
|
|
+ "logBase": 1,
|
|
|
+ "max": null,
|
|
|
+ "min": null,
|
|
|
+ "show": true
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "repeat": null,
|
|
|
+ "repeatIteration": null,
|
|
|
+ "repeatRowId": null,
|
|
|
+ "showTitle": false,
|
|
|
+ "title": "Dashboard Row",
|
|
|
+ "titleSize": "h6"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "schemaVersion": 14,
|
|
|
+ "style": "dark",
|
|
|
+ "tags": [
|
|
|
+ "prometheus"
|
|
|
+ ],
|
|
|
+ "templating": {
|
|
|
+ "list": [
|
|
|
+ {
|
|
|
+ "allValue": null,
|
|
|
+ "current": {},
|
|
|
+ "datasource": "${DS_LOCAL-P8S}",
|
|
|
+ "hide": 0,
|
|
|
+ "includeAll": false,
|
|
|
+ "label": "Node",
|
|
|
+ "multi": false,
|
|
|
+ "name": "node",
|
|
|
+ "options": [],
|
|
|
+ "query": "label_values(prometheus_target_interval_length_seconds_count, instance)",
|
|
|
+ "refresh": 2,
|
|
|
+ "regex": "",
|
|
|
+ "sort": 0,
|
|
|
+ "tagValuesQuery": "",
|
|
|
+ "tags": [],
|
|
|
+ "tagsQuery": "",
|
|
|
+ "type": "query",
|
|
|
+ "useTags": false
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "time": {
|
|
|
+ "from": "now-6h",
|
|
|
+ "to": "now"
|
|
|
+ },
|
|
|
+ "timepicker": {
|
|
|
+ "now": true,
|
|
|
+ "refresh_intervals": [
|
|
|
+ "5s",
|
|
|
+ "10s",
|
|
|
+ "30s",
|
|
|
+ "1m",
|
|
|
+ "5m",
|
|
|
+ "15m",
|
|
|
+ "30m",
|
|
|
+ "1h",
|
|
|
+ "2h",
|
|
|
+ "1d"
|
|
|
+ ],
|
|
|
+ "time_options": [
|
|
|
+ "5m",
|
|
|
+ "15m",
|
|
|
+ "1h",
|
|
|
+ "6h",
|
|
|
+ "12h",
|
|
|
+ "24h",
|
|
|
+ "2d",
|
|
|
+ "7d",
|
|
|
+ "30d"
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "timezone": "browser",
|
|
|
+ "title": "Prometheus 2.0 Stats",
|
|
|
+ "version": 1
|
|
|
+}
|