diff --git a/beacon-chain/blockchain/metrics.go b/beacon-chain/blockchain/metrics.go index 2b9be8996b..dcb53facaa 100644 --- a/beacon-chain/blockchain/metrics.go +++ b/beacon-chain/blockchain/metrics.go @@ -173,6 +173,10 @@ func reportEpochMetrics(ctx context.Context, postState, headState *stateTrie.Bea activeBalance += bal activeEffectiveBalance += validator.EffectiveBalance } + activeInstances += exitingInstances + slashingInstances + activeBalance += exitingBalance + slashingBalance + activeEffectiveBalance += exitingEffectiveBalance + slashingEffectiveBalance + validatorsCount.WithLabelValues("Pending").Set(float64(pendingInstances)) validatorsCount.WithLabelValues("Active").Set(float64(activeInstances)) validatorsCount.WithLabelValues("Exiting").Set(float64(exitingInstances))