Skip to content

feat: partial validator monitor - #475

Open
spiral-ladder wants to merge 2 commits into
mainfrom
bing/vm
Open

feat: partial validator monitor#475
spiral-ladder wants to merge 2 commits into
mainfrom
bing/vm

Conversation

@spiral-ladder

Copy link
Copy Markdown
Member

Implements the missing validator monitor metrics from lodestar-ts.

Note that there are some metrics intentionally omitted because they probably require even bigger changes on the zig side, this is just the minimal change required to track validator perf.

The following metrics are excluded:

  • validator_monitor_prev_epoch_on_chain_attester_hit_total
  • validator_monitor_prev_epoch_on_chain_attester_miss_total
  • validator_monitor_prev_epoch_on_chain_attester_correct_head_total
  • validator_monitor_prev_epoch_on_chain_attester_incorrect_head_total
  • validator_monitor_prev_epoch_on_chain_inclusion_distance

These will be updated on the TS side to run on onceEveryEndOfEpoch rather than inside registerValidatorStatuses, which is now zig native

Implements the missing validator monitor metrics from lodestar-ts.

Note that there are some metrics intentionally omitted because they
probably require even bigger changes on the zig side, this is just
the minimal change required to track validator perf. 

The following metrics are excluded:

- `validator_monitor_prev_epoch_on_chain_attester_hit_total`
- `validator_monitor_prev_epoch_on_chain_attester_miss_total`
- `validator_monitor_prev_epoch_on_chain_attester_correct_head_total`
- `validator_monitor_prev_epoch_on_chain_attester_incorrect_head_total`
- `validator_monitor_prev_epoch_on_chain_inclusion_distance`

These will be updated on the TS side to run on `onceEveryEndOfEpoch`
rather than inside `registerValidatorStatuses`, which is now zig native
@spiral-ladder spiral-ladder self-assigned this Jul 9, 2026
@spiral-ladder
spiral-ladder requested a review from a team as a code owner July 9, 2026 10:18
@spiral-ladder spiral-ladder changed the title feat: validator monitor feat: partial validator monitor Jul 9, 2026
@matthewkeil matthewkeil added this to the mainnet-stf milestone Jul 27, 2026
@matthewkeil matthewkeil moved this to In Progress in Lodestar Team Coordination Jul 27, 2026
@matthewkeil matthewkeil moved this from In Progress to Ready in Lodestar Team Coordination Jul 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Ready

Development

Successfully merging this pull request may close these issues.

3 participants