diff --git a/localnet/grafana-dashboards/cometbft.json b/localnet/grafana-dashboards/cometbft.json index f07128aca..32ef31852 100644 --- a/localnet/grafana-dashboards/cometbft.json +++ b/localnet/grafana-dashboards/cometbft.json @@ -35,6 +35,20 @@ "type": "dashboards", "url": "" }, + { + "asDropdown": false, + "icon": "external link", + "includeVars": false, + "keepTime": false, + "tags": [ + "supplier_logs" + ], + "targetBlank": false, + "title": "Supplier Logs", + "tooltip": "", + "type": "dashboards", + "url": "" + }, { "asDropdown": false, "icon": "external link", diff --git a/localnet/grafana-dashboards/supplier_logs.json b/localnet/grafana-dashboards/supplier_logs.json new file mode 100644 index 000000000..609ea1b1e --- /dev/null +++ b/localnet/grafana-dashboards/supplier_logs.json @@ -0,0 +1,116 @@ +{ + "annotations": { + "list": [ + { + "builtIn": 1, + "datasource": { + "type": "grafana", + "uid": "-- Grafana --" + }, + "enable": true, + "hide": true, + "iconColor": "rgba(0, 211, 255, 1)", + "name": "Annotations & Alerts", + "type": "dashboard" + } + ] + }, + "editable": true, + "fiscalYearStartMonth": 0, + "graphTooltip": 0, + "id": 35, + "links": [], + "panels": [ + { + "datasource": { + "type": "loki", + "uid": "P8E80F9AEF21F6940" + }, + "gridPos": { + "h": 8, + "w": 18, + "x": 0, + "y": 0 + }, + "id": 1, + "options": { + "dedupStrategy": "none", + "enableLogDetails": true, + "prettifyLogMessage": false, + "showCommonLabels": false, + "showLabels": false, + "showTime": false, + "sortOrder": "Descending", + "wrapLogMessage": false + }, + "targets": [ + { + "datasource": { + "type": "loki", + "uid": "P8E80F9AEF21F6940" + }, + "editorMode": "code", + "expr": "{container=\"poktrolld-validator\"} | json | method = `StakeSupplier`", + "queryType": "range", + "refId": "Supplier Staking" + } + ], + "title": "Supplier Staking", + "type": "logs" + }, + { + "datasource": { + "type": "loki", + "uid": "P8E80F9AEF21F6940" + }, + "gridPos": { + "h": 8, + "w": 18, + "x": 0, + "y": 8 + }, + "id": 3, + "options": { + "dedupStrategy": "none", + "enableLogDetails": true, + "prettifyLogMessage": false, + "showCommonLabels": false, + "showLabels": false, + "showTime": false, + "sortOrder": "Descending", + "wrapLogMessage": false + }, + "targets": [ + { + "datasource": { + "type": "loki", + "uid": "P8E80F9AEF21F6940" + }, + "editorMode": "code", + "expr": "{container=\"poktrolld-validator\"} | json | method = `UnstakeSupplier`", + "queryType": "range", + "refId": "Supplier Unstaking" + } + ], + "title": "Supplier Unstaking", + "type": "logs" + } + ], + "schemaVersion": 39, + "tags": [ + "supplier_logs" + ], + "templating": { + "list": [] + }, + "time": { + "from": "now-6h", + "to": "now" + }, + "timepicker": {}, + "timezone": "browser", + "title": "Protocol / Supplier Logs", + "uid": "supplier_logs", + "version": 7, + "weekStart": "" +}