Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: track epoch transition by reason and prepare next epoch duration #6529

Merged
merged 2 commits into from
Mar 13, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading