Skip to content

Commit

Permalink
Fix incorrect metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
Bez625 committed Jul 17, 2024
1 parent 9eddb13 commit 4d9356a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
2 changes: 1 addition & 1 deletion services/metrics/prometheus/synccommitteevalidation.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

0 comments on commit 4d9356a

Please sign in to comment.