Add interop metrics (#2645)

## Issue Addressed

Resolves: #2644

## Proposed Changes

- Adds mandatory metrics mentioned here: https://github.com/ethereum/beacon-metrics/blob/master/metrics.md#interop-metrics

## Additional Info

Couldn't figure out how to alias metrics, so I created them all as new gauges/counters.

Co-authored-by: realbigsean <seananderson33@gmail.com>
This commit is contained in:
realbigsean
2021-09-29 23:44:24 +00:00
parent c0122e1a52
commit 7d13e57d9f
4 changed files with 49 additions and 12 deletions

View File

@@ -2953,6 +2953,7 @@ impl<T: BeaconChainTypes> BeaconChain<T> {
}
metrics::inc_counter(&metrics::FORK_CHOICE_REORG_COUNT);
metrics::inc_counter(&metrics::FORK_CHOICE_REORG_COUNT_INTEROP);
warn!(
self.log,
"Beacon chain re-org";