chore(rln-relay): update metrics dashboard (#1745)

This commit is contained in:
Aaryamann Challani 2023-05-19 16:24:53 +05:30 committed by GitHub
parent 6257874633
commit 0ced21959a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 289 additions and 30 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)",
@ -22,17 +25,22 @@
"fiscalYearStartMonth": 0, "fiscalYearStartMonth": 0,
"graphTooltip": 0, "graphTooltip": 0,
"id": 46, "id": 46,
"iteration": 1666106809831,
"links": [], "links": [],
"liveNow": false, "liveNow": false,
"panels": [ "panels": [
{ {
"datasource": {
"type": "prometheus",
"uid": "P6693426190CB2316"
},
"fieldConfig": { "fieldConfig": {
"defaults": { "defaults": {
"color": { "color": {
"mode": "palette-classic" "mode": "palette-classic"
}, },
"custom": { "custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "", "axisLabel": "",
"axisPlacement": "auto", "axisPlacement": "auto",
"barAlignment": 0, "barAlignment": 0,
@ -88,7 +96,8 @@
"legend": { "legend": {
"calcs": [], "calcs": [],
"displayMode": "list", "displayMode": "list",
"placement": "bottom" "placement": "bottom",
"showLegend": true
}, },
"tooltip": { "tooltip": {
"mode": "single", "mode": "single",
@ -112,12 +121,18 @@
"type": "timeseries" "type": "timeseries"
}, },
{ {
"datasource": {
"type": "prometheus",
"uid": "P6693426190CB2316"
},
"fieldConfig": { "fieldConfig": {
"defaults": { "defaults": {
"color": { "color": {
"mode": "palette-classic" "mode": "palette-classic"
}, },
"custom": { "custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "", "axisLabel": "",
"axisPlacement": "auto", "axisPlacement": "auto",
"barAlignment": 0, "barAlignment": 0,
@ -173,7 +188,8 @@
"legend": { "legend": {
"calcs": [], "calcs": [],
"displayMode": "list", "displayMode": "list",
"placement": "bottom" "placement": "bottom",
"showLegend": true
}, },
"tooltip": { "tooltip": {
"mode": "single", "mode": "single",
@ -197,12 +213,18 @@
"type": "timeseries" "type": "timeseries"
}, },
{ {
"datasource": {
"type": "prometheus",
"uid": "P6693426190CB2316"
},
"fieldConfig": { "fieldConfig": {
"defaults": { "defaults": {
"color": { "color": {
"mode": "palette-classic" "mode": "palette-classic"
}, },
"custom": { "custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "", "axisLabel": "",
"axisPlacement": "auto", "axisPlacement": "auto",
"barAlignment": 0, "barAlignment": 0,
@ -258,7 +280,8 @@
"legend": { "legend": {
"calcs": [], "calcs": [],
"displayMode": "list", "displayMode": "list",
"placement": "bottom" "placement": "bottom",
"showLegend": true
}, },
"tooltip": { "tooltip": {
"mode": "single", "mode": "single",
@ -282,12 +305,18 @@
"type": "timeseries" "type": "timeseries"
}, },
{ {
"datasource": {
"type": "prometheus",
"uid": "P6693426190CB2316"
},
"fieldConfig": { "fieldConfig": {
"defaults": { "defaults": {
"color": { "color": {
"mode": "palette-classic" "mode": "palette-classic"
}, },
"custom": { "custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "", "axisLabel": "",
"axisPlacement": "auto", "axisPlacement": "auto",
"barAlignment": 0, "barAlignment": 0,
@ -338,12 +367,13 @@
"x": 12, "x": 12,
"y": 9 "y": 9
}, },
"id": 8, "id": 22,
"options": { "options": {
"legend": { "legend": {
"calcs": [], "calcs": [],
"displayMode": "list", "displayMode": "list",
"placement": "bottom" "placement": "bottom",
"showLegend": true
}, },
"tooltip": { "tooltip": {
"mode": "single", "mode": "single",
@ -356,23 +386,31 @@
"type": "prometheus", "type": "prometheus",
"uid": "P6693426190CB2316" "uid": "P6693426190CB2316"
}, },
"editorMode": "code",
"exemplar": true, "exemplar": true,
"expr": "waku_rln_relay_mounting_duration_seconds{instance=~\"[[host]].([[dc:pipe]]).([[fleet:pipe]])\"}", "expr": "waku_rln_proof_verification_duration_seconds{instance=~\"[[host]].([[dc:pipe]]).([[fleet:pipe]])\"}",
"interval": "", "interval": "",
"legendFormat": "{{instance}}", "legendFormat": "{{instance}}",
"range": true,
"refId": "A" "refId": "A"
} }
], ],
"title": "Waku RLN Relay Mounting Duration", "title": "Waku RLN Relay Proof Verification Duration",
"type": "timeseries" "type": "timeseries"
}, },
{ {
"datasource": {
"type": "prometheus",
"uid": "P6693426190CB2316"
},
"fieldConfig": { "fieldConfig": {
"defaults": { "defaults": {
"color": { "color": {
"mode": "palette-classic" "mode": "palette-classic"
}, },
"custom": { "custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "", "axisLabel": "",
"axisPlacement": "auto", "axisPlacement": "auto",
"barAlignment": 0, "barAlignment": 0,
@ -428,7 +466,8 @@
"legend": { "legend": {
"calcs": [], "calcs": [],
"displayMode": "list", "displayMode": "list",
"placement": "bottom" "placement": "bottom",
"showLegend": true
}, },
"tooltip": { "tooltip": {
"mode": "single", "mode": "single",
@ -452,12 +491,18 @@
"type": "timeseries" "type": "timeseries"
}, },
{ {
"datasource": {
"type": "prometheus",
"uid": "P6693426190CB2316"
},
"fieldConfig": { "fieldConfig": {
"defaults": { "defaults": {
"color": { "color": {
"mode": "palette-classic" "mode": "palette-classic"
}, },
"custom": { "custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "", "axisLabel": "",
"axisPlacement": "auto", "axisPlacement": "auto",
"barAlignment": 0, "barAlignment": 0,
@ -508,12 +553,13 @@
"x": 12, "x": 12,
"y": 17 "y": 17
}, },
"id": 11, "id": 8,
"options": { "options": {
"legend": { "legend": {
"calcs": [], "calcs": [],
"displayMode": "list", "displayMode": "list",
"placement": "bottom" "placement": "bottom",
"showLegend": true
}, },
"tooltip": { "tooltip": {
"mode": "single", "mode": "single",
@ -527,22 +573,28 @@
"uid": "P6693426190CB2316" "uid": "P6693426190CB2316"
}, },
"exemplar": true, "exemplar": true,
"expr": "waku_rln_valid_messages_total_sum{instance=~\"[[host]].([[dc:pipe]]).([[fleet:pipe]])\"}", "expr": "waku_rln_relay_mounting_duration_seconds{instance=~\"[[host]].([[dc:pipe]]).([[fleet:pipe]])\"}",
"interval": "", "interval": "",
"legendFormat": "{{instance}}", "legendFormat": "{{instance}}",
"refId": "A" "refId": "A"
} }
], ],
"title": "Waku RLN Relay Valid Messages Count", "title": "Waku RLN Relay Mounting Duration",
"type": "timeseries" "type": "timeseries"
}, },
{ {
"datasource": {
"type": "prometheus",
"uid": "P6693426190CB2316"
},
"fieldConfig": { "fieldConfig": {
"defaults": { "defaults": {
"color": { "color": {
"mode": "palette-classic" "mode": "palette-classic"
}, },
"custom": { "custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "", "axisLabel": "",
"axisPlacement": "auto", "axisPlacement": "auto",
"barAlignment": 0, "barAlignment": 0,
@ -598,7 +650,8 @@
"legend": { "legend": {
"calcs": [], "calcs": [],
"displayMode": "list", "displayMode": "list",
"placement": "bottom" "placement": "bottom",
"showLegend": true
}, },
"tooltip": { "tooltip": {
"mode": "single", "mode": "single",
@ -622,12 +675,18 @@
"type": "timeseries" "type": "timeseries"
}, },
{ {
"datasource": {
"type": "prometheus",
"uid": "P6693426190CB2316"
},
"fieldConfig": { "fieldConfig": {
"defaults": { "defaults": {
"color": { "color": {
"mode": "palette-classic" "mode": "palette-classic"
}, },
"custom": { "custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "", "axisLabel": "",
"axisPlacement": "auto", "axisPlacement": "auto",
"barAlignment": 0, "barAlignment": 0,
@ -678,12 +737,13 @@
"x": 12, "x": 12,
"y": 25 "y": 25
}, },
"id": 15, "id": 11,
"options": { "options": {
"legend": { "legend": {
"calcs": [], "calcs": [],
"displayMode": "list", "displayMode": "list",
"placement": "bottom" "placement": "bottom",
"showLegend": true
}, },
"tooltip": { "tooltip": {
"mode": "single", "mode": "single",
@ -697,24 +757,28 @@
"uid": "P6693426190CB2316" "uid": "P6693426190CB2316"
}, },
"exemplar": true, "exemplar": true,
"expr": "waku_rln_valid_messages_total_bucket{instance=~\"[[host]].([[dc:pipe]]).([[fleet:pipe]])\"}", "expr": "waku_rln_valid_messages_total_sum{instance=~\"[[host]].([[dc:pipe]]).([[fleet:pipe]])\"}",
"format": "time_series",
"interval": "", "interval": "",
"intervalFactor": 1, "legendFormat": "{{instance}}",
"legendFormat": "{{instance}}:{{le}}",
"refId": "A" "refId": "A"
} }
], ],
"title": "Waku RLN Relay Valid Messages By Root Window", "title": "Waku RLN Relay Valid Messages Count",
"type": "timeseries" "type": "timeseries"
}, },
{ {
"datasource": {
"type": "prometheus",
"uid": "P6693426190CB2316"
},
"fieldConfig": { "fieldConfig": {
"defaults": { "defaults": {
"color": { "color": {
"mode": "palette-classic" "mode": "palette-classic"
}, },
"custom": { "custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "", "axisLabel": "",
"axisPlacement": "auto", "axisPlacement": "auto",
"barAlignment": 0, "barAlignment": 0,
@ -770,7 +834,8 @@
"legend": { "legend": {
"calcs": [], "calcs": [],
"displayMode": "list", "displayMode": "list",
"placement": "bottom" "placement": "bottom",
"showLegend": true
}, },
"tooltip": { "tooltip": {
"mode": "single", "mode": "single",
@ -794,12 +859,18 @@
"type": "timeseries" "type": "timeseries"
}, },
{ {
"datasource": {
"type": "prometheus",
"uid": "P6693426190CB2316"
},
"fieldConfig": { "fieldConfig": {
"defaults": { "defaults": {
"color": { "color": {
"mode": "palette-classic" "mode": "palette-classic"
}, },
"custom": { "custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "", "axisLabel": "",
"axisPlacement": "auto", "axisPlacement": "auto",
"barAlignment": 0, "barAlignment": 0,
@ -850,12 +921,107 @@
"x": 12, "x": 12,
"y": 33 "y": 33
}, },
"id": 15,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "P6693426190CB2316"
},
"exemplar": true,
"expr": "waku_rln_valid_messages_total_bucket{instance=~\"[[host]].([[dc:pipe]]).([[fleet:pipe]])\"}",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{instance}}:{{le}}",
"refId": "A"
}
],
"title": "Waku RLN Relay Valid Messages By Root Window",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "P6693426190CB2316"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 41
},
"id": 19, "id": 19,
"options": { "options": {
"legend": { "legend": {
"calcs": [], "calcs": [],
"displayMode": "list", "displayMode": "list",
"placement": "bottom" "placement": "bottom",
"showLegend": true
}, },
"tooltip": { "tooltip": {
"mode": "single", "mode": "single",
@ -880,7 +1046,7 @@
} }
], ],
"refresh": false, "refresh": false,
"schemaVersion": 35, "schemaVersion": 37,
"style": "dark", "style": "dark",
"tags": [], "tags": [],
"templating": { "templating": {
@ -895,6 +1061,10 @@
"wakuv2.test" "wakuv2.test"
] ]
}, },
"datasource": {
"type": "prometheus",
"uid": "P6693426190CB2316"
},
"definition": "label_values(libp2p_peers, fleet)", "definition": "label_values(libp2p_peers, fleet)",
"hide": 0, "hide": 0,
"includeAll": false, "includeAll": false,
@ -945,6 +1115,10 @@
"$__all" "$__all"
] ]
}, },
"datasource": {
"type": "prometheus",
"uid": "P6693426190CB2316"
},
"definition": "label_values(libp2p_peers, datacenter)", "definition": "label_values(libp2p_peers, datacenter)",
"hide": 0, "hide": 0,
"includeAll": true, "includeAll": true,
@ -965,12 +1139,12 @@
] ]
}, },
"time": { "time": {
"from": "now-12h", "from": "now-30m",
"to": "now" "to": "now"
}, },
"timepicker": {}, "timepicker": {},
"timezone": "", "timezone": "",
"title": "Waku RLN Relay", "title": "Waku RLN Relay Testnet 3",
"uid": "U6YIdDSVz", "uid": "U6YIdDSVz",
"version": 1, "version": 1,
"weekStart": "" "weekStart": ""

View File

@ -1,5 +1,5 @@
{
tations": { "annotations": {
"list": [ "list": [
{ {
"builtIn": 1, "builtIn": 1,
@ -876,6 +876,91 @@ tations": {
], ],
"title": "Waku RLN Relay Registration Duration", "title": "Waku RLN Relay Registration Duration",
"type": "timeseries" "type": "timeseries"
},
{
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 33
},
"id": 20,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom"
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "P6693426190CB2316"
},
"exemplar": true,
"expr": "waku_rln_proof_verification_duration_seconds{}",
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"title": "Waku RLN Relay Proof Verification Duration",
"type": "timeseries"
} }
], ],
"refresh": false, "refresh": false,