Grafana: add metric, update datasource

This commit is contained in:
Ștefan Talpalaru 2020-11-19 20:50:31 +01:00
parent 771c1d092a
commit ea9271ba4f
No known key found for this signature in database
GPG Key ID: CBF7934204F1B6F9
2 changed files with 8 additions and 2 deletions

View File

@ -718,6 +718,12 @@
"legendFormat": "libp2p peers", "legendFormat": "libp2p peers",
"refId": "A" "refId": "A"
}, },
{
"expr": "libp2p_pubsub_peers{node=\"${node}\"}",
"interval": "",
"legendFormat": "libp2p pubsub peers",
"refId": "C"
},
{ {
"expr": "nbc_peers{node=\"${node}\"}", "expr": "nbc_peers{node=\"${node}\"}",
"interval": "", "interval": "",
@ -2216,5 +2222,5 @@
"timezone": "", "timezone": "",
"title": "NBC local testnet/sim (all nodes)", "title": "NBC local testnet/sim (all nodes)",
"uid": "pgeNfj2Wz2a", "uid": "pgeNfj2Wz2a",
"version": 9 "version": 10
} }

View File

@ -50,7 +50,7 @@ outputData["templating"]["list"] = parseJson("""
"text": "master-01.aws-eu-central-1a.nimbus.test", "text": "master-01.aws-eu-central-1a.nimbus.test",
"value": "master-01.aws-eu-central-1a.nimbus.test" "value": "master-01.aws-eu-central-1a.nimbus.test"
}, },
"datasource": "node-01.do-ams3.public.hq", "datasource": "legacy-01.do-ams3.public.hq",
"definition": "label_values(process_virtual_memory_bytes{job=\"beacon-node-metrics\"},instance)", "definition": "label_values(process_virtual_memory_bytes{job=\"beacon-node-metrics\"},instance)",
"hide": 0, "hide": 0,
"includeAll": false, "includeAll": false,