Update transaction verification Grafana dashboard to show all shielded pool sigs, proofs, nullifiers (#4585)

This commit is contained in:
Deirdre Connolly 2022-06-09 11:08:57 -04:00 committed by GitHub
parent 00aa64a387
commit f3a8ed6ed8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 194 additions and 47 deletions

View File

@ -3,7 +3,10 @@
"list": [ "list": [
{ {
"builtIn": 1, "builtIn": 1,
"datasource": "-- Grafana --", "datasource": {
"type": "datasource",
"uid": "grafana"
},
"enable": true, "enable": true,
"hide": true, "hide": true,
"iconColor": "rgba(0, 211, 255, 1)", "iconColor": "rgba(0, 211, 255, 1)",
@ -19,13 +22,17 @@
] ]
}, },
"editable": true, "editable": true,
"gnetId": null, "fiscalYearStartMonth": 0,
"graphTooltip": 0, "graphTooltip": 0,
"id": 6, "id": 6,
"links": [], "links": [],
"liveNow": false,
"panels": [ "panels": [
{ {
"datasource": null, "datasource": {
"type": "prometheus",
"uid": "qdDbj0Dnz"
},
"fieldConfig": { "fieldConfig": {
"defaults": { "defaults": {
"color": { "color": {
@ -66,7 +73,7 @@
"text": {}, "text": {},
"textMode": "auto" "textMode": "auto"
}, },
"pluginVersion": "8.1.7", "pluginVersion": "8.5.5",
"targets": [ "targets": [
{ {
"exemplar": true, "exemplar": true,
@ -81,7 +88,10 @@
"type": "stat" "type": "stat"
}, },
{ {
"datasource": null, "datasource": {
"type": "prometheus",
"uid": "qdDbj0Dnz"
},
"fieldConfig": { "fieldConfig": {
"defaults": { "defaults": {
"color": { "color": {
@ -132,25 +142,61 @@
}, },
"overrides": [ "overrides": [
{ {
"__systemRef": "hideSeriesFrom",
"matcher": { "matcher": {
"id": "byNames", "id": "byName",
"options": { "options": "{instance=\"localhost:9999\", job=\"zebrad\"}"
"mode": "exclude",
"names": [
"{instance=\"localhost:9999\", job=\"zebrad\"}"
],
"prefix": "All except:",
"readOnly": true
}
}, },
"properties": [ "properties": [
{ {
"id": "custom.hideFrom", "id": "color",
"value": { "value": {
"legend": false, "fixedColor": "purple",
"tooltip": false, "mode": "fixed"
"viz": true }
}
]
},
{
"matcher": {
"id": "byName",
"options": "RedPallas"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "purple",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "RedJubjub"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "green",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "Ed25519"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "blue",
"mode": "fixed"
} }
} }
] ]
@ -171,32 +217,61 @@
"placement": "bottom" "placement": "bottom"
}, },
"tooltip": { "tooltip": {
"mode": "single" "mode": "single",
"sort": "none"
} }
}, },
"targets": [ "targets": [
{ {
"datasource": {
"type": "prometheus",
"uid": "qdDbj0Dnz"
},
"editorMode": "code",
"exemplar": false,
"expr": "rate(signatures_ed25519_validated{}[$__interval])",
"hide": false,
"interval": "",
"legendFormat": "Ed25519",
"range": true,
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "qdDbj0Dnz"
},
"editorMode": "code",
"exemplar": false, "exemplar": false,
"expr": "rate(signatures_redjubjub_validated{}[$__interval])", "expr": "rate(signatures_redjubjub_validated{}[$__interval])",
"hide": false, "hide": false,
"interval": "", "interval": "",
"legendFormat": "RedJubjub", "legendFormat": "RedJubjub",
"refId": "B" "range": true,
"refId": "A"
}, },
{ {
"exemplar": true, "datasource": {
"expr": "rate(signatures_ed25519_validated{}[$__interval])", "type": "prometheus",
"uid": "qdDbj0Dnz"
},
"editorMode": "code",
"exemplar": false,
"expr": "rate(signatures_redpallas_validated{}[$__interval])",
"hide": false, "hide": false,
"interval": "", "legendFormat": "RedPallas",
"legendFormat": "Ed25519", "range": true,
"refId": "A" "refId": "C"
} }
], ],
"title": "Signatures validated", "title": "Signatures validated",
"type": "timeseries" "type": "timeseries"
}, },
{ {
"datasource": null, "datasource": {
"type": "prometheus",
"uid": "qdDbj0Dnz"
},
"fieldConfig": { "fieldConfig": {
"defaults": { "defaults": {
"color": { "color": {
@ -237,7 +312,7 @@
"text": {}, "text": {},
"textMode": "auto" "textMode": "auto"
}, },
"pluginVersion": "8.1.7", "pluginVersion": "8.5.5",
"targets": [ "targets": [
{ {
"exemplar": true, "exemplar": true,
@ -251,7 +326,10 @@
"type": "stat" "type": "stat"
}, },
{ {
"datasource": null, "datasource": {
"type": "prometheus",
"uid": "qdDbj0Dnz"
},
"fieldConfig": { "fieldConfig": {
"defaults": { "defaults": {
"color": { "color": {
@ -300,7 +378,23 @@
] ]
} }
}, },
"overrides": [] "overrides": [
{
"matcher": {
"id": "byName",
"options": "Halo2"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "purple",
"mode": "fixed"
}
}
]
}
]
}, },
"gridPos": { "gridPos": {
"h": 8, "h": 8,
@ -316,23 +410,43 @@
"placement": "bottom" "placement": "bottom"
}, },
"tooltip": { "tooltip": {
"mode": "single" "mode": "single",
"sort": "none"
} }
}, },
"targets": [ "targets": [
{ {
"datasource": {
"type": "prometheus",
"uid": "qdDbj0Dnz"
},
"exemplar": true, "exemplar": true,
"expr": "rate(proofs_groth16_verified{}[$__interval])", "expr": "rate(proofs_groth16_verified{}[$__interval])",
"interval": "", "interval": "",
"legendFormat": "Groth16", "legendFormat": "Groth16",
"refId": "A" "refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "qdDbj0Dnz"
},
"editorMode": "code",
"expr": "rate(proofs_halo2_verified{}[$__interval])",
"hide": false,
"legendFormat": "Halo2",
"range": true,
"refId": "B"
} }
], ],
"title": "Proofs verified", "title": "Proofs verified",
"type": "timeseries" "type": "timeseries"
}, },
{ {
"datasource": null, "datasource": {
"type": "prometheus",
"uid": "qdDbj0Dnz"
},
"fieldConfig": { "fieldConfig": {
"defaults": { "defaults": {
"color": { "color": {
@ -428,7 +542,8 @@
"placement": "bottom" "placement": "bottom"
}, },
"tooltip": { "tooltip": {
"mode": "single" "mode": "single",
"sort": "none"
} }
}, },
"targets": [ "targets": [
@ -452,7 +567,10 @@
"type": "timeseries" "type": "timeseries"
}, },
{ {
"datasource": null, "datasource": {
"type": "prometheus",
"uid": "qdDbj0Dnz"
},
"fieldConfig": { "fieldConfig": {
"defaults": { "defaults": {
"color": { "color": {
@ -531,6 +649,21 @@
} }
} }
] ]
},
{
"matcher": {
"id": "byName",
"options": "Sprout"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "blue",
"mode": "fixed"
}
}
]
} }
] ]
}, },
@ -548,11 +681,28 @@
"placement": "bottom" "placement": "bottom"
}, },
"tooltip": { "tooltip": {
"mode": "single" "mode": "single",
"sort": "none"
} }
}, },
"targets": [ "targets": [
{ {
"datasource": {
"type": "prometheus",
"uid": "qdDbj0Dnz"
},
"exemplar": true,
"expr": "rate(state_finalized_cumulative_sprout_nullifiers{}[$__interval])",
"hide": false,
"interval": "",
"legendFormat": "Sprout",
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "qdDbj0Dnz"
},
"exemplar": true, "exemplar": true,
"expr": "rate(state_finalized_cumulative_sapling_nullifiers{}[$__interval])", "expr": "rate(state_finalized_cumulative_sapling_nullifiers{}[$__interval])",
"hide": false, "hide": false,
@ -561,20 +711,16 @@
"refId": "B" "refId": "B"
}, },
{ {
"datasource": {
"type": "prometheus",
"uid": "qdDbj0Dnz"
},
"exemplar": true, "exemplar": true,
"expr": "rate(state_finalized_cumulative_orchard_nullifiers{}[$__interval])", "expr": "rate(state_finalized_cumulative_orchard_nullifiers{}[$__interval])",
"hide": false, "hide": false,
"instant": false, "instant": false,
"interval": "", "interval": "",
"legendFormat": "Orchard", "legendFormat": "Orchard",
"refId": "A"
},
{
"exemplar": true,
"expr": "rate(state_finalized_cumulative_sprout_nullifiers{}[$__interval])",
"hide": false,
"interval": "",
"legendFormat": "Sprout",
"refId": "C" "refId": "C"
} }
], ],
@ -583,14 +729,14 @@
} }
], ],
"refresh": "5s", "refresh": "5s",
"schemaVersion": 30, "schemaVersion": 36,
"style": "dark", "style": "dark",
"tags": [], "tags": [],
"templating": { "templating": {
"list": [] "list": []
}, },
"time": { "time": {
"from": "now-3h", "from": "now-12h",
"to": "now" "to": "now"
}, },
"timepicker": { "timepicker": {
@ -610,5 +756,6 @@
"timezone": "", "timezone": "",
"title": "🔎", "title": "🔎",
"uid": "UXVRR1v7z", "uid": "UXVRR1v7z",
"version": 18 "version": 23,
} "weekStart": ""
}