Skip to content

Commit fd2fb16

Browse files
authored
chore: n-historical state - track state persist count per epoch (#6699)
1 parent ab10788 commit fd2fb16

File tree

1 file changed

+55
-1
lines changed

1 file changed

+55
-1
lines changed

dashboards/lodestar_state_cache_regen.json

+55-1
Original file line numberDiff line numberDiff line change
@@ -1309,7 +1309,48 @@
13091309
"mappings": [],
13101310
"unit": "s"
13111311
},
1312-
"overrides": []
1312+
"overrides": [
1313+
{
1314+
"matcher": {
1315+
"id": "byName",
1316+
"options": "count_per_epoch"
1317+
},
1318+
"properties": [
1319+
{
1320+
"id": "custom.axisPlacement",
1321+
"value": "right"
1322+
},
1323+
{
1324+
"id": "unit",
1325+
"value": "none"
1326+
}
1327+
]
1328+
},
1329+
{
1330+
"__systemRef": "hideSeriesFrom",
1331+
"matcher": {
1332+
"id": "byNames",
1333+
"options": {
1334+
"mode": "exclude",
1335+
"names": [
1336+
"count_per_epoch"
1337+
],
1338+
"prefix": "All except:",
1339+
"readOnly": true
1340+
}
1341+
},
1342+
"properties": [
1343+
{
1344+
"id": "custom.hideFrom",
1345+
"value": {
1346+
"legend": false,
1347+
"tooltip": false,
1348+
"viz": true
1349+
}
1350+
}
1351+
]
1352+
}
1353+
]
13131354
},
13141355
"gridPos": {
13151356
"h": 8,
@@ -1356,6 +1397,19 @@
13561397
"legendFormat": "sec_from_slot",
13571398
"range": true,
13581399
"refId": "A"
1400+
},
1401+
{
1402+
"datasource": {
1403+
"type": "prometheus",
1404+
"uid": "${DS_PROMETHEUS}"
1405+
},
1406+
"editorMode": "code",
1407+
"expr": "rate(lodestar_cp_state_cache_state_persist_seconds_from_slot_count[$rate_interval]) * 384",
1408+
"hide": false,
1409+
"instant": false,
1410+
"legendFormat": "count_per_epoch",
1411+
"range": true,
1412+
"refId": "C"
13591413
}
13601414
],
13611415
"title": "State persist",

0 commit comments

Comments
 (0)