Skip to content

Add validator balance Prometheus metric #2064

@realbigsean

Description

@realbigsean

Description

Seems to be solid demand for this in Discord, some users have even made their own workarounds.

Version

1.0.3

Steps to resolve

Seems like the easiest way would be to query the standard API for balances on startup and then once per epoch for all enabled validators. And only do this if the VC has the --metrics flag.

It'd be adding some non-functional overhead by making completely new beacon node requests but I think if people are looking for validator metrics, this is one of the main one's they're after.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions