From dc5bf1c9939e23814eb874f0b25f04650f12428b Mon Sep 17 00:00:00 2001 From: Michel Conrado Date: Wed, 25 Mar 2020 14:59:24 -0300 Subject: [PATCH 1/2] add new JSON for Grafana dashboard --- scripts/grafana_dashboard.json | 2275 ++++++++++++++++---------------- 1 file changed, 1110 insertions(+), 1165 deletions(-) diff --git a/scripts/grafana_dashboard.json b/scripts/grafana_dashboard.json index 7ca23f8..efa1062 100644 --- a/scripts/grafana_dashboard.json +++ b/scripts/grafana_dashboard.json @@ -1,15 +1,16 @@ { "__inputs": [ - { - "name": "DS_DGRAPH", - "label": "localhost", - "description": "Datasource with Dgraph metrics", - "type": "datasource", - "pluginId": "prometheus", - "pluginname": "Prometheus" - } + { + "name": "DS_DGRAPH", + "label": "localhost", + "description": "Datasource with Dgraph metrics", + "type": "datasource", + "pluginId": "prometheus", + "pluginname": "Prometheus" + } ], - "id": 1, + "version": 4, + "id": 4, "title": "Dgraph", "originalTitle": "Dgraph", "tags": [], @@ -18,1455 +19,1399 @@ "editable": true, "hideControls": false, "sharedCrosshair": false, - "rows": [ - { - "collapse": false, - "editable": true, - "height": "250px", - "panels": [ - { - "aliasColors": {}, - "bars": false, - "datasource": "${DS_DGRAPH}", - "editable": true, - "error": false, - "fill": 1, - "grid": { - "leftLogBase": 1, - "leftMax": null, - "leftMin": null, - "rightLogBase": 1, - "rightMax": null, - "rightMin": null, - "threshold1": null, - "threshold1Color": "rgba(216, 200, 27, 0.27)", - "threshold2": null, - "threshold2Color": "rgba(234, 112, 112, 0.22)", - "thresholdLine": false - }, - "id": 1, - "isNew": true, - "legend": { - "alignAsTable": false, - "avg": false, - "current": false, - "max": true, - "min": false, - "rightSide": false, - "show": true, - "total": false, - "values": true + "gnetId": null, + "graphTooltip": 0, + "iteration": 1581648260240, + "refresh": "5s", + "schemaVersion": 22, + "uid": "I3MEcmwZz", + "panels": [ + { + "datasource": "Prometheus", + "gridPos": { + "h": 6, + "w": 12, + "x": 0, + "y": 0 }, - "lines": true, - "linewidth": 2, + "id": 34, "links": [], - "nullPointMode": "connected", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "rightYAxisLabel": "", - "seriesOverrides": [], - "span": 6, - "stack": false, - "steppedLine": false, + "options": { + "fieldOptions": { + "calcs": [ + "last" + ], + "defaults": { + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + } + ] + }, + "title": "Memory in use", + "unit": "decbytes" + }, + "limit": 3, + "overrides": [], + "values": false + }, + "orientation": "auto", + "showThresholdLabels": false, + "showThresholdMarkers": true + }, + "pluginVersion": "6.6.1", "targets": [ - { - "expr": "dgraph_memory_inuse_bytes+dgraph_memory_idle_bytes{instance=~'$Instance'}", - "intervalFactor": 2, - "legendFormat": "", - "metric": "dgraph_memory_idle_bytes", - "refId": "A", - "step": 2 - }, - { - "expr": "dgraph_memory_proc_bytes{instance=~'$Instance'}", - "intervalFactor": 2, - "legendFormat": "", - "metric": "dgraph_memory_proc_bytes", - "refId": "B", - "step": 2 - } + { + "expr": "(dgraph_memory_idle_bytes{instance=~'$Instance'}+dgraph_memory_inuse_bytes{instance=~'$Instance'})", + "intervalFactor": 1, + "legendFormat": "", + "metric": "dgraph_memory_idle_bytes", + "refId": "A", + "step": 2 + } ], "timeFrom": null, "timeShift": null, - "title": "Total memory", - "tooltip": { - "shared": true, - "value_type": "cumulative" - }, - "type": "graph", - "x-axis": true, - "y-axis": true, - "y_formats": [ - "bytes", - "short" - ] - }, - { - "aliasColors": {}, - "bars": false, - "datasource": "${DS_DGRAPH}", - "editable": true, - "error": false, - "fill": 1, - "grid": { - "leftLogBase": 1, - "leftMax": null, - "leftMin": null, - "rightLogBase": 1, - "rightMax": null, - "rightMin": null, - "threshold1": null, - "threshold1Color": "rgba(216, 200, 27, 0.27)", - "threshold2": null, - "threshold2Color": "rgba(234, 112, 112, 0.22)" - }, - "id": 4, - "isNew": true, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false + "title": "", + "transparent": true, + "type": "gauge" + }, + { + "cacheTimeout": null, + "datasource": "Prometheus", + "gridPos": { + "h": 2, + "w": 4, + "x": 13, + "y": 0 }, - "lines": true, - "linewidth": 2, + "hideTimeOverride": false, + "id": 30, "links": [], - "nullPointMode": "connected", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [ - { - "alias": "Bytes Read", - "yaxis": 1 - }, - { - "alias": "Bytes Read", - "yaxis": 2 - } - ], - "span": 6, - "stack": false, - "steppedLine": false, + "options": { + "colorMode": "background", + "fieldOptions": { + "calcs": [ + "max" + ], + "defaults": { + "mappings": [ + { + "id": 0, + "op": "=", + "text": "N/A", + "type": 1, + "value": "null" + } + ], + "nullValueMode": "connected", + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 1 + } + ] + }, + "title": "Health Status -", + "unit": "short" + }, + "overrides": [], + "values": false + }, + "graphMode": "none", + "justifyMode": "center", + "orientation": "vertical" + }, + "pluginVersion": "6.6.1", "targets": [ - { - "expr": "rate(dgraph_read_bytes_total{instance=~'$Instance'}[1m])", - "interval": "", - "intervalFactor": 2, - "legendFormat": "Bytes Read", - "metric": "dgraph_read_bytes_total", - "refId": "A", - "step": 2 - }, - { - "expr": "rate(dgraph_posting_reads_total{instance=~'$Instance'}[1m])", - "intervalFactor": 2, - "legendFormat": "Postings Read", - "metric": "dgraph_posting_reads_total", - "refId": "B", - "step": 2 - } + { + "expr": "dgraph_alpha_health_status{instance=~'$Instance'}-1", + "format": "heatmap", + "hide": false, + "instant": false, + "intervalFactor": 1, + "legendFormat": "", + "metric": "dgraph_active_mutations_total", + "refId": "A", + "step": 2 + } ], "timeFrom": null, "timeShift": null, - "title": "Read rate (1m)", - "tooltip": { - "shared": true, - "value_type": "cumulative" - }, - "type": "graph", - "x-axis": true, - "y-axis": true, - "y_formats": [ - "bytes", - "short" - ] - } - ], - "showTitle": false, - "title": "Row" - }, - { - "collapse": false, - "editable": true, - "height": "250px", - "panels": [ - { - "aliasColors": {}, - "bars": false, - "datasource": "${DS_DGRAPH}", - "editable": true, - "error": false, - "fill": 1, - "grid": { - "leftLogBase": 1, - "leftMax": null, - "leftMin": null, - "rightLogBase": 1, - "rightMax": null, - "rightMin": null, - "threshold1": null, - "threshold1Color": "rgba(216, 200, 27, 0.27)", - "threshold2": null, - "threshold2Color": "rgba(234, 112, 112, 0.22)" + "title": "Zero and Alpha", + "transparent": true, + "type": "stat" + }, + { + "cacheTimeout": null, + "colorBackground": false, + "colorPostfix": false, + "colorPrefix": false, + "colorValue": true, + "colors": [ + "#299c46", + "rgba(237, 129, 40, 0.89)", + "#d44a3a" + ], + "datasource": null, + "decimals": null, + "description": "", + "format": "short", + "gauge": { + "maxValue": 100, + "minValue": 0, + "show": false, + "thresholdLabels": false, + "thresholdMarkers": true }, - "id": 14, - "isNew": true, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false + "gridPos": { + "h": 3, + "w": 7, + "x": 17, + "y": 0 }, - "lines": true, - "linewidth": 2, + "id": 28, + "interval": null, "links": [], + "mappingType": 1, + "mappingTypes": [ + { + "name": "value to text", + "value": 1 + }, + { + "name": "range to text", + "value": 2 + } + ], + "maxDataPoints": 100, "nullPointMode": "connected", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "span": 6, - "stack": false, - "steppedLine": false, + "nullText": null, + "options": {}, + "pluginVersion": "6.6.1", + "postfix": " /RDFs", + "postfixFontSize": "70%", + "prefix": "", + "prefixFontSize": "20%", + "rangeMaps": [ + { + "from": "null", + "text": "N/A", + "to": "null" + } + ], + "sparkline": { + "fillColor": "rgba(31, 118, 189, 0.18)", + "full": false, + "lineColor": "rgb(31, 120, 193)", + "show": false, + "ymax": null, + "ymin": null + }, + "tableColumn": "", "targets": [ - { - "expr": "dgraph_memory_idle_bytes{instance=~'$Instance'}", - "interval": "", - "intervalFactor": 2, - "legendFormat": "", - "metric": "dgraph_memory_idle_bytes", - "refId": "A", - "step": 2 - } + { + "expr": "sum(dgraph_num_edges_total{instance=~'$Instance'})", + "intervalFactor": 1, + "legendFormat": "", + "refId": "A" + } ], + "thresholds": "", "timeFrom": null, "timeShift": null, - "title": "Memory Heap Idle", - "tooltip": { - "shared": true, - "value_type": "cumulative" - }, - "type": "graph", - "x-axis": true, - "y-axis": true, - "y_formats": [ - "bytes", - "short" - ] - }, - { - "aliasColors": {}, - "bars": false, - "datasource": "${DS_DGRAPH}", - "editable": true, - "error": false, - "fill": 1, - "grid": { - "leftLogBase": 1, - "leftMax": null, - "leftMin": null, - "rightLogBase": 1, - "rightMax": null, - "rightMin": null, - "threshold1": null, - "threshold1Color": "rgba(216, 200, 27, 0.27)", - "threshold2": null, - "threshold2Color": "rgba(234, 112, 112, 0.22)" - }, - "id": 3, - "isNew": true, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false + "title": "", + "transparent": true, + "type": "singlestat", + "valueFontSize": "200%", + "valueMaps": [ + { + "op": "=", + "text": "N/A", + "value": "null" + } + ], + "valueName": "max" + }, + { + "cacheTimeout": null, + "datasource": null, + "gridPos": { + "h": 3, + "w": 6, + "x": 12, + "y": 3 }, - "lines": true, - "linewidth": 2, + "id": 22, "links": [], - "nullPointMode": "connected", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [ - { - "alias": "Bytes Written", - "yaxis": 1 - }, - { - "alias": "Postings Written", - "yaxis": 2 - } - ], - "span": 6, - "stack": false, - "steppedLine": false, + "options": { + "fieldOptions": { + "calcs": [ + "last" + ], + "defaults": { + "mappings": [], + "nullValueMode": "connected", + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + } + ] + }, + "title": "Goroutines", + "unit": "none" + }, + "overrides": [], + "values": false + }, + "orientation": "horizontal", + "showThresholdLabels": false, + "showThresholdMarkers": false + }, + "pluginVersion": "6.6.1", "targets": [ - { - "expr": "rate(dgraph_written_bytes_total{instance=~'$Instance'}[30s])", - "intervalFactor": 2, - "legendFormat": "Bytes Written", - "metric": "dgraph_written_bytes_total", - "refId": "A", - "step": 2 - }, - { - "expr": "rate(dgraph_posting_writes_total{instance=~'$Instance'}[30s])", - "intervalFactor": 2, - "legendFormat": "Postings Written", - "metric": "dgraph_posting_writes_total", - "refId": "B", - "step": 2 - } + { + "expr": "go_goroutines{instance=~'$Instance'}", + "format": "time_series", + "intervalFactor": 1, + "refId": "A" + } ], "timeFrom": null, "timeShift": null, - "title": "Writes Rate(30s)", - "tooltip": { - "shared": true, - "value_type": "cumulative" + "title": "", + "transparent": true, + "type": "gauge" + }, + { + "cacheTimeout": null, + "colorBackground": false, + "colorPostfix": false, + "colorPrefix": false, + "colorValue": true, + "colors": [ + "#299c46", + "rgba(237, 129, 40, 0.89)", + "#d44a3a" + ], + "datasource": null, + "decimals": null, + "description": "", + "format": "short", + "gauge": { + "maxValue": 100, + "minValue": 0, + "show": false, + "thresholdLabels": false, + "thresholdMarkers": true }, - "type": "graph", - "x-axis": true, - "y-axis": true, - "y_formats": [ - "bytes", - "short" - ] - } - ], - "showTitle": false, - "title": "New row" - }, - { - "collapse": false, - "editable": true, - "height": "250px", - "panels": [ - { - "aliasColors": {}, - "bars": false, - "datasource": "${DS_DGRAPH}", - "editable": true, - "error": false, - "fill": 1, - "grid": { - "leftLogBase": 1, - "leftMax": null, - "leftMin": null, - "rightLogBase": 1, - "rightMax": null, - "rightMin": null, - "threshold1": null, - "threshold1Color": "rgba(216, 200, 27, 0.27)", - "threshold2": null, - "threshold2Color": "rgba(234, 112, 112, 0.22)" + "gridPos": { + "h": 2, + "w": 6, + "x": 18, + "y": 3 }, - "id": 6, - "isNew": true, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 2, + "id": 29, + "interval": null, "links": [], + "mappingType": 1, + "mappingTypes": [ + { + "name": "value to text", + "value": 1 + }, + { + "name": "range to text", + "value": 2 + } + ], + "maxDataPoints": 100, "nullPointMode": "connected", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "span": 6, - "stack": false, - "steppedLine": false, + "nullText": null, + "options": {}, + "pluginVersion": "6.6.1", + "postfix": " /queries", + "postfixFontSize": "50%", + "prefix": "", + "prefixFontSize": "20%", + "rangeMaps": [ + { + "from": "null", + "text": "N/A", + "to": "null" + } + ], + "sparkline": { + "fillColor": "rgba(31, 118, 189, 0.18)", + "full": false, + "lineColor": "rgb(31, 120, 193)", + "show": false, + "ymax": null, + "ymin": null + }, + "tableColumn": "", "targets": [ - { - "expr": "rate(go_gc_duration_seconds_sum{instance=~'$Instance'}[30s])", - "intervalFactor": 2, - "legendFormat": "", - "metric": "go_gc_duration_seconds_sum", - "refId": "A", - "step": 2 - } + { + "expr": "sum(dgraph_num_queries_total{instance=~'$Instance'})", + "intervalFactor": 1, + "legendFormat": "", + "refId": "A" + } ], + "thresholds": "", "timeFrom": null, "timeShift": null, - "title": "GC second sum rate(30s)", - "tooltip": { - "shared": true, - "value_type": "cumulative" - }, - "type": "graph", - "x-axis": true, - "y-axis": true, - "y_formats": [ - "short", - "short" - ] - }, - { + "title": "", + "transparent": true, + "type": "singlestat", + "valueFontSize": "150%", + "valueMaps": [ + { + "op": "=", + "text": "N/A", + "value": "null" + } + ], + "valueName": "total" + }, + { "aliasColors": {}, "bars": false, - "datasource": "${DS_DGRAPH}", + "dashLength": 10, + "dashes": false, + "datasource": "Prometheus", "editable": true, "error": false, "fill": 1, - "grid": { - "leftLogBase": 1, - "leftMax": null, - "leftMin": null, - "rightLogBase": 1, - "rightMax": null, - "rightMin": null, - "threshold1": null, - "threshold1Color": "rgba(216, 200, 27, 0.27)", - "threshold2": null, - "threshold2Color": "rgba(234, 112, 112, 0.22)" + "fillGradient": 0, + "grid": {}, + "gridPos": { + "h": 9, + "w": 24, + "x": 0, + "y": 6 }, - "id": 5, + "hiddenSeries": false, + "id": 1, "isNew": true, "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false + "alignAsTable": false, + "avg": false, + "current": false, + "max": true, + "min": false, + "rightSide": false, + "show": true, + "total": false, + "values": true }, "lines": true, "linewidth": 2, "links": [], "nullPointMode": "connected", + "options": { + "dataLinks": [] + }, "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", "seriesOverrides": [], - "span": 6, + "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ - { - "expr": "dgraph_pending_proposals_total{instance=~'$Instance'}", - "intervalFactor": 2, - "legendFormat": "", - "metric": "dgraph_pending_proposals_total", - "refId": "A", - "step": 2 - }, - { - "expr": "", - "intervalFactor": 2, - "refId": "B" - } + { + "expr": "dgraph_memory_inuse_bytes+dgraph_memory_idle_bytes{instance=~'$Instance'}", + "intervalFactor": 2, + "legendFormat": "", + "metric": "dgraph_memory_idle_bytes", + "refId": "A", + "step": 2 + }, + { + "expr": "dgraph_memory_proc_bytes{instance=~'$Instance'}", + "intervalFactor": 2, + "legendFormat": "", + "metric": "dgraph_memory_proc_bytes", + "refId": "B", + "step": 2 + } ], + "thresholds": [], "timeFrom": null, + "timeRegions": [], "timeShift": null, - "title": "Pending Proposals", + "title": "Total memory", "tooltip": { - "shared": true, - "value_type": "cumulative" + "shared": true, + "sort": 0, + "value_type": "cumulative" }, "type": "graph", - "x-axis": true, - "y-axis": true, - "y_formats": [ - "short", - "short" - ] - } - ], - "title": "New row" - }, - { - "collapse": false, - "editable": true, - "height": "250px", - "panels": [ - { - "aliasColors": {}, - "bars": false, - "datasource": "${DS_DGRAPH}", - "editable": true, - "error": false, - "fill": 1, - "grid": { - "leftLogBase": 1, - "leftMax": null, - "leftMin": null, - "rightLogBase": 1, - "rightMax": null, - "rightMin": null, - "threshold1": null, - "threshold1Color": "rgba(216, 200, 27, 0.27)", - "threshold2": null, - "threshold2Color": "rgba(234, 112, 112, 0.22)" + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] }, - "id": 7, - "isNew": true, - "legend": { - "alignAsTable": false, - "avg": false, - "current": false, - "max": false, - "min": false, - "rightSide": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 2, - "links": [], - "nullPointMode": "connected", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [ - {} - ], - "span": 6, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "sum(dgraph_predicate_stats)", - "interval": "", - "intervalFactor": 2, - "legendFormat": "All", - "metric": "dgraph_predicate_stats", - "refId": "A", - "step": 2 - }, - { - "expr": "sum(dgraph_predicate_stats{instance=~'$Instance'})", - "interval": "", - "intervalFactor": 2, - "legendFormat": "current", - "refId": "B", - "step": 2 - }, - { - "expr": "", - "intervalFactor": 2, - "legendFormat": "machine2", - "refId": "C", - "step": 2 - }, - { - "expr": "", - "intervalFactor": 2, - "legendFormat": "machine4", - "refId": "D", - "step": 2 - } + "yaxes": [ + { + "format": "bytes", + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "label": "", + "logBase": 1, + "max": null, + "min": null, + "show": true + } ], - "timeFrom": null, - "timeShift": null, - "title": "Predicate Stats(Number of mutations)", - "tooltip": { - "shared": true, - "value_type": "individual" - }, - "type": "graph", - "x-axis": true, - "y-axis": true, - "y_formats": [ - "short", - "short" - ] - }, - { + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { "aliasColors": {}, "bars": false, - "datasource": "${DS_DGRAPH}", + "dashLength": 10, + "dashes": false, + "datasource": "Prometheus", "editable": true, "error": false, "fill": 1, - "grid": { - "leftLogBase": 1, - "leftMax": null, - "leftMin": null, - "rightLogBase": 1, - "rightMax": null, - "rightMin": null, - "threshold1": null, - "threshold1Color": "rgba(216, 200, 27, 0.27)", - "threshold2": null, - "threshold2Color": "rgba(234, 112, 112, 0.22)" + "fillGradient": 0, + "grid": {}, + "gridPos": { + "h": 7, + "w": 12, + "x": 0, + "y": 15 }, - "id": 10, + "hiddenSeries": false, + "id": 17, "isNew": true, "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false + "alignAsTable": true, + "avg": true, + "current": true, + "max": true, + "min": false, + "show": true, + "total": false, + "values": true }, "lines": true, "linewidth": 2, "links": [], "nullPointMode": "connected", + "options": { + "dataLinks": [] + }, "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", "seriesOverrides": [], - "span": 6, + "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ - { - "expr": "sum(rate(dgraph_predicate_stats[1m]))", - "intervalFactor": 2, - "legendFormat": "All", - "metric": "", - "refId": "A", - "step": 2 - }, - { - "expr": "sum(rate(dgraph_predicate_stats{instance=~'$Instance'}[1m]))", - "intervalFactor": 2, - "legendFormat": "current", - "refId": "B", - "step": 2 - } + { + "expr": "dgraph_active_mutations_total{instance=~'$Instance'}", + "intervalFactor": 2, + "legendFormat": "", + "metric": "dgraph_active_mutations_total", + "refId": "A", + "step": 2 + } ], + "thresholds": [], "timeFrom": null, + "timeRegions": [], "timeShift": null, - "title": "Mutations - All Servers (1m)", + "title": "Active mutations", "tooltip": { - "shared": true, - "value_type": "cumulative" + "shared": true, + "sort": 0, + "value_type": "cumulative" }, "type": "graph", - "x-axis": true, - "y-axis": true, - "y_formats": [ - "ops", - "short" - ] - } - ], - "title": "New row" - }, - { - "collapse": false, - "editable": true, - "height": "250px", - "panels": [ - { + "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": {}, "bars": false, - "datasource": "${DS_DGRAPH}", + "dashLength": 10, + "dashes": false, + "datasource": "Prometheus", "editable": true, "error": false, - "fill": 1, - "grid": { - "leftLogBase": 1, - "leftMax": null, - "leftMin": null, - "rightLogBase": 1, - "rightMax": null, - "rightMin": null, - "threshold1": null, - "threshold1Color": "rgba(216, 200, 27, 0.27)", - "threshold2": null, - "threshold2Color": "rgba(234, 112, 112, 0.22)" + "fill": 0, + "fillGradient": 0, + "grid": {}, + "gridPos": { + "h": 7, + "w": 12, + "x": 12, + "y": 15 }, - "id": 8, + "hiddenSeries": false, + "id": 5, "isNew": true, "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false + "alignAsTable": true, + "avg": true, + "current": true, + "hideEmpty": false, + "hideZero": false, + "max": false, + "min": false, + "rightSide": false, + "show": true, + "total": true, + "values": true }, "lines": true, - "linewidth": 2, + "linewidth": 1, "links": [], "nullPointMode": "connected", + "options": { + "dataLinks": [] + }, "percentage": false, + "pluginVersion": "6.6.1", "pointradius": 5, "points": false, "renderer": "flot", "seriesOverrides": [], - "span": 6, + "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ - { - "expr": "dgraph_max_list_bytes{instance=~'$Instance'}", - "intervalFactor": 2, - "legendFormat": "", - "metric": "dgraph_max_list_bytes", - "refId": "A", - "step": 2 - } + { + "expr": "dgraph_pending_proposals_total{instance=~'$Instance'}", + "intervalFactor": 2, + "legendFormat": "", + "metric": "dgraph_pending_proposals_total", + "refId": "A", + "step": 2 + } ], + "thresholds": [], "timeFrom": null, + "timeRegions": [], "timeShift": null, - "title": "MaxPlLength", + "title": "Pending Proposals", "tooltip": { - "shared": true, - "value_type": "cumulative" + "shared": true, + "sort": 1, + "value_type": "cumulative" }, "type": "graph", - "x-axis": true, - "y-axis": true, - "y_formats": [ - "bytes", - "short" - ] - }, - { + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "short", + "label": "", + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "label": "", + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { "aliasColors": {}, "bars": false, - "datasource": "${DS_DGRAPH}", + "dashLength": 10, + "dashes": false, + "datasource": "Prometheus", "editable": true, "error": false, "fill": 1, - "grid": { - "leftLogBase": 1, - "leftMax": null, - "leftMin": null, - "rightLogBase": 1, - "rightMax": null, - "rightMin": null, - "threshold1": null, - "threshold1Color": "rgba(216, 200, 27, 0.27)", - "threshold2": null, - "threshold2Color": "rgba(234, 112, 112, 0.22)" + "fillGradient": 0, + "grid": {}, + "gridPos": { + "h": 7, + "w": 12, + "x": 0, + "y": 22 }, - "id": 18, + "hiddenSeries": false, + "id": 14, "isNew": true, "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false }, "lines": true, "linewidth": 2, "links": [], "nullPointMode": "connected", + "options": { + "dataLinks": [] + }, "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", "seriesOverrides": [], - "span": 6, + "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ - { - "expr": "dgraph_alpha_health_status{instance=~'$Instance'}", - "intervalFactor": 2, - "legendFormat": "", - "metric": "dgraph_alpha_health_status", - "refId": "A", - "step": 2 - } + { + "expr": "dgraph_memory_idle_bytes{instance=~'$Instance'}", + "interval": "", + "intervalFactor": 2, + "legendFormat": "", + "metric": "dgraph_memory_idle_bytes", + "refId": "A", + "step": 2 + } ], + "thresholds": [], "timeFrom": null, + "timeRegions": [], "timeShift": null, - "title": "Server Health", + "title": "Memory Heap Idle", "tooltip": { - "shared": true, - "value_type": "cumulative" + "shared": true, + "sort": 0, + "value_type": "cumulative" }, "type": "graph", - "x-axis": true, - "y-axis": true, - "y_formats": [ - "short", - "short" - ] - } - ], - "title": "New row" - }, - { - "collapse": false, - "editable": true, - "height": "250px", - "panels": [ - { - "aliasColors": {}, - "bars": false, - "datasource": "${DS_DGRAPH}", - "editable": true, - "error": false, - "fill": 1, - "grid": { - "leftLogBase": 1, - "leftMax": null, - "leftMin": null, - "rightLogBase": 1, - "rightMax": null, - "rightMin": null, - "threshold1": null, - "threshold1Color": "rgba(216, 200, 27, 0.27)", - "threshold2": null, - "threshold2Color": "rgba(234, 112, 112, 0.22)" - }, - "id": 2, - "isNew": true, - "leftYAxisLabel": "", - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] }, - "lines": true, - "linewidth": 2, - "links": [], - "nullPointMode": "connected", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [ - { - "alias": "cacheSize", - "yaxis": 1 - }, - { - "alias": "cacheLen", - "yaxis": 2 - } - ], - "span": 6, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "dgraph_lru_size_bytes{instance=~'$Instance'}", - "intervalFactor": 2, - "legendFormat": "cacheSize", - "metric": "dgraph_lru_size_bytes", - "refId": "A", - "step": 2 - }, - { - "expr": "dgraph_lru_keys_total{instance=~'$Instance'}", - "interval": "", - "intervalFactor": 2, - "legendFormat": "cacheLen", - "metric": "dgraph_lru_keys_total", - "refId": "B", - "step": 2 - }, - { - "expr": "", - "intervalFactor": 2, - "refId": "C" - } + "yaxes": [ + { + "format": "bytes", + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "logBase": 1, + "max": null, + "min": null, + "show": true + } ], - "timeFrom": null, - "timeShift": null, - "title": "LRU Cache", - "tooltip": { - "shared": true, - "value_type": "cumulative" - }, - "type": "graph", - "x-axis": true, - "y-axis": true, - "y_formats": [ - "bytes", - "short" - ] - }, - { + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { "aliasColors": {}, "bars": false, - "datasource": "${DS_DGRAPH}", - "editable": true, - "error": false, + "cacheTimeout": null, + "dashLength": 10, + "dashes": false, + "datasource": "Prometheus", "fill": 1, - "grid": { - "leftLogBase": 1, - "leftMax": null, - "leftMin": null, - "rightLogBase": 1, - "rightMax": null, - "rightMin": null, - "threshold1": null, - "threshold1Color": "rgba(216, 200, 27, 0.27)", - "threshold2": null, - "threshold2Color": "rgba(234, 112, 112, 0.22)" + "fillGradient": 0, + "gridPos": { + "h": 7, + "w": 12, + "x": 12, + "y": 22 }, - "id": 13, - "isNew": true, + "hiddenSeries": false, + "hideTimeOverride": false, + "id": 23, "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false }, "lines": true, - "linewidth": 2, + "linewidth": 1, "links": [], - "nullPointMode": "connected", + "nullPointMode": "null", + "options": { + "dataLinks": [] + }, "percentage": false, - "pointradius": 5, + "pluginVersion": "6.6.1", + "pointradius": 2, "points": false, "renderer": "flot", - "seriesOverrides": [ - { - "alias": "cacheHit", - "yaxis": 1 - }, - { - "alias": "cacheMiss", - "yaxis": 1 - }, - { - "alias": "cacheRace", - "yaxis": 1 - } - ], - "span": 6, + "seriesOverrides": [], + "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ - { - "expr": "dgraph_lru_hits_total{instance=~'$Instance'}", - "intervalFactor": 2, - "legendFormat": "cacheHit", - "metric": "dgraph_lru_hits_total", - "refId": "A", - "step": 2 - }, - { - "expr": "dgraph_lru_miss_total{instance=~'$Instance'}", - "intervalFactor": 2, - "legendFormat": "cacheMiss", - "metric": "cacheMiss", - "refId": "B", - "step": 2 - }, - { - "expr": "dgraph_lru_race_total{instance=~'$Instance'}", - "intervalFactor": 2, - "legendFormat": "cacheRace", - "metric": "cacheRace", - "refId": "C", - "step": 2 - } + { + "expr": "dgraph_num_queries_total", + "format": "heatmap", + "hide": false, + "instant": false, + "intervalFactor": 1, + "legendFormat": "", + "metric": "dgraph_active_mutations_total", + "refId": "A", + "step": 2 + } ], + "thresholds": [], "timeFrom": null, + "timeRegions": [], "timeShift": null, - "title": "Cache Hit,Miss,Race", + "title": "Processed Queries", "tooltip": { - "shared": true, - "value_type": "cumulative" + "shared": true, + "sort": 0, + "value_type": "individual" }, "type": "graph", - "x-axis": true, - "y-axis": true, - "y_formats": [ - "short", - "short" - ] - } - ], - "title": "New row" - }, - { - "collapse": false, - "editable": true, - "height": "250px", - "panels": [ - { + "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, - "datasource": "${DS_DGRAPH}", + "dashLength": 10, + "dashes": false, + "datasource": "Prometheus", "editable": true, "error": false, "fill": 1, - "grid": { - "leftLogBase": 1, - "leftMax": null, - "leftMin": null, - "rightLogBase": 1, - "rightMax": null, - "rightMin": null, - "threshold1": null, - "threshold1Color": "rgba(216, 200, 27, 0.27)", - "threshold2": null, - "threshold2Color": "rgba(234, 112, 112, 0.22)" + "fillGradient": 0, + "grid": {}, + "gridPos": { + "h": 7, + "w": 12, + "x": 0, + "y": 29 }, - "id": 12, + "hiddenSeries": false, + "id": 6, "isNew": true, "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false }, "lines": true, "linewidth": 2, "links": [], "nullPointMode": "connected", + "options": { + "dataLinks": [] + }, "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", "seriesOverrides": [], - "span": 6, + "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ - { - "expr": "rate(dgraph_lru_evicted_total{instance=~'$Instance'}[30s])", - "intervalFactor": 2, - "legendFormat": "", - "metric": "dgraph_lru_evicted_total", - "refId": "A", - "step": 2 - }, - { - "expr": "", - "intervalFactor": 2, - "legendFormat": "", - "metric": "", - "refId": "B", - "step": 2 - } + { + "expr": "rate(go_gc_duration_seconds_sum{instance=~'$Instance'}[30s])", + "intervalFactor": 2, + "legendFormat": "", + "metric": "go_gc_duration_seconds_sum", + "refId": "A", + "step": 2 + } ], + "thresholds": [], "timeFrom": null, + "timeRegions": [], "timeShift": null, - "title": "rate Evicted Pls", + "title": "GC second sum rate(30s)", "tooltip": { - "shared": true, - "value_type": "cumulative" + "shared": true, + "sort": 0, + "value_type": "cumulative" }, "type": "graph", - "x-axis": true, - "y-axis": true, - "y_formats": [ - "short", - "short" - ] - }, - { + "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": {}, "bars": false, - "datasource": "${DS_DGRAPH}", + "dashLength": 10, + "dashes": false, + "datasource": "Prometheus", "editable": true, "error": false, "fill": 1, - "grid": { - "leftLogBase": 1, - "leftMax": null, - "leftMin": null, - "rightLogBase": 1, - "rightMax": null, - "rightMin": null, - "threshold1": null, - "threshold1Color": "rgba(216, 200, 27, 0.27)", - "threshold2": null, - "threshold2Color": "rgba(234, 112, 112, 0.22)" + "fillGradient": 0, + "grid": {}, + "gridPos": { + "h": 7, + "w": 12, + "x": 12, + "y": 29 }, - "id": 11, + "hiddenSeries": false, + "id": 16, "isNew": true, "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false }, "lines": true, "linewidth": 2, "links": [], "nullPointMode": "connected", + "options": { + "dataLinks": [] + }, "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", "seriesOverrides": [], - "span": 6, + "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ - { - "expr": "process_cpu_seconds_total{instance=~'$Instance'}", - "intervalFactor": 2, - "legendFormat": "", - "metric": "process_cpu_seconds_total", - "refId": "A", - "step": 2 - } + { + "expr": "dgraph_pending_queries_total{instance=~'$Instance'}", + "intervalFactor": 2, + "legendFormat": "", + "metric": "dgraph_pending_queries_total", + "refId": "A", + "step": 2 + } ], + "thresholds": [], "timeFrom": null, + "timeRegions": [], "timeShift": null, - "title": "process_cpu_seconds", + "title": "Pending Queries", "tooltip": { - "shared": true, - "value_type": "cumulative" + "shared": true, + "sort": 0, + "value_type": "cumulative" }, "type": "graph", - "x-axis": true, - "y-axis": true, - "y_formats": [ - "short", - "short" - ] - } - ], - "title": "New row" - }, - { - "collapse": false, - "editable": true, - "height": "250px", - "panels": [ - { + "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": {}, "bars": false, - "datasource": "${DS_DGRAPH}", - "editable": true, - "error": false, + "cacheTimeout": null, + "dashLength": 10, + "dashes": false, + "datasource": "Prometheus", "fill": 1, - "grid": { - "leftLogBase": 1, - "leftMax": null, - "leftMin": null, - "rightLogBase": 1, - "rightMax": null, - "rightMin": null, - "threshold1": null, - "threshold1Color": "rgba(216, 200, 27, 0.27)", - "threshold2": null, - "threshold2Color": "rgba(234, 112, 112, 0.22)" + "fillGradient": 0, + "gridPos": { + "h": 7, + "w": 12, + "x": 0, + "y": 36 }, - "id": 17, - "isNew": true, + "hiddenSeries": false, + "hideTimeOverride": false, + "id": 31, "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false }, "lines": true, - "linewidth": 2, + "linewidth": 1, "links": [], - "nullPointMode": "connected", + "nullPointMode": "null", + "options": { + "dataLinks": [] + }, "percentage": false, - "pointradius": 5, + "pluginVersion": "6.6.1", + "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], - "span": 6, + "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ - { - "expr": "dgraph_active_mutations_total{instance=~'$Instance'}", - "intervalFactor": 2, - "legendFormat": "", - "metric": "dgraph_active_mutations_total", - "refId": "A", - "step": 2 - } + { + "expr": "dgraph_raft_applied_index{instance=~'$Instance'}", + "format": "heatmap", + "hide": false, + "instant": false, + "intervalFactor": 1, + "legendFormat": "", + "metric": "dgraph_active_mutations_total", + "refId": "A", + "step": 2 + } ], + "thresholds": [], "timeFrom": null, + "timeRegions": [], "timeShift": null, - "title": "Active mutations", + "title": "Raft Applied Index", "tooltip": { - "shared": true, - "value_type": "cumulative" + "shared": true, + "sort": 0, + "value_type": "individual" }, "type": "graph", - "x-axis": true, - "y-axis": true, - "y_formats": [ - "short", - "short" - ] - }, - { + "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, - "datasource": "${DS_DGRAPH}", + "dashLength": 10, + "dashes": false, + "datasource": "Prometheus", "editable": true, "error": false, "fill": 1, - "grid": { - "leftLogBase": 1, - "leftMax": null, - "leftMin": null, - "rightLogBase": 1, - "rightMax": null, - "rightMin": null, - "threshold1": null, - "threshold1Color": "rgba(216, 200, 27, 0.27)", - "threshold2": null, - "threshold2Color": "rgba(234, 112, 112, 0.22)" + "fillGradient": 0, + "grid": {}, + "gridPos": { + "h": 7, + "w": 12, + "x": 12, + "y": 36 }, - "id": 16, + "hiddenSeries": false, + "id": 18, "isNew": true, "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false }, "lines": true, "linewidth": 2, "links": [], "nullPointMode": "connected", + "options": { + "dataLinks": [] + }, "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", "seriesOverrides": [], - "span": 6, + "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ - { - "expr": "dgraph_pending_queries_total{instance=~'$Instance'}", - "intervalFactor": 2, - "legendFormat": "", - "metric": "dgraph_pending_queries_total", - "refId": "A", - "step": 2 - } + { + "expr": "dgraph_alpha_health_status{instance=~'$Instance'}", + "intervalFactor": 2, + "legendFormat": "", + "metric": "dgraph_alpha_health_status", + "refId": "A", + "step": 2 + } ], + "thresholds": [], "timeFrom": null, + "timeRegions": [], "timeShift": null, - "title": "Pending Queries", + "title": "Server Health", "tooltip": { - "shared": true, - "value_type": "cumulative" + "shared": true, + "sort": 0, + "value_type": "cumulative" }, "type": "graph", - "x-axis": true, - "y-axis": true, - "y_formats": [ - "short", - "short" - ] - } - ], - "title": "New row" - }, - { - "collapse": false, - "editable": true, - "height": "250px", - "panels": [ - { + "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": {}, "bars": false, - "datasource": "${DS_DGRAPH}", - "editable": true, - "error": false, + "cacheTimeout": null, + "dashLength": 10, + "dashes": false, + "datasource": "Prometheus", + "description": "Last threads used by go.", "fill": 1, - "grid": { - "leftLogBase": 1, - "leftMax": null, - "leftMin": null, - "rightLogBase": 1, - "rightMax": null, - "rightMin": null, - "threshold1": null, - "threshold1Color": "rgba(216, 200, 27, 0.27)", - "threshold2": null, - "threshold2Color": "rgba(234, 112, 112, 0.22)" + "fillGradient": 0, + "gridPos": { + "h": 7, + "w": 12, + "x": 12, + "y": 43 }, - "id": 19, - "isNew": true, + "hiddenSeries": false, + "hideTimeOverride": false, + "id": 32, "legend": { - "alignAsTable": true, - "avg": false, - "current": false, - "max": true, - "min": false, - "rightSide": false, - "show": true, - "sort": "max", - "sortDesc": true, - "total": false, - "values": true + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false }, "lines": true, - "linewidth": 2, + "linewidth": 1, "links": [], - "nullPointMode": "connected", + "nullPointMode": "null", + "options": { + "dataLinks": [] + }, "percentage": false, - "pointradius": 5, + "pluginVersion": "6.6.1", + "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], - "span": 12, + "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ - { - "expr": "dgraph_predicate_stats{instance=~'$Instance'}", - "intervalFactor": 2, - "legendFormat": "", - "metric": "predicateStats", - "refId": "A", - "step": 2 - } + { + "expr": "go_threads", + "format": "heatmap", + "hide": false, + "instant": false, + "intervalFactor": 1, + "legendFormat": "", + "metric": "dgraph_active_mutations_total", + "refId": "A", + "step": 2 + } ], + "thresholds": [], "timeFrom": null, + "timeRegions": [], "timeShift": null, - "title": "Mutations(per predicate)", + "title": "Threads", "tooltip": { - "shared": true, - "value_type": "cumulative" + "shared": true, + "sort": 0, + "value_type": "individual" }, "type": "graph", - "x-axis": true, - "y-axis": true, - "y_formats": [ - "short", - "short" - ] - } - ], - "title": "New row" - } + "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 + } + } ], - "time": { - "from": "now-1h", - "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" - ] + "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" + ] }, "templating": { - "list": [ - { - "allFormat": "regex wildcard", - "current": { - "text": "172.31.9.133:8080", - "value": "172\\.31\\.9\\.133\\:8080" - }, - "datasource": "${DS_DGRAPH}", - "includeAll": true, - "multi": false, - "multiFormat": "glob", - "name": "Instance", - "options": [ - { - "text": "All", - "value": ".*", - "selected": false - }, + "list": [ { - "text": "172.31.0.170:8080", - "value": "172\\.31\\.0\\.170\\:8080", - "selected": false - }, - { - "text": "172.31.15.230:8080", - "value": "172\\.31\\.15\\.230\\:8080", - "selected": false - }, - { - "text": "172.31.8.118:8080", - "value": "172\\.31\\.8\\.118\\:8080", - "selected": false - }, - { - "text": "172.31.9.133:8080", - "value": "172\\.31\\.9\\.133\\:8080", - "selected": true + "allFormat": "regex wildcard", + "allValue": null, + "current": { + "selected": false, + "text": "All", + "value": "$__all" + }, + "datasource": "Prometheus", + "definition": "", + "hide": 0, + "includeAll": true, + "label": null, + "multi": false, + "multiFormat": "glob", + "name": "Instance", + "options": [], + "query": "label_values(instance)", + "refresh": 1, + "regex": "", + "skipUrlSync": false, + "sort": 0, + "tagValuesQuery": "", + "tags": [], + "tagsQuery": "", + "type": "query", + "useTags": false } - ], - "query": "label_values(instance)", - "refresh": true, - "regex": "", - "type": "query" - } - ] + ] }, - "annotations": { - "list": [] + "time": { + "from": "now-12h", + "to": "now" }, - "refresh": "5s", - "schemaVersion": 8, - "version": 81, "links": [] -} +} \ No newline at end of file From bdfe8b38a202aad5cb1ca84f00bea1c00d7c2d78 Mon Sep 17 00:00:00 2001 From: Michel Conrado Date: Tue, 31 Mar 2020 23:10:13 -0300 Subject: [PATCH 2/2] Simplify dgraph's grafana panels. Removed some unuseful metrics. --- scripts/grafana_dashboard.json | 2494 +++++++++++++++----------------- 1 file changed, 1136 insertions(+), 1358 deletions(-) diff --git a/scripts/grafana_dashboard.json b/scripts/grafana_dashboard.json index efa1062..5668742 100644 --- a/scripts/grafana_dashboard.json +++ b/scripts/grafana_dashboard.json @@ -1,1417 +1,1195 @@ { - "__inputs": [ - { - "name": "DS_DGRAPH", - "label": "localhost", - "description": "Datasource with Dgraph metrics", - "type": "datasource", - "pluginId": "prometheus", - "pluginname": "Prometheus" - } - ], - "version": 4, - "id": 4, - "title": "Dgraph", - "originalTitle": "Dgraph", - "tags": [], - "style": "dark", - "timezone": "browser", - "editable": true, - "hideControls": false, - "sharedCrosshair": false, - "gnetId": null, - "graphTooltip": 0, - "iteration": 1581648260240, - "refresh": "5s", - "schemaVersion": 22, - "uid": "I3MEcmwZz", - "panels": [ - { - "datasource": "Prometheus", - "gridPos": { - "h": 6, - "w": 12, - "x": 0, - "y": 0 - }, - "id": 34, - "links": [], - "options": { - "fieldOptions": { - "calcs": [ - "last" - ], - "defaults": { - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - } - ] - }, - "title": "Memory in use", - "unit": "decbytes" - }, - "limit": 3, - "overrides": [], - "values": false - }, - "orientation": "auto", - "showThresholdLabels": false, - "showThresholdMarkers": true - }, - "pluginVersion": "6.6.1", - "targets": [ - { - "expr": "(dgraph_memory_idle_bytes{instance=~'$Instance'}+dgraph_memory_inuse_bytes{instance=~'$Instance'})", - "intervalFactor": 1, - "legendFormat": "", - "metric": "dgraph_memory_idle_bytes", - "refId": "A", - "step": 2 - } - ], - "timeFrom": null, - "timeShift": null, - "title": "", - "transparent": true, - "type": "gauge" - }, - { - "cacheTimeout": null, - "datasource": "Prometheus", - "gridPos": { - "h": 2, - "w": 4, - "x": 13, - "y": 0 - }, - "hideTimeOverride": false, - "id": 30, - "links": [], - "options": { - "colorMode": "background", - "fieldOptions": { - "calcs": [ - "max" - ], - "defaults": { - "mappings": [ - { - "id": 0, - "op": "=", - "text": "N/A", - "type": 1, - "value": "null" - } - ], - "nullValueMode": "connected", - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 1 - } - ] - }, - "title": "Health Status -", - "unit": "short" - }, - "overrides": [], - "values": false - }, - "graphMode": "none", - "justifyMode": "center", - "orientation": "vertical" - }, - "pluginVersion": "6.6.1", - "targets": [ - { - "expr": "dgraph_alpha_health_status{instance=~'$Instance'}-1", - "format": "heatmap", - "hide": false, - "instant": false, - "intervalFactor": 1, - "legendFormat": "", - "metric": "dgraph_active_mutations_total", - "refId": "A", - "step": 2 - } - ], - "timeFrom": null, - "timeShift": null, - "title": "Zero and Alpha", - "transparent": true, - "type": "stat" - }, + "annotations": { + "list": [ + { + "$$hashKey": "object:315", + "builtIn": 1, + "datasource": "-- Grafana --", + "enable": true, + "hide": true, + "iconColor": "rgba(0, 211, 255, 1)", + "name": "Annotations & Alerts", + "type": "dashboard" + } + ] + }, + "editable": true, + "gnetId": null, + "graphTooltip": 0, + "id": 1, + "iteration": 1585706329057, + "links": [], + "panels": [ { - "cacheTimeout": null, - "colorBackground": false, - "colorPostfix": false, - "colorPrefix": false, - "colorValue": true, - "colors": [ - "#299c46", - "rgba(237, 129, 40, 0.89)", - "#d44a3a" - ], - "datasource": null, - "decimals": null, - "description": "", - "format": "short", - "gauge": { - "maxValue": 100, - "minValue": 0, - "show": false, - "thresholdLabels": false, - "thresholdMarkers": true - }, - "gridPos": { - "h": 3, - "w": 7, - "x": 17, - "y": 0 - }, - "id": 28, - "interval": null, - "links": [], - "mappingType": 1, - "mappingTypes": [ - { - "name": "value to text", - "value": 1 - }, - { - "name": "range to text", - "value": 2 - } - ], - "maxDataPoints": 100, - "nullPointMode": "connected", - "nullText": null, - "options": {}, - "pluginVersion": "6.6.1", - "postfix": " /RDFs", - "postfixFontSize": "70%", - "prefix": "", - "prefixFontSize": "20%", - "rangeMaps": [ - { - "from": "null", - "text": "N/A", - "to": "null" - } - ], - "sparkline": { - "fillColor": "rgba(31, 118, 189, 0.18)", - "full": false, - "lineColor": "rgb(31, 120, 193)", - "show": false, - "ymax": null, - "ymin": null - }, - "tableColumn": "", - "targets": [ - { - "expr": "sum(dgraph_num_edges_total{instance=~'$Instance'})", - "intervalFactor": 1, - "legendFormat": "", - "refId": "A" - } - ], - "thresholds": "", - "timeFrom": null, - "timeShift": null, - "title": "", - "transparent": true, - "type": "singlestat", - "valueFontSize": "200%", - "valueMaps": [ - { + "cacheTimeout": null, + "datasource": "Prometheus", + "gridPos": { + "h": 2, + "w": 24, + "x": 0, + "y": 0 + }, + "hideTimeOverride": false, + "id": 30, + "links": [], + "options": { + "colorMode": "background", + "fieldOptions": { + "calcs": [ + "max" + ], + "defaults": { + "mappings": [ + { + "id": 0, "op": "=", "text": "N/A", + "type": 1, "value": "null" - } - ], - "valueName": "max" - }, - { - "cacheTimeout": null, - "datasource": null, - "gridPos": { - "h": 3, - "w": 6, - "x": 12, - "y": 3 - }, - "id": 22, - "links": [], - "options": { - "fieldOptions": { - "calcs": [ - "last" - ], - "defaults": { - "mappings": [], - "nullValueMode": "connected", - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - } - ] - }, - "title": "Goroutines", - "unit": "none" + } + ], + "nullValueMode": "connected", + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null }, - "overrides": [], - "values": false + { + "color": "red", + "value": 1 + } + ] }, - "orientation": "horizontal", - "showThresholdLabels": false, - "showThresholdMarkers": false + "title": "Health Status -", + "unit": "short" + }, + "overrides": [], + "values": false }, - "pluginVersion": "6.6.1", - "targets": [ - { - "expr": "go_goroutines{instance=~'$Instance'}", - "format": "time_series", - "intervalFactor": 1, - "refId": "A" - } - ], - "timeFrom": null, - "timeShift": null, - "title": "", - "transparent": true, - "type": "gauge" + "graphMode": "none", + "justifyMode": "center", + "orientation": "vertical" + }, + "pluginVersion": "6.7.1", + "targets": [ + { + "expr": "dgraph_alpha_health_status{instance=~'$Instance'}-1", + "format": "heatmap", + "hide": false, + "instant": false, + "intervalFactor": 1, + "legendFormat": "", + "metric": "dgraph_active_mutations_total", + "refId": "A", + "step": 2 + } + ], + "timeFrom": null, + "timeShift": null, + "title": "Zero and Alpha", + "transparent": true, + "type": "stat" }, { - "cacheTimeout": null, - "colorBackground": false, - "colorPostfix": false, - "colorPrefix": false, - "colorValue": true, - "colors": [ - "#299c46", - "rgba(237, 129, 40, 0.89)", - "#d44a3a" - ], - "datasource": null, - "decimals": null, - "description": "", - "format": "short", - "gauge": { - "maxValue": 100, - "minValue": 0, - "show": false, - "thresholdLabels": false, - "thresholdMarkers": true - }, - "gridPos": { - "h": 2, - "w": 6, - "x": 18, - "y": 3 - }, - "id": 29, - "interval": null, - "links": [], - "mappingType": 1, - "mappingTypes": [ - { - "name": "value to text", - "value": 1 + "datasource": "Prometheus", + "gridPos": { + "h": 3, + "w": 24, + "x": 0, + "y": 2 + }, + "id": 34, + "links": [], + "options": { + "fieldOptions": { + "calcs": [ + "last" + ], + "defaults": { + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + } + ] }, - { - "name": "range to text", - "value": 2 - } - ], - "maxDataPoints": 100, - "nullPointMode": "connected", - "nullText": null, - "options": {}, - "pluginVersion": "6.6.1", - "postfix": " /queries", - "postfixFontSize": "50%", - "prefix": "", - "prefixFontSize": "20%", - "rangeMaps": [ - { - "from": "null", - "text": "N/A", - "to": "null" - } - ], - "sparkline": { - "fillColor": "rgba(31, 118, 189, 0.18)", - "full": false, - "lineColor": "rgb(31, 120, 193)", - "show": false, - "ymax": null, - "ymin": null + "title": "Memory in use", + "unit": "decbytes" + }, + "limit": 3, + "overrides": [], + "values": false }, - "tableColumn": "", - "targets": [ - { - "expr": "sum(dgraph_num_queries_total{instance=~'$Instance'})", - "intervalFactor": 1, - "legendFormat": "", - "refId": "A" - } - ], - "thresholds": "", - "timeFrom": null, - "timeShift": null, - "title": "", - "transparent": true, - "type": "singlestat", - "valueFontSize": "150%", - "valueMaps": [ - { - "op": "=", - "text": "N/A", - "value": "null" - } - ], - "valueName": "total" + "orientation": "auto", + "showThresholdLabels": false, + "showThresholdMarkers": true + }, + "pluginVersion": "6.7.1", + "targets": [ + { + "expr": "(dgraph_memory_idle_bytes{instance=~'$Instance'}+dgraph_memory_inuse_bytes{instance=~'$Instance'})", + "interval": "", + "intervalFactor": 1, + "legendFormat": "Alpha", + "metric": "dgraph_memory_idle_bytes", + "refId": "A", + "step": 2 + } + ], + "timeFrom": null, + "timeShift": null, + "title": "", + "transparent": true, + "type": "gauge" }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "Prometheus", - "editable": true, - "error": false, - "fill": 1, - "fillGradient": 0, - "grid": {}, - "gridPos": { - "h": 9, - "w": 24, - "x": 0, - "y": 6 - }, - "hiddenSeries": false, - "id": 1, - "isNew": true, - "legend": { - "alignAsTable": false, - "avg": false, - "current": false, - "max": true, - "min": false, - "rightSide": false, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 2, - "links": [], - "nullPointMode": "connected", - "options": { - "dataLinks": [] - }, - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "dgraph_memory_inuse_bytes+dgraph_memory_idle_bytes{instance=~'$Instance'}", - "intervalFactor": 2, - "legendFormat": "", - "metric": "dgraph_memory_idle_bytes", - "refId": "A", - "step": 2 - }, - { - "expr": "dgraph_memory_proc_bytes{instance=~'$Instance'}", - "intervalFactor": 2, - "legendFormat": "", - "metric": "dgraph_memory_proc_bytes", - "refId": "B", - "step": 2 - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Total memory", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "cumulative" + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "Prometheus", + "editable": true, + "error": false, + "fill": 1, + "fillGradient": 0, + "grid": {}, + "gridPos": { + "h": 9, + "w": 24, + "x": 0, + "y": 5 + }, + "hiddenSeries": false, + "id": 1, + "isNew": true, + "legend": { + "alignAsTable": false, + "avg": false, + "current": false, + "max": true, + "min": false, + "rightSide": false, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "connected", + "options": { + "dataLinks": [] + }, + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "dgraph_memory_inuse_bytes+dgraph_memory_idle_bytes{instance=~'$Instance'}", + "interval": "", + "intervalFactor": 2, + "legendFormat": "Inuse+Idle ({{instance}})", + "metric": "dgraph_memory_idle_bytes", + "refId": "A", + "step": 2 }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] + { + "expr": "dgraph_memory_proc_bytes{instance=~'$Instance'}", + "interval": "", + "intervalFactor": 2, + "legendFormat": "Proc ({{instance}})", + "metric": "dgraph_memory_proc_bytes", + "refId": "B", + "step": 2 + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Total memory", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "cumulative" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "bytes", + "logBase": 1, + "max": null, + "min": null, + "show": true }, - "yaxes": [ - { - "format": "bytes", - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": "", - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null + { + "format": "short", + "label": "", + "logBase": 1, + "max": null, + "min": null, + "show": true } + ], + "yaxis": { + "align": false, + "alignLevel": null + } }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "Prometheus", - "editable": true, - "error": false, - "fill": 1, - "fillGradient": 0, - "grid": {}, - "gridPos": { - "h": 7, - "w": 12, - "x": 0, - "y": 15 - }, - "hiddenSeries": false, - "id": 17, - "isNew": true, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": false, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 2, - "links": [], - "nullPointMode": "connected", - "options": { - "dataLinks": [] - }, - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "dgraph_active_mutations_total{instance=~'$Instance'}", - "intervalFactor": 2, - "legendFormat": "", - "metric": "dgraph_active_mutations_total", - "refId": "A", - "step": 2 - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Active mutations", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "cumulative" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "Prometheus", + "editable": true, + "error": false, + "fill": 1, + "fillGradient": 0, + "grid": {}, + "gridPos": { + "h": 7, + "w": 12, + "x": 0, + "y": 14 + }, + "hiddenSeries": false, + "id": 17, + "isNew": true, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "max": true, + "min": false, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "connected", + "options": { + "dataLinks": [] + }, + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "dgraph_active_mutations_total{instance=~'$Instance'}", + "intervalFactor": 2, + "legendFormat": "", + "metric": "dgraph_active_mutations_total", + "refId": "A", + "step": 2 + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Active mutations", + "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 }, - "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 + { + "format": "short", + "logBase": 1, + "max": null, + "min": null, + "show": true } + ], + "yaxis": { + "align": false, + "alignLevel": null + } }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "Prometheus", - "editable": true, - "error": false, - "fill": 0, - "fillGradient": 0, - "grid": {}, - "gridPos": { - "h": 7, - "w": 12, - "x": 12, - "y": 15 - }, - "hiddenSeries": false, - "id": 5, - "isNew": true, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "hideEmpty": false, - "hideZero": false, - "max": false, - "min": false, - "rightSide": false, - "show": true, - "total": true, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "connected", - "options": { - "dataLinks": [] - }, - "percentage": false, - "pluginVersion": "6.6.1", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "dgraph_pending_proposals_total{instance=~'$Instance'}", - "intervalFactor": 2, - "legendFormat": "", - "metric": "dgraph_pending_proposals_total", - "refId": "A", - "step": 2 - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Pending Proposals", - "tooltip": { - "shared": true, - "sort": 1, - "value_type": "cumulative" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "Prometheus", + "editable": true, + "error": false, + "fill": 0, + "fillGradient": 0, + "grid": {}, + "gridPos": { + "h": 7, + "w": 12, + "x": 12, + "y": 14 + }, + "hiddenSeries": false, + "id": 5, + "isNew": true, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "hideEmpty": false, + "hideZero": false, + "max": false, + "min": false, + "rightSide": false, + "show": true, + "total": true, + "values": true + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "connected", + "options": { + "dataLinks": [] + }, + "percentage": false, + "pluginVersion": "6.6.1", + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "dgraph_pending_proposals_total{instance=~'$Instance'}", + "intervalFactor": 2, + "legendFormat": "", + "metric": "dgraph_pending_proposals_total", + "refId": "A", + "step": 2 + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Pending Proposals", + "tooltip": { + "shared": true, + "sort": 1, + "value_type": "cumulative" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "short", + "label": "", + "logBase": 1, + "max": null, + "min": null, + "show": true }, - "yaxes": [ - { - "format": "short", - "label": "", - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": "", - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null + { + "format": "short", + "label": "", + "logBase": 1, + "max": null, + "min": null, + "show": true } + ], + "yaxis": { + "align": false, + "alignLevel": null + } }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "Prometheus", - "editable": true, - "error": false, - "fill": 1, - "fillGradient": 0, - "grid": {}, - "gridPos": { - "h": 7, - "w": 12, - "x": 0, - "y": 22 - }, - "hiddenSeries": false, - "id": 14, - "isNew": true, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 2, - "links": [], - "nullPointMode": "connected", - "options": { - "dataLinks": [] - }, - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "dgraph_memory_idle_bytes{instance=~'$Instance'}", - "interval": "", - "intervalFactor": 2, - "legendFormat": "", - "metric": "dgraph_memory_idle_bytes", - "refId": "A", - "step": 2 - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Memory Heap Idle", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "cumulative" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "Prometheus", + "editable": true, + "error": false, + "fill": 1, + "fillGradient": 0, + "grid": {}, + "gridPos": { + "h": 7, + "w": 12, + "x": 0, + "y": 21 + }, + "hiddenSeries": false, + "id": 14, + "isNew": true, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "connected", + "options": { + "dataLinks": [] + }, + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "dgraph_memory_idle_bytes{instance=~'$Instance'}", + "interval": "", + "intervalFactor": 2, + "legendFormat": "", + "metric": "dgraph_memory_idle_bytes", + "refId": "A", + "step": 2 + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Memory Heap Idle", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "cumulative" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "bytes", + "logBase": 1, + "max": null, + "min": null, + "show": true }, - "yaxes": [ - { - "format": "bytes", - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null + { + "format": "short", + "logBase": 1, + "max": null, + "min": null, + "show": true } + ], + "yaxis": { + "align": false, + "alignLevel": null + } }, { - "aliasColors": {}, - "bars": false, - "cacheTimeout": null, - "dashLength": 10, - "dashes": false, - "datasource": "Prometheus", - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 7, - "w": 12, - "x": 12, - "y": 22 - }, - "hiddenSeries": false, - "hideTimeOverride": false, - "id": 23, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "dataLinks": [] - }, - "percentage": false, - "pluginVersion": "6.6.1", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "dgraph_num_queries_total", - "format": "heatmap", - "hide": false, - "instant": false, - "intervalFactor": 1, - "legendFormat": "", - "metric": "dgraph_active_mutations_total", - "refId": "A", - "step": 2 - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Processed Queries", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "Prometheus", + "editable": true, + "error": false, + "fill": 1, + "fillGradient": 0, + "grid": {}, + "gridPos": { + "h": 7, + "w": 12, + "x": 12, + "y": 21 + }, + "hiddenSeries": false, + "id": 6, + "isNew": true, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "connected", + "options": { + "dataLinks": [] + }, + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "rate(go_gc_duration_seconds_sum{instance=~'$Instance'}[30s])", + "intervalFactor": 2, + "legendFormat": "", + "metric": "go_gc_duration_seconds_sum", + "refId": "A", + "step": 2 + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "GC second sum rate(30s)", + "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 }, - "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 + { + "format": "short", + "logBase": 1, + "max": null, + "min": null, + "show": true } + ], + "yaxis": { + "align": false, + "alignLevel": null + } }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "Prometheus", - "editable": true, - "error": false, - "fill": 1, - "fillGradient": 0, - "grid": {}, - "gridPos": { - "h": 7, - "w": 12, - "x": 0, - "y": 29 - }, - "hiddenSeries": false, - "id": 6, - "isNew": true, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 2, - "links": [], - "nullPointMode": "connected", - "options": { - "dataLinks": [] - }, - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "rate(go_gc_duration_seconds_sum{instance=~'$Instance'}[30s])", - "intervalFactor": 2, - "legendFormat": "", - "metric": "go_gc_duration_seconds_sum", - "refId": "A", - "step": 2 - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "GC second sum rate(30s)", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "cumulative" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] + "aliasColors": {}, + "bars": false, + "cacheTimeout": null, + "dashLength": 10, + "dashes": false, + "datasource": "Prometheus", + "description": "goroutines used by go.", + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 7, + "w": 24, + "x": 0, + "y": 28 + }, + "hiddenSeries": false, + "hideTimeOverride": false, + "id": 35, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "null", + "options": { + "dataLinks": [] + }, + "percentage": false, + "pluginVersion": "6.6.1", + "pointradius": 2, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "go_goroutines{instance=~'$Instance'}", + "format": "time_series", + "hide": false, + "instant": false, + "interval": "", + "intervalFactor": 1, + "legendFormat": "", + "metric": "dgraph_active_mutations_total", + "refId": "A", + "step": 2 + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "goroutines", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "$$hashKey": "object:595", + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true }, - "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 + { + "$$hashKey": "object:596", + "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": "Prometheus", - "editable": true, - "error": false, - "fill": 1, - "fillGradient": 0, - "grid": {}, - "gridPos": { - "h": 7, - "w": 12, - "x": 12, - "y": 29 - }, - "hiddenSeries": false, - "id": 16, - "isNew": true, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 2, - "links": [], - "nullPointMode": "connected", - "options": { - "dataLinks": [] - }, - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "dgraph_pending_queries_total{instance=~'$Instance'}", - "intervalFactor": 2, - "legendFormat": "", - "metric": "dgraph_pending_queries_total", - "refId": "A", - "step": 2 - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Pending Queries", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "cumulative" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] + "aliasColors": {}, + "bars": false, + "cacheTimeout": null, + "dashLength": 10, + "dashes": false, + "datasource": "Prometheus", + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 7, + "w": 12, + "x": 0, + "y": 35 + }, + "hiddenSeries": false, + "hideTimeOverride": false, + "id": 23, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "null", + "options": { + "dataLinks": [] + }, + "percentage": false, + "pluginVersion": "6.6.1", + "pointradius": 2, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "dgraph_num_queries_total", + "format": "time_series", + "hide": false, + "instant": false, + "interval": "", + "intervalFactor": 1, + "legendFormat": "", + "metric": "dgraph_active_mutations_total", + "refId": "A", + "step": 2 + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Processed Queries", + "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 }, - "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 + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true } + ], + "yaxis": { + "align": false, + "alignLevel": null + } }, { - "aliasColors": {}, - "bars": false, - "cacheTimeout": null, - "dashLength": 10, - "dashes": false, - "datasource": "Prometheus", - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 7, - "w": 12, - "x": 0, - "y": 36 - }, - "hiddenSeries": false, - "hideTimeOverride": false, - "id": 31, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "dataLinks": [] - }, - "percentage": false, - "pluginVersion": "6.6.1", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "dgraph_raft_applied_index{instance=~'$Instance'}", - "format": "heatmap", - "hide": false, - "instant": false, - "intervalFactor": 1, - "legendFormat": "", - "metric": "dgraph_active_mutations_total", - "refId": "A", - "step": 2 - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Raft Applied Index", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "Prometheus", + "editable": true, + "error": false, + "fill": 1, + "fillGradient": 0, + "grid": {}, + "gridPos": { + "h": 7, + "w": 12, + "x": 12, + "y": 35 + }, + "hiddenSeries": false, + "id": 16, + "isNew": true, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "connected", + "options": { + "dataLinks": [] + }, + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "dgraph_pending_queries_total{instance=~'$Instance'}", + "intervalFactor": 2, + "legendFormat": "", + "metric": "dgraph_pending_queries_total", + "refId": "A", + "step": 2 + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Pending Queries", + "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 }, - "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 + { + "format": "short", + "logBase": 1, + "max": null, + "min": null, + "show": true } + ], + "yaxis": { + "align": false, + "alignLevel": null + } }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "Prometheus", - "editable": true, - "error": false, - "fill": 1, - "fillGradient": 0, - "grid": {}, - "gridPos": { - "h": 7, - "w": 12, - "x": 12, - "y": 36 - }, - "hiddenSeries": false, - "id": 18, - "isNew": true, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 2, - "links": [], - "nullPointMode": "connected", - "options": { - "dataLinks": [] - }, - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "dgraph_alpha_health_status{instance=~'$Instance'}", - "intervalFactor": 2, - "legendFormat": "", - "metric": "dgraph_alpha_health_status", - "refId": "A", - "step": 2 - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Server Health", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "cumulative" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] + "aliasColors": {}, + "bars": false, + "cacheTimeout": null, + "dashLength": 10, + "dashes": false, + "datasource": "Prometheus", + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 7, + "w": 12, + "x": 0, + "y": 42 + }, + "hiddenSeries": false, + "hideTimeOverride": false, + "id": 31, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "null", + "options": { + "dataLinks": [] + }, + "percentage": false, + "pluginVersion": "6.6.1", + "pointradius": 2, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "dgraph_raft_applied_index{instance=~'$Instance'}", + "format": "time_series", + "hide": false, + "instant": false, + "interval": "", + "intervalFactor": 1, + "legendFormat": "", + "metric": "dgraph_active_mutations_total", + "refId": "A", + "step": 2 + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Raft Applied Index", + "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 }, - "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 + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true } + ], + "yaxis": { + "align": false, + "alignLevel": null + } }, { - "aliasColors": {}, - "bars": false, - "cacheTimeout": null, - "dashLength": 10, - "dashes": false, - "datasource": "Prometheus", - "description": "Last threads used by go.", - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 7, - "w": 12, - "x": 12, - "y": 43 - }, - "hiddenSeries": false, - "hideTimeOverride": false, - "id": 32, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "dataLinks": [] - }, - "percentage": false, - "pluginVersion": "6.6.1", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "go_threads", - "format": "heatmap", - "hide": false, - "instant": false, - "intervalFactor": 1, - "legendFormat": "", - "metric": "dgraph_active_mutations_total", - "refId": "A", - "step": 2 - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Threads", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "Prometheus", + "editable": true, + "error": false, + "fill": 1, + "fillGradient": 0, + "grid": {}, + "gridPos": { + "h": 7, + "w": 12, + "x": 12, + "y": 42 + }, + "hiddenSeries": false, + "id": 18, + "isNew": true, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 2, + "links": [], + "nullPointMode": "connected", + "options": { + "dataLinks": [] + }, + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "dgraph_alpha_health_status{instance=~'$Instance'}", + "intervalFactor": 2, + "legendFormat": "", + "metric": "dgraph_alpha_health_status", + "refId": "A", + "step": 2 + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Server Health", + "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 }, - "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 + { + "format": "short", + "logBase": 1, + "max": null, + "min": null, + "show": true } + ], + "yaxis": { + "align": false, + "alignLevel": null + } } - ], - "timepicker": { + ], + "refresh": "5s", + "schemaVersion": 22, + "style": "dark", + "tags": [], + "templating": { + "list": [ + { + "allFormat": "regex wildcard", + "allValue": null, + "current": { + "selected": true, + "text": "All", + "value": "$__all" + }, + "datasource": "Prometheus", + "definition": "", + "hide": 0, + "includeAll": true, + "index": -1, + "label": null, + "multi": false, + "multiFormat": "glob", + "name": "Instance", + "options": [], + "query": "label_values(instance)", + "refresh": 1, + "regex": "", + "skipUrlSync": false, + "sort": 0, + "tagValuesQuery": "", + "tags": [], + "tagsQuery": "", + "type": "query", + "useTags": false + } + ] + }, + "time": { + "from": "now-12h", + "to": "now" + }, + "timepicker": { "now": true, "refresh_intervals": [ - "5s", - "10s", - "30s", - "1m", - "5m", - "15m", - "30m", - "1h", - "2h", - "1d" + "5s", + "10s", + "30s", + "1m", + "5m", + "15m", + "30m", + "1h", + "2h", + "1d" ], "time_options": [ - "5m", - "15m", - "1h", - "6h", - "12h", - "24h", - "2d", - "7d", - "30d" + "5m", + "15m", + "1h", + "6h", + "12h", + "24h", + "2d", + "7d", + "30d" ] - }, - "templating": { - "list": [ - { - "allFormat": "regex wildcard", - "allValue": null, - "current": { - "selected": false, - "text": "All", - "value": "$__all" - }, - "datasource": "Prometheus", - "definition": "", - "hide": 0, - "includeAll": true, - "label": null, - "multi": false, - "multiFormat": "glob", - "name": "Instance", - "options": [], - "query": "label_values(instance)", - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 0, - "tagValuesQuery": "", - "tags": [], - "tagsQuery": "", - "type": "query", - "useTags": false - } - ] - }, - "time": { - "from": "now-12h", - "to": "now" - }, - "links": [] -} \ No newline at end of file + }, + "timezone": "browser", + "title": "Dgraph", + "uid": "I3MEcmwZz", + "variables": { + "list": [] + }, + "version": 4 + } \ No newline at end of file