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: fix dashboard panels with outdated metric queries #5502

Merged
merged 1 commit into from
May 17, 2023
Merged
Show file tree
Hide file tree
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
18 changes: 3 additions & 15 deletions dashboards/lodestar_summary.json
Original file line number Diff line number Diff line change
Expand Up @@ -1497,23 +1497,11 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": false,
"expr": "avg(\n delta(validator_monitor_prev_epoch_on_chain_balance_total[32m])\n)",
"expr": "avg(\n delta(validator_monitor_prev_epoch_on_chain_balance[32m])\n)",
"hide": false,
"interval": "",
"legendFormat": "balance_delta",
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": false,
"expr": "avg(\n delta(validator_monitor_prev_epoch_on_chain_balance[32m])\n)",
"hide": false,
"interval": "",
"legendFormat": "balance_delta_new",
"refId": "B"
}
],
"title": "balance delta prev epoch",
Expand Down Expand Up @@ -2693,7 +2681,7 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "(time() - lodestar_genesis_time) / 12 - lodestar_clock_slot",
"expr": "(time() - lodestar_genesis_time) / 12 - beacon_clock_slot",
"hide": false,
"interval": "",
"legendFormat": "clock drift",
Expand Down Expand Up @@ -2908,7 +2896,7 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": false,
"expr": "lodestar_clock_slot - beacon_head_slot",
"expr": "beacon_clock_slot - beacon_head_slot",
"hide": false,
"interval": "",
"legendFormat": "clock drift",
Expand Down
48 changes: 6 additions & 42 deletions dashboards/lodestar_validator_monitor.json
Original file line number Diff line number Diff line change
Expand Up @@ -287,23 +287,11 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": false,
"expr": "avg(\n delta(validator_monitor_prev_epoch_on_chain_balance_total[32m])\n)",
"expr": "avg(\n delta(validator_monitor_prev_epoch_on_chain_balance[32m])\n)",
"hide": false,
"interval": "",
"legendFormat": "balance_delta",
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": false,
"expr": "avg(\n delta(validator_monitor_prev_epoch_on_chain_balance[32m])\n)",
"hide": false,
"interval": "",
"legendFormat": "balance_delta_new",
"refId": "B"
}
],
"title": "balance delta prev epoch",
Expand Down Expand Up @@ -1172,7 +1160,7 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": false,
"expr": "sum(validator_monitor_prev_epoch_attestations_total)/sum(validator_monitor_validators)",
"expr": "validator_monitor_prev_epoch_attestations_count / validator_monitor_validators",
"interval": "",
"legendFormat": "attestations_sent",
"refId": "A"
Expand All @@ -1183,7 +1171,7 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": false,
"expr": "sum(validator_monitor_prev_epoch_aggregates_total)/sum(validator_monitor_validators)",
"expr": "validator_monitor_prev_epoch_aggregates_count / validator_monitor_validators",
"hide": false,
"interval": "",
"legendFormat": "aggregates_sent",
Expand Down Expand Up @@ -1578,30 +1566,6 @@
},
"pluginVersion": "8.4.0-beta1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": false,
"expr": "avg(validator_monitor_prev_epoch_attestation_block_inclusions_total)",
"hide": false,
"interval": "",
"legendFormat": "block_inclusions",
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"exemplar": false,
"expr": "avg(validator_monitor_prev_epoch_attestation_aggregate_inclusions_total)",
"hide": false,
"interval": "",
"legendFormat": "aggregate_inclusions",
"refId": "C"
},
{
"datasource": {
"type": "prometheus",
Expand All @@ -1611,7 +1575,7 @@
"expr": "validator_monitor_prev_epoch_attestation_block_inclusions_sum\n/\nvalidator_monitor_prev_epoch_attestation_block_inclusions_count",
"hide": false,
"interval": "",
"legendFormat": "block_inclusions new",
"legendFormat": "block_inclusions",
"refId": "A"
},
{
Expand All @@ -1623,8 +1587,8 @@
"expr": "validator_monitor_prev_epoch_attestation_aggregate_inclusions_sum\n/\nvalidator_monitor_prev_epoch_attestation_aggregate_inclusions_count",
"hide": false,
"interval": "",
"legendFormat": "aggregate_inclusions new",
"refId": "D"
"legendFormat": "aggregate_inclusions",
"refId": "B"
}
],
"title": "Attestation inclusions epoch per validator",
Expand Down
4 changes: 2 additions & 2 deletions dashboards/lodestar_vm_host.json
Original file line number Diff line number Diff line change
Expand Up @@ -1199,7 +1199,7 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"expr": "(time() - lodestar_genesis_time) / 12 - lodestar_clock_slot",
"expr": "(time() - lodestar_genesis_time) / 12 - beacon_clock_slot",
"hide": false,
"interval": "",
"legendFormat": "clock drift",
Expand Down Expand Up @@ -1414,7 +1414,7 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": false,
"expr": "lodestar_clock_slot - beacon_head_slot",
"expr": "beacon_clock_slot - beacon_head_slot",
"hide": false,
"interval": "",
"legendFormat": "clock drift",
Expand Down