Skip to content

Commit

Permalink
Add dashboard seed filter
Browse files Browse the repository at this point in the history
  • Loading branch information
teor2345 committed Sep 29, 2021
1 parent c8667ed commit 4c8ba0d
Showing 1 changed file with 62 additions and 14 deletions.
76 changes: 62 additions & 14 deletions grafana/peers.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"gnetId": null,
"graphTooltip": 0,
"id": 7,
"iteration": 1632878057247,
"iteration": 1632879075996,
"links": [],
"panels": [
{
Expand Down Expand Up @@ -74,7 +74,7 @@
"targets": [
{
"exemplar": true,
"expr": "sum by (remote_version, seed) (zcash_net_peers_initial{job=\"$job\"} * on(remote_ip) group_left(remote_version) zcash_net_peers_connected{job=\"$job\"})",
"expr": "sum by (remote_version, seed) (zcash_net_peers_initial{job=\"$job\",seed=~\"$seed\"} * on(remote_ip) group_left(remote_version) zcash_net_peers_connected{job=\"$job\"})",
"instant": false,
"interval": "",
"legendFormat": "{{remote_version}} - {{seed}}",
Expand All @@ -85,7 +85,7 @@
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Compatible Initial Peers - $job",
"title": "Compatible Seed Peers - $job",
"tooltip": {
"shared": true,
"sort": 0,
Expand Down Expand Up @@ -164,7 +164,7 @@
"pointradius": 2,
"points": false,
"renderer": "flot",
"repeatIteration": 1632878057247,
"repeatIteration": 1632879075996,
"repeatPanelId": 2,
"scopedVars": {
"job": {
Expand All @@ -180,7 +180,7 @@
"targets": [
{
"exemplar": true,
"expr": "sum by (remote_version, seed) (zcash_net_peers_initial{job=\"$job\"} * on(remote_ip) group_left(remote_version) zcash_net_peers_connected{job=\"$job\"})",
"expr": "sum by (remote_version, seed) (zcash_net_peers_initial{job=\"$job\",seed=~\"$seed\"} * on(remote_ip) group_left(remote_version) zcash_net_peers_connected{job=\"$job\"})",
"instant": false,
"interval": "",
"legendFormat": "{{remote_version}} - {{seed}}",
Expand All @@ -191,7 +191,7 @@
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Compatible Initial Peers - $job",
"title": "Compatible Seed Peers - $job",
"tooltip": {
"shared": true,
"sort": 0,
Expand Down Expand Up @@ -285,7 +285,7 @@
"targets": [
{
"exemplar": true,
"expr": "sum by (remote_version, seed) (zcash_net_peers_initial{job=\"$job\"} * on(remote_ip) group_left(remote_version) zcash_net_peers_obsolete{job=\"$job\"})",
"expr": "sum by (remote_version, seed) (zcash_net_peers_initial{job=\"$job\",seed=~\"$seed\"} * on(remote_ip) group_left(remote_version) zcash_net_peers_obsolete{job=\"$job\"})",
"instant": false,
"interval": "",
"legendFormat": "{{remote_version}} - {{seed}}",
Expand All @@ -296,7 +296,7 @@
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Obsolete Initial Peers - $job",
"title": "Obsolete Seed Peers - $job",
"tooltip": {
"shared": true,
"sort": 0,
Expand Down Expand Up @@ -375,7 +375,7 @@
"pointradius": 2,
"points": false,
"renderer": "flot",
"repeatIteration": 1632878057247,
"repeatIteration": 1632879075996,
"repeatPanelId": 11,
"scopedVars": {
"job": {
Expand All @@ -391,7 +391,7 @@
"targets": [
{
"exemplar": true,
"expr": "sum by (remote_version, seed) (zcash_net_peers_initial{job=\"$job\"} * on(remote_ip) group_left(remote_version) zcash_net_peers_obsolete{job=\"$job\"})",
"expr": "sum by (remote_version, seed) (zcash_net_peers_initial{job=\"$job\",seed=~\"$seed\"} * on(remote_ip) group_left(remote_version) zcash_net_peers_obsolete{job=\"$job\"})",
"instant": false,
"interval": "",
"legendFormat": "{{remote_version}} - {{seed}}",
Expand All @@ -402,7 +402,7 @@
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Obsolete Initial Peers - $job",
"title": "Obsolete Seed Peers - $job",
"tooltip": {
"shared": true,
"sort": 0,
Expand Down Expand Up @@ -585,7 +585,7 @@
"pointradius": 2,
"points": false,
"renderer": "flot",
"repeatIteration": 1632878057247,
"repeatIteration": 1632879075996,
"repeatPanelId": 4,
"scopedVars": {
"job": {
Expand Down Expand Up @@ -794,7 +794,7 @@
"pointradius": 2,
"points": false,
"renderer": "flot",
"repeatIteration": 1632878057247,
"repeatIteration": 1632879075996,
"repeatPanelId": 7,
"scopedVars": {
"job": {
Expand Down Expand Up @@ -900,6 +900,54 @@
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"allValue": ".+",
"current": {
"selected": true,
"tags": [],
"text": [
"dnsseed.str4d.xyz:8233",
"dnsseed.testnet.z.cash:18233",
"dnsseed.z.cash:8233",
"mainnet.is.yolo.money:8233",
"mainnet.seeder.zfnd.org:8233",
"testnet.is.yolo.money:18233",
"testnet.seeder.zfnd.org:18233"
],
"value": [
"dnsseed.str4d.xyz:8233",
"dnsseed.testnet.z.cash:18233",
"dnsseed.z.cash:8233",
"mainnet.is.yolo.money:8233",
"mainnet.seeder.zfnd.org:8233",
"testnet.is.yolo.money:18233",
"testnet.seeder.zfnd.org:18233"
]
},
"datasource": null,
"definition": "label_values(zcash_net_peers_initial, seed)",
"description": null,
"error": null,
"hide": 0,
"includeAll": true,
"label": null,
"multi": true,
"name": "seed",
"options": [],
"query": {
"query": "label_values(zcash_net_peers_initial, seed)",
"refId": "StandardVariableQuery"
},
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 1,
"tagValuesQuery": "",
"tags": [],
"tagsQuery": "",
"type": "query",
"useTags": false
}
]
},
Expand All @@ -911,5 +959,5 @@
"timezone": "",
"title": "peers",
"uid": "S29TgUH7k",
"version": 17
"version": 22
}

0 comments on commit 4c8ba0d

Please sign in to comment.