chore: Update dashboard with sync details (#1316)

* chore: Update the grafana dashboard

* changeset

* collapse

* remove id

* 30m default
This commit is contained in:
adityapk00
2023-09-01 10:30:29 -07:00
committed by GitHub
parent cff71488ee
commit bab7bba93f
2 changed files with 291 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
---
"@farcaster/hubble": patch
---
chore: Update the Grafana dashboard

View File

@@ -1470,6 +1470,292 @@
],
"title": "Num Peers",
"type": "gauge"
},
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 43
},
"id": 28,
"panels": [],
"title": "Sync Details",
"type": "row"
},
{
"datasource": "Graphite",
"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": 10,
"w": 7,
"x": 0,
"y": 44
},
"id": 26,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": "Graphite",
"refId": "A",
"target": "aliasByNode(stats_counts.hubble.syncengine.sync_messages.*, 3, 4)",
"textEditor": true
}
],
"title": "Sync Merge Results",
"type": "timeseries"
},
{
"datasource": "Graphite",
"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": 10,
"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
}
]
},
"unit": "ms"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "stats.timers.hubble.syncengine.peer.get_all_messages_by_syncids_ms.mean"
},
"properties": [
{
"id": "custom.drawStyle",
"value": "bars"
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/.*/"
},
"properties": []
}
]
},
"gridPos": {
"h": 10,
"w": 9,
"x": 7,
"y": 44
},
"id": 27,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": "Graphite",
"refId": "A",
"target": "aliasByNode(stats.timers.hubble.syncengine.peer.*.mean, 4, 5, 6)",
"textEditor": true
}
],
"title": "Peer Sync Timings",
"type": "timeseries"
},
{
"datasource": "Graphite",
"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": 10,
"w": 8,
"x": 16,
"y": 44
},
"id": 29,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": "Graphite",
"refId": "A",
"target": "aliasByNode(stats_counts.hubble.syncengine.peer_counts.*, 3, 4)",
"textEditor": true
}
],
"title": "Messages Fetched",
"type": "timeseries"
}
],
"refresh": "30s",