diff --git a/nixos/modules/monitoring/server/grafana-dashboards/payments.json b/nixos/modules/monitoring/server/grafana-dashboards/payments.json index 6541c9796059523aff679dc34f451db2feeed85d..331e623dd18024e58ce49eb4f435ca74e7ad55d8 100644 --- a/nixos/modules/monitoring/server/grafana-dashboards/payments.json +++ b/nixos/modules/monitoring/server/grafana-dashboards/payments.json @@ -161,95 +161,62 @@ "type": "timeseries" }, { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, "description": "", "fieldConfig": { "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 10, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": true, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "min": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, "unit": "short" }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "Redeemed vouchers" - }, - "properties": [ - { - "id": "color", - "value": { - "fixedColor": "yellow", - "mode": "fixed" - } - } - ] - } - ] + "overrides": [] }, + "fill": 1, + "fillGradient": 0, "gridPos": { "h": 7, "w": 12, "x": 12, "y": 1 }, + "hiddenSeries": false, "id": 20, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom" - }, - "tooltip": { - "mode": "single" - } + "alertThreshold": true }, - "pluginVersion": "8.3.4", + "percentage": false, + "pluginVersion": "8.3.5", + "pointradius": 2, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + { + "alias": "Issued signatures", + "yaxis": 2 + } + ], + "spaceLength": 10, + "stack": false, + "steppedLine": false, "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "000000001" + }, "exemplar": true, "expr": "payment_redemption_signatures_issued", "interval": "", @@ -257,6 +224,10 @@ "refId": "A" }, { + "datasource": { + "type": "prometheus", + "uid": "000000001" + }, "exemplar": true, "expr": "payment_redemption_vouchers_redeemed", "format": "time_series", @@ -266,8 +237,37 @@ "refId": "B" } ], + "thresholds": [], + "timeRegions": [], "title": "Redemption", - "type": "timeseries" + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "show": false, + "values": [] + }, + "yaxes": [ + { + "$$hashKey": "object:408", + "format": "short", + "logBase": 1, + "show": true + }, + { + "$$hashKey": "object:409", + "format": "short", + "logBase": 1, + "show": true + } + ], + "yaxis": { + "align": false + } }, { "collapsed": false,