diff --git a/grafana-dashboard/README.md b/grafana-dashboard/README.md index 9adfcd00..bb16c733 100644 --- a/grafana-dashboard/README.md +++ b/grafana-dashboard/README.md @@ -7,7 +7,11 @@ This folder hosts an example on the Grafana dashboard for Open Policy Agent. It visualizes most of the metrics recorded by Open Policy Agent as documented in https://www.openpolicyagent.org/docs/latest/monitoring/ -The version of OPA that this is made for is 0.27 or above. +A bundle block is also included in the dashboard to show the bundle metrics. + +![](images/dashboard-image-6.png) + +The version of OPA that this is made for is 0.58 or above. **Notes:** Before you use this dashboard, please mind the variables and the prometheus labels. These variables and labels may not be applicable in your case so use other names than those provided in this example. diff --git a/grafana-dashboard/dashboard.json b/grafana-dashboard/dashboard.json index 0727e3eb..01e52f31 100644 --- a/grafana-dashboard/dashboard.json +++ b/grafana-dashboard/dashboard.json @@ -1,42 +1,4 @@ { - "__inputs": [ - { - "name": "DS_STAGING", - "label": "staging", - "description": "Staging Cluster", - "type": "datasource", - "pluginId": "prometheus", - "pluginName": "Prometheus" - }, - { - "name": "DS_PRODUCTION", - "label": "production", - "description": "Production Cluster", - "type": "datasource", - "pluginId": "prometheus", - "pluginName": "Prometheus" - } - ], - "__requires": [ - { - "type": "grafana", - "id": "grafana", - "name": "Grafana", - "version": "7.2.1" - }, - { - "type": "panel", - "id": "graph", - "name": "Graph", - "version": "" - }, - { - "type": "datasource", - "id": "prometheus", - "name": "Prometheus", - "version": "1.0.0" - } - ], "annotations": { "list": [ { @@ -52,39 +14,19 @@ }, "description": "Open Policy Agents Runtime metrics", "editable": true, + "fiscalYearStartMonth": 0, "gnetId": 10826, "graphTooltip": 0, "id": null, - "iteration": 1614225809999, "links": [], + "liveNow": false, "panels": [ { "aliasColors": {}, "bars": false, - "cacheTimeout": null, "dashLength": 10, "dashes": false, - "datasource": "$cluster", - "fieldConfig": { - "defaults": { - "custom": {}, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, + "datasource": "Prometheus", "fill": 1, "fillGradient": 0, "gridPos": { @@ -95,7 +37,6 @@ }, "hiddenSeries": false, "id": 49, - "interval": null, "legend": { "avg": false, "current": false, @@ -114,7 +55,7 @@ "alertThreshold": true }, "percentage": false, - "pluginVersion": "7.2.1", + "pluginVersion": "10.1.5", "pointradius": 2, "points": false, "renderer": "flot", @@ -124,19 +65,18 @@ "steppedLine": false, "targets": [ { - "datasource": "$cluster", + "editorMode": "code", "expr": "sum(rate(http_request_duration_seconds_sum{instance=~\"$instance\", namespace=\"$namespace\"}[$interval])) / sum(rate(http_request_duration_seconds_count{instance=~\"$instance\", namespace=\"$namespace\"}[$interval]))", "format": "time_series", "interval": "$interval", "intervalFactor": 1, "legendFormat": "", + "range": true, "refId": "A" } ], "thresholds": [], - "timeFrom": null, "timeRegions": [], - "timeShift": null, "title": "Avg Response Time", "tooltip": { "shared": true, @@ -145,33 +85,24 @@ }, "type": "graph", "xaxis": { - "buckets": null, "mode": "time", - "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "s", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true }, { "format": "short", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": false } ], "yaxis": { - "align": false, - "alignLevel": null + "align": false } }, { @@ -179,13 +110,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "$cluster", - "fieldConfig": { - "defaults": { - "custom": {} - }, - "overrides": [] - }, + "datasource": "Prometheus", "fill": 3, "fillGradient": 0, "gridPos": { @@ -217,18 +142,16 @@ "alertThreshold": true }, "percentage": false, - "pluginVersion": "7.2.1", + "pluginVersion": "10.1.5", "pointradius": 5, "points": false, "renderer": "flot", - "repeat": null, "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { - "datasource": "$cluster", "expr": " histogram_quantile(0.5, sum(rate(http_request_duration_seconds_bucket{instance=~\"$instance\", namespace=\"$namespace\"}[$interval])) by (le))", "format": "time_series", "interval": "$interval", @@ -237,7 +160,6 @@ "refId": "A" }, { - "datasource": "$cluster", "expr": "histogram_quantile(0.9, sum(rate(http_request_duration_seconds_bucket{instance=~\"$instance\", namespace=\"$namespace\"}[$interval])) by (le))", "format": "time_series", "interval": "$interval", @@ -246,7 +168,6 @@ "refId": "B" }, { - "datasource": "$cluster", "expr": "histogram_quantile(0.95, sum(rate(http_request_duration_seconds_bucket{instance=~\"$instance\", namespace=\"$namespace\"}[$interval])) by (le))", "format": "time_series", "interval": "$interval", @@ -255,7 +176,6 @@ "refId": "C" }, { - "datasource": "$cluster", "expr": "histogram_quantile(0.99, sum(rate(http_request_duration_seconds_bucket{instance=~\"$instance\", namespace=\"$namespace\"}[$interval])) by (le))", "format": "time_series", "interval": "$interval", @@ -265,9 +185,7 @@ } ], "thresholds": [], - "timeFrom": null, "timeRegions": [], - "timeShift": null, "title": "HTTP Response Time", "tooltip": { "shared": true, @@ -276,35 +194,28 @@ }, "type": "graph", "xaxis": { - "buckets": null, "mode": "time", - "name": null, "show": true, "values": [] }, "yaxes": [ { - "decimals": null, "format": "s", "label": "", "logBase": 1, - "max": null, "min": 0, "show": true }, { "decimals": 4, "format": "s", - "label": null, "logBase": 1, - "max": null, "min": 0, "show": false } ], "yaxis": { - "align": false, - "alignLevel": null + "align": false } }, { @@ -312,14 +223,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "$cluster", - "fieldConfig": { - "defaults": { - "custom": {}, - "links": [] - }, - "overrides": [] - }, + "datasource": "Prometheus", "fill": 1, "fillGradient": 0, "gridPos": { @@ -351,7 +255,7 @@ "alertThreshold": true }, "percentage": false, - "pluginVersion": "7.2.1", + "pluginVersion": "10.1.5", "pointradius": 2, "points": false, "renderer": "flot", @@ -426,9 +330,7 @@ } ], "thresholds": [], - "timeFrom": null, "timeRegions": [], - "timeShift": null, "title": "Memory in Off-Heap", "tooltip": { "shared": true, @@ -437,33 +339,24 @@ }, "type": "graph", "xaxis": { - "buckets": null, "mode": "time", - "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "decbytes", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true }, { "format": "short", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": false } ], "yaxis": { - "align": false, - "alignLevel": null + "align": false } }, { @@ -471,14 +364,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "$cluster", - "fieldConfig": { - "defaults": { - "custom": {}, - "links": [] - }, - "overrides": [] - }, + "datasource": "Prometheus", "fill": 1, "fillGradient": 0, "gridPos": { @@ -506,7 +392,7 @@ "alertThreshold": true }, "percentage": false, - "pluginVersion": "7.2.1", + "pluginVersion": "10.1.5", "pointradius": 2, "points": false, "renderer": "flot", @@ -525,9 +411,7 @@ } ], "thresholds": [], - "timeFrom": null, "timeRegions": [], - "timeShift": null, "title": "Total Used Memory", "tooltip": { "shared": true, @@ -536,46 +420,678 @@ }, "type": "graph", "xaxis": { - "buckets": null, "mode": "time", - "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "decbytes", - "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 + "align": false } }, { "collapsed": false, - "datasource": "${DS_PRODUCTION}", "gridPos": { "h": 1, "w": 24, "x": 0, "y": 15 }, + "id": 54, + "panels": [], + "title": "Bundles", + "type": "row" + }, + { + "datasource": "Prometheus", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 16 + }, + "id": 52, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "10.1.5", + "targets": [ + { + "datasource": "Prometheus", + "editorMode": "code", + "exemplar": false, + "expr": "sum(increase(bundle_loaded_counter{namespace=~\"$namespace\", instance=~\"$instance\"}[$interval])) by (name)", + "format": "time_series", + "hide": false, + "instant": false, + "legendFormat": "{{name}}", + "range": true, + "refId": "A" + } + ], + "title": "Bundle Loaded Counter", + "transformations": [], + "type": "timeseries" + }, + { + "datasource": "Prometheus", + "fieldConfig": { + "defaults": { + "custom": { + "align": "auto", + "cellOptions": { + "type": "auto" + }, + "inspect": false + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 16 + }, + "id": 53, + "options": { + "cellHeight": "sm", + "footer": { + "countRows": false, + "fields": "", + "reducer": [ + "sum" + ], + "show": false + }, + "showHeader": true, + "sortBy": [ + { + "desc": false, + "displayName": "last success bundle request" + } + ] + }, + "pluginVersion": "10.1.5", + "targets": [ + { + "datasource": "Prometheus", + "editorMode": "code", + "exemplar": false, + "expr": "last_bundle_request{namespace=~\"$namespace\", instance=~\"$instance\"} > 0", + "format": "time_series", + "instant": true, + "legendFormat": "", + "range": false, + "refId": "A" + }, + { + "datasource": "Prometheus", + "editorMode": "code", + "exemplar": false, + "expr": "last_success_bundle_activation{namespace=~\"$namespace\", instance=~\"$instance\"} > 0", + "format": "time_series", + "hide": false, + "instant": true, + "legendFormat": "", + "range": false, + "refId": "B" + }, + { + "datasource": "Prometheus", + "editorMode": "code", + "exemplar": false, + "expr": "last_success_bundle_download{namespace=~\"$namespace\", instance=~\"$instance\"} > 0", + "format": "time_series", + "hide": false, + "instant": true, + "legendFormat": "", + "range": false, + "refId": "C" + }, + { + "datasource": "Prometheus", + "editorMode": "code", + "exemplar": false, + "expr": "last_success_bundle_request{namespace=~\"$namespace\", instance=~\"$instance\"} > 0", + "format": "time_series", + "hide": false, + "instant": true, + "legendFormat": "", + "range": false, + "refId": "D" + } + ], + "title": "Bundle tracker", + "transformations": [ + { + "id": "labelsToFields", + "options": { + "keepLabels": [ + "name", + "namespace", + "pod", + "service", + "job", + "instance", + "endpoint", + "container" + ], + "mode": "columns" + } + }, + { + "id": "merge", + "options": {} + }, + { + "id": "calculateField", + "options": { + "alias": "last bundle request", + "binary": { + "left": "last_bundle_request", + "operator": "/", + "reducer": "sum", + "right": "1000000" + }, + "mode": "binary", + "reduce": { + "include": [ + "last_bundle_request" + ], + "reducer": "sum" + }, + "replaceFields": false + } + }, + { + "id": "calculateField", + "options": { + "alias": "last success bundle activation", + "binary": { + "left": "last_success_bundle_activation", + "operator": "/", + "reducer": "sum", + "right": "1000000" + }, + "mode": "binary", + "reduce": { + "reducer": "sum" + } + } + }, + { + "id": "calculateField", + "options": { + "alias": "last success bundle download", + "binary": { + "left": "last_success_bundle_download", + "operator": "/", + "reducer": "sum", + "right": "1000000" + }, + "mode": "binary", + "reduce": { + "reducer": "sum" + } + } + }, + { + "id": "calculateField", + "options": { + "alias": "last success bundle request", + "binary": { + "left": "last_success_bundle_request", + "operator": "/", + "reducer": "sum", + "right": "1000000" + }, + "mode": "binary", + "reduce": { + "reducer": "sum" + }, + "replaceFields": false + } + }, + { + "id": "convertFieldType", + "options": { + "conversions": [ + { + "destinationType": "time", + "targetField": "last bundle request" + }, + { + "destinationType": "time", + "targetField": "last success bundle activation" + }, + { + "destinationType": "time", + "targetField": "last success bundle download" + }, + { + "destinationType": "time", + "targetField": "last success bundle request" + } + ], + "fields": {} + } + }, + { + "id": "organize", + "options": { + "excludeByName": { + "last_bundle_request": true, + "last_success_bundle_activation": true, + "last_success_bundle_download": true, + "last_success_bundle_request": true + }, + "indexByName": { + "Time": 0, + "container": 7, + "endpoint": 8, + "instance": 9, + "job": 10, + "last bundle request": 2, + "last success bundle activation": 3, + "last success bundle download": 4, + "last success bundle request": 5, + "last_bundle_request": 6, + "last_success_bundle_activation": 14, + "last_success_bundle_download": 15, + "last_success_bundle_request": 16, + "name": 1, + "namespace": 11, + "pod": 12, + "service": 13 + }, + "renameByName": { + "name": "bundle name" + } + } + } + ], + "type": "table" + }, + { + "datasource": "Prometheus", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 24 + }, + "id": 51, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": "Prometheus", + "disableTextWrap": false, + "editorMode": "code", + "exemplar": false, + "expr": "rate(bundle_loading_duration_ns_sum{namespace=~\"$namespace\", instance=~\"$instance\"}[$interval])", + "format": "time_series", + "fullMetaSearch": false, + "includeNullMetadata": true, + "instant": false, + "legendFormat": "{{instance}} {{name}} {{stage}}", + "range": true, + "refId": "A", + "useBackend": false + } + ], + "title": "Bundle Loading Duration (nanosec)", + "transformations": [], + "type": "timeseries" + }, + { + "datasource": "Prometheus", + "fieldConfig": { + "defaults": { + "custom": { + "align": "auto", + "cellOptions": { + "type": "auto" + }, + "inspect": false + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 24 + }, + "id": 50, + "options": { + "cellHeight": "sm", + "footer": { + "countRows": false, + "fields": "", + "reducer": [ + "sum" + ], + "show": false + }, + "showHeader": true + }, + "pluginVersion": "10.1.5", + "targets": [ + { + "datasource": "Prometheus", + "disableTextWrap": false, + "editorMode": "builder", + "exemplar": false, + "expr": "plugin_status_gauge{namespace=\"$namespace\"}", + "format": "table", + "fullMetaSearch": false, + "includeNullMetadata": true, + "instant": true, + "legendFormat": "__auto", + "range": false, + "refId": "A", + "useBackend": false + } + ], + "title": "Plugins Status", + "transformations": [ + { + "id": "filterFieldsByName", + "options": { + "include": { + "names": [ + "instance", + "name", + "namespace", + "status", + "Time" + ] + } + } + } + ], + "type": "table" + }, + { + "datasource": "Prometheus", + "fieldConfig": { + "defaults": { + "custom": { + "align": "auto", + "cellOptions": { + "type": "auto" + }, + "filterable": true, + "inspect": false + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 24, + "x": 0, + "y": 32 + }, + "id": 55, + "options": { + "cellHeight": "sm", + "footer": { + "countRows": false, + "fields": "", + "reducer": [ + "sum" + ], + "show": false + }, + "frameIndex": 0, + "showHeader": true, + "sortBy": [] + }, + "pluginVersion": "10.1.5", + "targets": [ + { + "datasource": "Prometheus", + "editorMode": "code", + "exemplar": false, + "expr": "increase(bundle_failed_load_counter{namespace=~\"$namespace\", instance=~\"$instance\"}[$interval])", + "format": "time_series", + "hide": false, + "instant": false, + "legendFormat": "__auto", + "range": true, + "refId": "A" + } + ], + "title": "Bundle Failed Load", + "transformations": [ + { + "id": "labelsToFields", + "options": { + "mode": "columns" + } + }, + { + "id": "merge", + "options": {} + }, + { + "id": "organize", + "options": { + "excludeByName": { + "Time": false, + "Value": true + }, + "indexByName": {}, + "renameByName": {} + } + } + ], + "type": "table" + }, + { + "collapsed": false, + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 40 + }, "id": 45, "panels": [], + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, + "refId": "A" + } + ], "title": "Object and Pointers", "type": "row" }, @@ -584,21 +1100,14 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "$cluster", - "fieldConfig": { - "defaults": { - "custom": {}, - "links": [] - }, - "overrides": [] - }, + "datasource": "Prometheus", "fill": 1, "fillGradient": 0, "gridPos": { "h": 7, "w": 9, "x": 0, - "y": 16 + "y": 41 }, "hiddenSeries": false, "id": 24, @@ -619,7 +1128,7 @@ "alertThreshold": true }, "percentage": false, - "pluginVersion": "7.2.1", + "pluginVersion": "10.1.5", "pointradius": 2, "points": false, "renderer": "flot", @@ -646,9 +1155,7 @@ } ], "thresholds": [], - "timeFrom": null, "timeRegions": [], - "timeShift": null, "title": "Memory in Stack", "tooltip": { "shared": true, @@ -657,33 +1164,24 @@ }, "type": "graph", "xaxis": { - "buckets": null, "mode": "time", - "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "decbytes", - "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 + "align": false } }, { @@ -691,22 +1189,15 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "$cluster", + "datasource": "Prometheus", "description": "go_memstats_lookups_total – counts how many pointer dereferences happened. This is a counter value so you can use rate() to lookups/s.", - "fieldConfig": { - "defaults": { - "custom": {}, - "links": [] - }, - "overrides": [] - }, "fill": 1, "fillGradient": 0, "gridPos": { "h": 7, "w": 6, "x": 9, - "y": 16 + "y": 41 }, "hiddenSeries": false, "id": 18, @@ -727,7 +1218,7 @@ "alertThreshold": true }, "percentage": false, - "pluginVersion": "7.2.1", + "pluginVersion": "10.1.5", "pointradius": 2, "points": false, "renderer": "flot", @@ -746,9 +1237,7 @@ } ], "thresholds": [], - "timeFrom": null, "timeRegions": [], - "timeShift": null, "title": "Rate of a Pointer Dereferences per $interval", "tooltip": { "shared": true, @@ -757,33 +1246,24 @@ }, "type": "graph", "xaxis": { - "buckets": null, "mode": "time", - "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "ops", - "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 + "align": false } }, { @@ -791,21 +1271,14 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "$cluster", - "fieldConfig": { - "defaults": { - "custom": {}, - "links": [] - }, - "overrides": [] - }, + "datasource": "Prometheus", "fill": 1, "fillGradient": 0, "gridPos": { "h": 7, "w": 9, "x": 15, - "y": 16 + "y": 41 }, "hiddenSeries": false, "id": 22, @@ -828,7 +1301,7 @@ "alertThreshold": true }, "percentage": false, - "pluginVersion": "7.2.1", + "pluginVersion": "10.1.5", "pointradius": 2, "points": false, "renderer": "flot", @@ -847,9 +1320,7 @@ } ], "thresholds": [], - "timeFrom": null, "timeRegions": [], - "timeShift": null, "title": "Number of Live Objects", "tooltip": { "shared": true, @@ -858,33 +1329,24 @@ }, "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 } ], "yaxis": { - "align": false, - "alignLevel": null + "align": false } }, { @@ -892,22 +1354,15 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "$cluster", + "datasource": "Prometheus", "description": "shows how many heap objects are allocated. This is a counter value so you can use rate() to objects allocated/s.", - "fieldConfig": { - "defaults": { - "custom": {}, - "links": [] - }, - "overrides": [] - }, "fill": 1, "fillGradient": 0, "gridPos": { "h": 8, "w": 12, "x": 0, - "y": 23 + "y": 48 }, "hiddenSeries": false, "id": 20, @@ -928,7 +1383,7 @@ "alertThreshold": true }, "percentage": false, - "pluginVersion": "7.2.1", + "pluginVersion": "10.1.5", "pointradius": 2, "points": false, "renderer": "flot", @@ -947,9 +1402,7 @@ } ], "thresholds": [], - "timeFrom": null, "timeRegions": [], - "timeShift": null, "title": "Rate of Objects Allocated Per $interval", "tooltip": { "shared": true, @@ -958,33 +1411,24 @@ }, "type": "graph", "xaxis": { - "buckets": null, "mode": "time", - "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "short", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true }, { "format": "short", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true } ], "yaxis": { - "align": false, - "alignLevel": null + "align": false } }, { @@ -992,21 +1436,14 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "$cluster", - "fieldConfig": { - "defaults": { - "custom": {}, - "links": [] - }, - "overrides": [] - }, + "datasource": "Prometheus", "fill": 1, "fillGradient": 0, "gridPos": { "h": 8, "w": 12, "x": 12, - "y": 23 + "y": 48 }, "hiddenSeries": false, "id": 14, @@ -1027,7 +1464,7 @@ "alertThreshold": true }, "percentage": false, - "pluginVersion": "7.2.1", + "pluginVersion": "10.1.5", "pointradius": 1, "points": true, "renderer": "flot", @@ -1046,9 +1483,7 @@ } ], "thresholds": [], - "timeFrom": null, "timeRegions": [], - "timeShift": null, "title": "Rates of Allocation per $interval", "tooltip": { "shared": true, @@ -1057,46 +1492,49 @@ }, "type": "graph", "xaxis": { - "buckets": null, "mode": "time", - "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "Bps", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true }, { "format": "short", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": false } ], "yaxis": { - "align": false, - "alignLevel": null + "align": false } }, { "collapsed": false, - "datasource": "${DS_PRODUCTION}", + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, "gridPos": { "h": 1, "w": 24, "x": 0, - "y": 31 + "y": 56 }, "id": 30, "panels": [], + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, + "refId": "A" + } + ], "title": "Memory In Heap", "type": "row" }, @@ -1105,21 +1543,14 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "$cluster", - "fieldConfig": { - "defaults": { - "custom": {}, - "links": [] - }, - "overrides": [] - }, + "datasource": "Prometheus", "fill": 1, "fillGradient": 0, "gridPos": { "h": 8, "w": 12, "x": 0, - "y": 32 + "y": 57 }, "hiddenSeries": false, "id": 12, @@ -1140,7 +1571,7 @@ "alertThreshold": true }, "percentage": false, - "pluginVersion": "7.2.1", + "pluginVersion": "10.1.5", "pointradius": 2, "points": false, "renderer": "flot", @@ -1159,9 +1590,7 @@ } ], "thresholds": [], - "timeFrom": null, "timeRegions": [], - "timeShift": null, "title": "Bytes obtained from system", "tooltip": { "shared": true, @@ -1170,33 +1599,24 @@ }, "type": "graph", "xaxis": { - "buckets": null, "mode": "time", - "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "decbytes", - "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 + "align": false } }, { @@ -1204,21 +1624,14 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "$cluster", - "fieldConfig": { - "defaults": { - "custom": {}, - "links": [] - }, - "overrides": [] - }, + "datasource": "Prometheus", "fill": 1, "fillGradient": 0, "gridPos": { "h": 8, "w": 12, "x": 12, - "y": 32 + "y": 57 }, "hiddenSeries": false, "id": 32, @@ -1239,7 +1652,7 @@ "alertThreshold": true }, "percentage": false, - "pluginVersion": "7.2.1", + "pluginVersion": "10.1.5", "pointradius": 2, "points": false, "renderer": "flot", @@ -1258,9 +1671,7 @@ } ], "thresholds": [], - "timeFrom": null, "timeRegions": [], - "timeShift": null, "title": "Bytes allocated & still in-use", "tooltip": { "shared": true, @@ -1269,33 +1680,24 @@ }, "type": "graph", "xaxis": { - "buckets": null, "mode": "time", - "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "decbytes", - "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 + "align": false } }, { @@ -1303,21 +1705,14 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "$cluster", - "fieldConfig": { - "defaults": { - "custom": {}, - "links": [] - }, - "overrides": [] - }, + "datasource": "Prometheus", "fill": 1, "fillGradient": 0, "gridPos": { "h": 8, "w": 12, "x": 0, - "y": 40 + "y": 65 }, "hiddenSeries": false, "id": 33, @@ -1338,7 +1733,7 @@ "alertThreshold": true }, "percentage": false, - "pluginVersion": "7.2.1", + "pluginVersion": "10.1.5", "pointradius": 2, "points": false, "renderer": "flot", @@ -1357,9 +1752,7 @@ } ], "thresholds": [], - "timeFrom": null, "timeRegions": [], - "timeShift": null, "title": "Bytes waiting to be used", "tooltip": { "shared": true, @@ -1368,33 +1761,24 @@ }, "type": "graph", "xaxis": { - "buckets": null, "mode": "time", - "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "decbytes", - "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 + "align": false } }, { @@ -1402,21 +1786,14 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "$cluster", - "fieldConfig": { - "defaults": { - "custom": {}, - "links": [] - }, - "overrides": [] - }, + "datasource": "Prometheus", "fill": 1, "fillGradient": 0, "gridPos": { "h": 8, "w": 12, "x": 12, - "y": 40 + "y": 65 }, "hiddenSeries": false, "id": 31, @@ -1437,7 +1814,7 @@ "alertThreshold": true }, "percentage": false, - "pluginVersion": "7.2.1", + "pluginVersion": "10.1.5", "pointradius": 2, "points": false, "renderer": "flot", @@ -1456,9 +1833,7 @@ } ], "thresholds": [], - "timeFrom": null, "timeRegions": [], - "timeShift": null, "title": "Bytes in use ", "tooltip": { "shared": true, @@ -1467,33 +1842,24 @@ }, "type": "graph", "xaxis": { - "buckets": null, "mode": "time", - "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "decbytes", - "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 + "align": false } }, { @@ -1501,21 +1867,14 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "$cluster", - "fieldConfig": { - "defaults": { - "custom": {}, - "links": [] - }, - "overrides": [] - }, + "datasource": "Prometheus", "fill": 1, "fillGradient": 0, "gridPos": { "h": 8, "w": 12, "x": 0, - "y": 48 + "y": 73 }, "hiddenSeries": false, "id": 34, @@ -1536,7 +1895,7 @@ "alertThreshold": true }, "percentage": false, - "pluginVersion": "7.2.1", + "pluginVersion": "10.1.5", "pointradius": 2, "points": false, "renderer": "flot", @@ -1555,9 +1914,7 @@ } ], "thresholds": [], - "timeFrom": null, "timeRegions": [], - "timeShift": null, "title": "Bytes released to OS", "tooltip": { "shared": true, @@ -1566,33 +1923,24 @@ }, "type": "graph", "xaxis": { - "buckets": null, "mode": "time", - "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "decbytes", - "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 + "align": false } }, { @@ -1600,22 +1948,15 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "$cluster", + "datasource": "Prometheus", "description": "", - "fieldConfig": { - "defaults": { - "custom": {}, - "links": [] - }, - "overrides": [] - }, "fill": 1, "fillGradient": 0, "gridPos": { "h": 8, "w": 12, "x": 12, - "y": 48 + "y": 73 }, "hiddenSeries": false, "id": 35, @@ -1636,7 +1977,7 @@ "alertThreshold": true }, "percentage": false, - "pluginVersion": "7.2.1", + "pluginVersion": "10.1.5", "pointradius": 2, "points": false, "renderer": "flot", @@ -1655,9 +1996,7 @@ } ], "thresholds": [], - "timeFrom": null, "timeRegions": [], - "timeShift": null, "title": "Objects allocated", "tooltip": { "shared": true, @@ -1666,43 +2005,37 @@ }, "type": "graph", "xaxis": { - "buckets": null, "mode": "time", - "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "short", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true }, { "format": "short", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true } ], "yaxis": { - "align": false, - "alignLevel": null + "align": false } }, { "collapsed": false, - "datasource": "${DS_PRODUCTION}", + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, "gridPos": { "h": 1, "w": 24, "x": 0, - "y": 56 + "y": 81 }, "id": 28, "panels": [], @@ -1714,21 +2047,14 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "$cluster", - "fieldConfig": { - "defaults": { - "custom": {}, - "links": [] - }, - "overrides": [] - }, + "datasource": "Prometheus", "fill": 1, "fillGradient": 0, "gridPos": { "h": 8, "w": 12, "x": 0, - "y": 57 + "y": 82 }, "hiddenSeries": false, "id": 26, @@ -1753,7 +2079,7 @@ "alertThreshold": true }, "percentage": false, - "pluginVersion": "7.2.1", + "pluginVersion": "10.1.5", "pointradius": 2, "points": false, "renderer": "flot", @@ -1772,9 +2098,7 @@ } ], "thresholds": [], - "timeFrom": null, "timeRegions": [], - "timeShift": null, "title": "Mspan bytes usage", "tooltip": { "shared": true, @@ -1783,33 +2107,24 @@ }, "type": "graph", "xaxis": { - "buckets": null, "mode": "time", - "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "decbytes", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true }, { "format": "short", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": false } ], "yaxis": { - "align": false, - "alignLevel": null + "align": false } }, { @@ -1817,22 +2132,15 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "$cluster", + "datasource": "Prometheus", "description": "", - "fieldConfig": { - "defaults": { - "custom": {}, - "links": [] - }, - "overrides": [] - }, "fill": 1, "fillGradient": 0, "gridPos": { "h": 8, "w": 12, "x": 12, - "y": 57 + "y": 82 }, "hiddenSeries": false, "id": 43, @@ -1857,7 +2165,7 @@ "alertThreshold": true }, "percentage": false, - "pluginVersion": "7.2.1", + "pluginVersion": "10.1.5", "pointradius": 2, "points": false, "renderer": "flot", @@ -1876,9 +2184,7 @@ } ], "thresholds": [], - "timeFrom": null, "timeRegions": [], - "timeShift": null, "title": "Bytes used for mspan obtained from system", "tooltip": { "shared": true, @@ -1887,33 +2193,24 @@ }, "type": "graph", "xaxis": { - "buckets": null, "mode": "time", - "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "decbytes", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true }, { "format": "short", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": false } ], "yaxis": { - "align": false, - "alignLevel": null + "align": false } }, { @@ -1921,21 +2218,14 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "$cluster", - "fieldConfig": { - "defaults": { - "custom": {}, - "links": [] - }, - "overrides": [] - }, + "datasource": "Prometheus", "fill": 1, "fillGradient": 0, "gridPos": { "h": 8, "w": 12, "x": 0, - "y": 65 + "y": 90 }, "hiddenSeries": false, "id": 41, @@ -1960,7 +2250,7 @@ "alertThreshold": true }, "percentage": false, - "pluginVersion": "7.2.1", + "pluginVersion": "10.1.5", "pointradius": 2, "points": false, "renderer": "flot", @@ -1979,9 +2269,7 @@ } ], "thresholds": [], - "timeFrom": null, "timeRegions": [], - "timeShift": null, "title": "Bytes used for mcache obtained from system", "tooltip": { "shared": true, @@ -1990,33 +2278,24 @@ }, "type": "graph", "xaxis": { - "buckets": null, "mode": "time", - "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "decbytes", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true }, { "format": "short", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": false } ], "yaxis": { - "align": false, - "alignLevel": null + "align": false } }, { @@ -2024,21 +2303,14 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "$cluster", - "fieldConfig": { - "defaults": { - "custom": {}, - "links": [] - }, - "overrides": [] - }, + "datasource": "Prometheus", "fill": 1, "fillGradient": 0, "gridPos": { "h": 8, "w": 12, "x": 12, - "y": 65 + "y": 90 }, "hiddenSeries": false, "id": 42, @@ -2063,7 +2335,7 @@ "alertThreshold": true }, "percentage": false, - "pluginVersion": "7.2.1", + "pluginVersion": "10.1.5", "pointradius": 2, "points": false, "renderer": "flot", @@ -2082,9 +2354,7 @@ } ], "thresholds": [], - "timeFrom": null, "timeRegions": [], - "timeShift": null, "title": "Bytes in use by mcache", "tooltip": { "shared": true, @@ -2093,33 +2363,24 @@ }, "type": "graph", "xaxis": { - "buckets": null, "mode": "time", - "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "decbytes", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true }, { "format": "short", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": false } ], "yaxis": { - "align": false, - "alignLevel": null + "align": false } }, { @@ -2127,21 +2388,13 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "$cluster", - "fieldConfig": { - "defaults": { - "custom": {}, - "links": [] - }, - "overrides": [] - }, + "datasource": "Prometheus", "fill": 1, - "fillGradient": 0, "gridPos": { "h": 8, "w": 12, "x": 0, - "y": 73 + "y": 98 }, "hiddenSeries": false, "id": 39, @@ -2166,7 +2419,7 @@ "alertThreshold": true }, "percentage": false, - "pluginVersion": "7.2.1", + "pluginVersion": "10.1.5", "pointradius": 2, "points": false, "renderer": "flot", @@ -2185,9 +2438,7 @@ } ], "thresholds": [], - "timeFrom": null, "timeRegions": [], - "timeShift": null, "title": "Bytes used for garbage collection system metadata", "tooltip": { "shared": true, @@ -2196,33 +2447,24 @@ }, "type": "graph", "xaxis": { - "buckets": null, "mode": "time", - "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "decbytes", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true }, { "format": "short", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": false } ], "yaxis": { - "align": false, - "alignLevel": null + "align": false } }, { @@ -2230,21 +2472,13 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "$cluster", - "fieldConfig": { - "defaults": { - "custom": {}, - "links": [] - }, - "overrides": [] - }, + "datasource": "Prometheus", "fill": 1, - "fillGradient": 0, "gridPos": { "h": 8, "w": 12, "x": 12, - "y": 73 + "y": 98 }, "hiddenSeries": false, "id": 40, @@ -2269,7 +2503,7 @@ "alertThreshold": true }, "percentage": false, - "pluginVersion": "7.2.1", + "pluginVersion": "10.1.5", "pointradius": 2, "points": false, "renderer": "flot", @@ -2288,9 +2522,7 @@ } ], "thresholds": [], - "timeFrom": null, "timeRegions": [], - "timeShift": null, "title": "Bytes used by the profiling bucket hash table", "tooltip": { "shared": true, @@ -2299,33 +2531,24 @@ }, "type": "graph", "xaxis": { - "buckets": null, "mode": "time", - "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "decbytes", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true }, { "format": "short", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": false } ], "yaxis": { - "align": false, - "alignLevel": null + "align": false } }, { @@ -2333,21 +2556,13 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "$cluster", - "fieldConfig": { - "defaults": { - "custom": {}, - "links": [] - }, - "overrides": [] - }, + "datasource": "Prometheus", "fill": 1, - "fillGradient": 0, "gridPos": { "h": 8, "w": 12, "x": 0, - "y": 81 + "y": 106 }, "hiddenSeries": false, "id": 37, @@ -2372,7 +2587,7 @@ "alertThreshold": true }, "percentage": false, - "pluginVersion": "7.2.1", + "pluginVersion": "10.1.5", "pointradius": 2, "points": false, "renderer": "flot", @@ -2391,9 +2606,7 @@ } ], "thresholds": [], - "timeFrom": null, "timeRegions": [], - "timeShift": null, "title": "Bytes when next garbage collection will take place", "tooltip": { "shared": true, @@ -2402,33 +2615,24 @@ }, "type": "graph", "xaxis": { - "buckets": null, "mode": "time", - "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "decbytes", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true }, { "format": "short", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": false } ], "yaxis": { - "align": false, - "alignLevel": null + "align": false } }, { @@ -2436,22 +2640,14 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "$cluster", + "datasource": "Prometheus", "description": "", - "fieldConfig": { - "defaults": { - "custom": {}, - "links": [] - }, - "overrides": [] - }, "fill": 1, - "fillGradient": 0, "gridPos": { "h": 8, "w": 12, "x": 12, - "y": 81 + "y": 106 }, "hiddenSeries": false, "id": 38, @@ -2476,7 +2672,7 @@ "alertThreshold": true }, "percentage": false, - "pluginVersion": "7.2.1", + "pluginVersion": "10.1.5", "pointradius": 2, "points": false, "renderer": "flot", @@ -2495,9 +2691,7 @@ } ], "thresholds": [], - "timeFrom": null, "timeRegions": [], - "timeShift": null, "title": "Bytes used for other system allocations", "tooltip": { "shared": true, @@ -2506,33 +2700,24 @@ }, "type": "graph", "xaxis": { - "buckets": null, "mode": "time", - "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "decbytes", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true }, { "format": "short", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": false } ], "yaxis": { - "align": false, - "alignLevel": null + "align": false } }, { @@ -2540,21 +2725,13 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "$cluster", - "fieldConfig": { - "defaults": { - "custom": {}, - "links": [] - }, - "overrides": [] - }, + "datasource": "Prometheus", "fill": 1, - "fillGradient": 0, "gridPos": { "h": 8, "w": 12, "x": 0, - "y": 89 + "y": 114 }, "hiddenSeries": false, "id": 8, @@ -2575,7 +2752,7 @@ "alertThreshold": true }, "percentage": false, - "pluginVersion": "7.2.1", + "pluginVersion": "10.1.5", "pointradius": 2, "points": false, "renderer": "flot", @@ -2594,9 +2771,7 @@ } ], "thresholds": [], - "timeFrom": null, "timeRegions": [], - "timeShift": null, "title": "Goroutines", "tooltip": { "shared": true, @@ -2605,33 +2780,24 @@ }, "type": "graph", "xaxis": { - "buckets": null, "mode": "time", - "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "short", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true }, { "format": "short", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true } ], "yaxis": { - "align": false, - "alignLevel": null + "align": false } }, { @@ -2639,21 +2805,13 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "$cluster", - "fieldConfig": { - "defaults": { - "custom": {}, - "links": [] - }, - "overrides": [] - }, + "datasource": "Prometheus", "fill": 1, - "fillGradient": 0, "gridPos": { "h": 8, "w": 12, "x": 12, - "y": 89 + "y": 114 }, "hiddenSeries": false, "id": 4, @@ -2675,7 +2833,7 @@ "alertThreshold": true }, "percentage": false, - "pluginVersion": "7.2.1", + "pluginVersion": "10.1.5", "pointradius": 2, "points": false, "renderer": "flot", @@ -2694,9 +2852,7 @@ } ], "thresholds": [], - "timeFrom": null, "timeRegions": [], - "timeShift": null, "title": "GC duration quantile", "tooltip": { "shared": true, @@ -2705,38 +2861,29 @@ }, "type": "graph", "xaxis": { - "buckets": null, "mode": "time", - "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "ms", - "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 + "align": false } } ], - "refresh": "10s", - "schemaVersion": 26, + "refresh": "5s", + "schemaVersion": 38, "style": "dark", "tags": [ "go", @@ -2746,9 +2893,8 @@ "templating": { "list": [ { - "allValue": null, "current": {}, - "datasource": "${DS_STAGING}", + "datasource": "Prometheus", "definition": "label_values(go_goroutines, namespace)", "hide": 0, "includeAll": false, @@ -2762,7 +2908,6 @@ "skipUrlSync": false, "sort": 0, "tagValuesQuery": "", - "tags": [], "tagsQuery": "", "type": "query", "useTags": false @@ -2770,44 +2915,24 @@ { "allValue": "", "current": {}, - "datasource": "${DS_STAGING}", - "definition": "label_values(go_goroutines{namespace=\"$namespace\", app=~\"opa.*\"}, instance)", + "datasource": "Prometheus", + "definition": "label_values(go_goroutines{namespace=\"$namespace\", container=~\"opa\"}, instance)", "hide": 0, "includeAll": true, "label": "instance", "multi": true, "name": "instance", "options": [], - "query": "label_values(go_goroutines{namespace=\"$namespace\", app=~\"opa.*\"}, instance)", + "query": "label_values(go_goroutines{namespace=\"$namespace\", container=~\"opa\"}, instance)", "refresh": 1, "regex": "", "skipUrlSync": false, "sort": 0, "tagValuesQuery": "", - "tags": [], "tagsQuery": "", "type": "query", "useTags": false }, - { - "current": { - "selected": false, - "text": "staging", - "value": "staging" - }, - "hide": 0, - "includeAll": false, - "label": "Cluster", - "multi": false, - "name": "cluster", - "options": [], - "query": "prometheus", - "queryValue": "", - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "type": "datasource" - }, { "auto": true, "auto_count": 30, @@ -2892,6 +3017,17 @@ "refresh": 2, "skipUrlSync": false, "type": "interval" + }, + { + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, + "filters": [], + "hide": 0, + "name": "Filters", + "skipUrlSync": false, + "type": "adhoc" } ] }, @@ -2925,7 +3061,8 @@ ] }, "timezone": "", - "title": "Metrics", + "title": "OPA Metrics", "uid": "CgCw8jKZz", - "version": 57 -} + "version": 58, + "weekStart": "" +} \ No newline at end of file diff --git a/grafana-dashboard/images/dashboard-image-6.png b/grafana-dashboard/images/dashboard-image-6.png new file mode 100644 index 00000000..935c41a2 Binary files /dev/null and b/grafana-dashboard/images/dashboard-image-6.png differ