Skip to content

Commit

Permalink
[Dashboard] Supplier logs dashboard (#502)
Browse files Browse the repository at this point in the history
http://localhost:3003/d/supplier_logs/protocol-supplier-logs?orgId=1

![Screenshot 2024-04-25 at 9 00 02 PM](https://github.com/pokt-network/poktroll/assets/1892194/d95c65aa-0215-4e6d-b216-74b5fdd16e95)


Co-authored-by: Redouane Lakrache <[email protected]>
  • Loading branch information
Olshansk and red-0ne committed Apr 28, 2024
1 parent 906531d commit 192d3b1
Show file tree
Hide file tree
Showing 2 changed files with 130 additions and 0 deletions.
14 changes: 14 additions & 0 deletions localnet/grafana-dashboards/cometbft.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
116 changes: 116 additions & 0 deletions localnet/grafana-dashboards/supplier_logs.json
Original file line number Diff line number Diff line change
@@ -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": ""
}

0 comments on commit 192d3b1

Please sign in to comment.