Add attestation duty slot metric (#2704)

## Issue Addressed

Resolves #2521 

## Proposed Changes

Add a metric that indicates the next attestation duty slot for all managed validators in the validator client.
This commit is contained in:
Pawan Dhananjay
2023-02-09 23:51:17 +00:00
parent aa5b7ef783
commit 2b735a9e8b
5 changed files with 78 additions and 3 deletions

View File

@@ -422,6 +422,7 @@ impl<T: EthSpec> ProductionValidatorClient<T> {
},
spec: context.eth2_config.spec.clone(),
context: duties_context,
enable_high_validator_count_metrics: config.enable_high_validator_count_metrics,
});
// Update the metrics server.