From 4d9356a0b5723c4e8cb728fb5e2537321bfd43b0 Mon Sep 17 00:00:00 2001 From: Chris Berry Date: Wed, 17 Jul 2024 13:00:36 +0100 Subject: [PATCH] Fix incorrect metrics --- main.go | 2 +- services/metrics/prometheus/synccommitteevalidation.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index 0c7d32e4..26bf852a 100644 --- a/main.go +++ b/main.go @@ -106,7 +106,7 @@ import ( ) // ReleaseVersion is the release version for the code. -var ReleaseVersion = "1.9.0-alpha.5-dev" +var ReleaseVersion = "1.9.0-alpha.6-dev" func main() { exitCode := main2() diff --git a/services/metrics/prometheus/synccommitteevalidation.go b/services/metrics/prometheus/synccommitteevalidation.go index 64aa5daf..b4f12c87 100644 --- a/services/metrics/prometheus/synccommitteevalidation.go +++ b/services/metrics/prometheus/synccommitteevalidation.go @@ -108,5 +108,5 @@ func (s *Service) SyncCommitteeGetHeadBlockFailedInc(slot phase0.Slot, block str // SyncCommitteeMessagesHeadMismatchInc is called when a sync committee message was known to not match the next head block. func (s *Service) SyncCommitteeMessagesHeadMismatchInc(slot phase0.Slot, headParentRoot, broadcastRoot string) { - s.syncCommitteeValidationAggregateMissing.WithLabelValues(strconv.FormatUint(uint64(slot), 10), headParentRoot, broadcastRoot).Add(1) + s.syncCommitteeValidationHeadMismatches.WithLabelValues(strconv.FormatUint(uint64(slot), 10), headParentRoot, broadcastRoot).Add(1) }