Skip to content

Commit

Permalink
Correct metrics from ns to ms (#13540)
Browse files Browse the repository at this point in the history
  • Loading branch information
terencechain authored Jan 26, 2024
1 parent 1b70d2b commit 3a98541
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions beacon-chain/sync/validate_beacon_blocks.go
Original file line number Diff line number Diff line change
Expand Up @@ -227,8 +227,8 @@ func (s *Service) validateBeaconBlockPubSub(ctx context.Context, pid peer.ID, ms
logFields["validationTime"] = validationTime
log.WithFields(logFields).Debug("Received block")

blockArrivalGossipSummary.Observe(float64(sinceSlotStartTime))
blockVerificationGossipSummary.Observe(float64(validationTime))
blockArrivalGossipSummary.Observe(float64(sinceSlotStartTime.Milliseconds()))
blockVerificationGossipSummary.Observe(float64(validationTime.Milliseconds()))
return pubsub.ValidationAccept, nil
}

Expand Down

0 comments on commit 3a98541

Please sign in to comment.