Add a laconicd Grafana dashboard to monitoring stack #799

Merged
ashwin merged 10 commits from deep-stack/stack-orchestrator:pm-laconicd-metrics into main 2024-04-11 07:59:37 +00:00
2 changed files with 17 additions and 17 deletions
Showing only changes of commit bf9340343c - Show all commits

View File

@ -27,7 +27,7 @@
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"description": "The tendermint consensus latest block height",
"description": "The consensus latest block height",
"fieldConfig": {
"defaults": {
"color": {
@ -77,7 +77,7 @@
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"expr": "tendermint_consensus_latest_block_height",
"expr": "{__name__=~\"^(tendermint|cometbft)_consensus_latest_block_height$\"}",
"instant": false,
"legendFormat": "__auto",
"range": true,
@ -644,14 +644,14 @@
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"expr": "tendermint_mempool_size",
"expr": "{__name__=~\"^(tendermint|cometbft)_mempool_size\"}",
"instant": false,
"legendFormat": "{{__name__}}",
"legendFormat": "mempool_size",
"range": true,
"refId": "A"
}
],
"title": "tendermint_mempool_size",
"title": "mempool_size",
"type": "timeseries"
},
{
@ -829,7 +829,7 @@
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"expr": "{__name__ =~ \"^_vulcanize_bond_v1beta1.*_count$\"}",
"expr": "{__name__ =~ \"^_(vulcanize|cerc)_bond_(v1beta1|v1).*_count$\"}",
"instant": false,
"legendFormat": "{{__name__}}",
"range": true,
@ -841,8 +841,8 @@
{
"id": "renameByRegex",
"options": {
"regex": "_vulcanize_bond_v1beta1_Query_(.*?)_count",
"renamePattern": "$1"
"regex": "_(vulcanize|cerc)_bond_(v1beta1|v1)_Query_(.*?)_count",
"renamePattern": "$3"
}
}
],
@ -930,7 +930,7 @@
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"expr": "{__name__ =~ \"^_vulcanize_auction_v1beta1.*_count$\"}",
"expr": "{__name__ =~ \"^_(vulcanize|cerc)_auction_(v1beta1|v1).*_count$\"}",
"instant": false,
"legendFormat": "{{__name__}}",
"range": true,
@ -942,8 +942,8 @@
{
"id": "renameByRegex",
"options": {
"regex": "_vulcanize_auction_v1beta1_Query_(.*?)_count",
"renamePattern": "$1"
"regex": "_(vulcanize|cerc)_auction_(v1beta1|v1)_Query_(.*?)_count",
"renamePattern": "$3"
}
}
],
@ -1031,7 +1031,7 @@
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"expr": "{__name__ =~ \"^_vulcanize_registry_v1beta1.*_count$\"}",
"expr": "{__name__ =~ \"^_(vulcanize|cerc)_registry_(v1beta1|v1).*_count$\"}",
"instant": false,
"legendFormat": "{{__name__}}",
"range": true,
@ -1043,8 +1043,8 @@
{
"id": "renameByRegex",
"options": {
"regex": "_vulcanize_registry_v1beta1_Query_(.*?)_count",
"renamePattern": "$1"
"regex": "_(vulcanize|cerc)_registry_(v1beta1|v1)_Query_(.*?)_count",
"renamePattern": "$3"
}
}
],
@ -1067,6 +1067,6 @@
"timezone": "",
"title": "Laconicd",
"uid": "fc7ea92d-8846-474a-89ed-5256c514f8c6",
"version": 27,
"version": 1,
"weekStart": ""
}

View File

@ -4,7 +4,7 @@
* Comes with the following built-in exporters / dashboards:
* Chain Head Exporter - for tracking chain heads given external ETH RPC endpoints
* Watchers dashboard
* Laconicd dashboard
* laconicd dashboard
* [Prometheus Blackbox](https://grafana.com/grafana/dashboards/7587-prometheus-blackbox-exporter/) - for tracking HTTP endpoints
* [NodeJS Application Dashboard](https://grafana.com/grafana/dashboards/11159-nodejs-application-dashboard/) - for default NodeJS metrics
* [PostgreSQL Database](https://grafana.com/grafana/dashboards/9628-postgresql-database/) - for monitoring Postgres dbs
@ -118,7 +118,7 @@ laconic-so --stack monitoring deploy create --spec-file monitoring-spec.yml --de
```
* Add database credentials to be used in `auth_modules` in the postgres-exporter config file (`monitoring-deployment/config/monitoring/postgres-exporter.yml`)
* Laconicd: update the `laconicd` job with a Laconicd node's REST endpoint host and port:
* laconicd: update the `laconicd` job with a laconicd node's REST endpoint host and port:
```yml
...