Skip to content

Commit

Permalink
chore: track epoch transition by reason and prepare next epoch durati…
Browse files Browse the repository at this point in the history
…on (#6529)

* chore: track epoch transtion by reason and prepare next epoch duration

* Restore beacon job variable

---------

Co-authored-by: Nico Flaig <nflaig@protonmail.com>
  • Loading branch information
twoeths and nflaig authored Mar 13, 2024
1 parent 9116526 commit 822446f
Showing 1 changed file with 172 additions and 8 deletions.
180 changes: 172 additions & 8 deletions dashboards/lodestar_block_processor.json
Original file line number Diff line number Diff line change
Expand Up @@ -1915,6 +1915,88 @@
"title": "State SSZ cache miss rate on preState",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"description": "",
"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
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": []
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 82
},
"id": 536,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "rate(lodestar_epoch_transition_by_caller_total[$rate_interval]) * 384",
"instant": false,
"legendFormat": "{{caller}}",
"range": true,
"refId": "A"
}
],
"title": "Epoch transition by reason",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
Expand Down Expand Up @@ -1965,7 +2047,7 @@
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"x": 12,
"y": 82
},
"id": 526,
Expand Down Expand Up @@ -3455,6 +3537,88 @@
"title": "Runs / epoch",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"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
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"unit": "s"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 149
},
"id": 535,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "rate(lodestar_precompute_next_epoch_transition_duration_seconds_sum[$rate_interval])\n/\nrate(lodestar_precompute_next_epoch_transition_duration_seconds_count[$rate_interval])",
"instant": false,
"legendFormat": "prepare_next_epoch_duration",
"range": true,
"refId": "A"
}
],
"title": "Prepare Next Epoch Duration",
"type": "timeseries"
},
{
"collapsed": false,
"datasource": {
Expand All @@ -3465,7 +3629,7 @@
"h": 1,
"w": 24,
"x": 0,
"y": 149
"y": 157
},
"id": 136,
"panels": [],
Expand Down Expand Up @@ -3533,7 +3697,7 @@
"h": 8,
"w": 12,
"x": 0,
"y": 150
"y": 158
},
"id": 130,
"options": {
Expand Down Expand Up @@ -3633,7 +3797,7 @@
"h": 8,
"w": 12,
"x": 12,
"y": 150
"y": 158
},
"id": 140,
"options": {
Expand Down Expand Up @@ -3735,7 +3899,7 @@
"h": 8,
"w": 12,
"x": 0,
"y": 158
"y": 166
},
"id": 132,
"options": {
Expand Down Expand Up @@ -3863,7 +4027,7 @@
"h": 8,
"w": 12,
"x": 12,
"y": 158
"y": 166
},
"id": 138,
"options": {
Expand Down Expand Up @@ -3985,7 +4149,7 @@
"h": 8,
"w": 12,
"x": 0,
"y": 166
"y": 174
},
"id": 531,
"options": {
Expand Down Expand Up @@ -4101,7 +4265,7 @@
"h": 8,
"w": 12,
"x": 12,
"y": 166
"y": 174
},
"id": 533,
"options": {
Expand Down

0 comments on commit 822446f

Please sign in to comment.