mirror of
https://github.com/logos-messaging/storenode-messages-counter.git
synced 2026-01-02 14:13:11 +00:00
fix: add summary to logs
This commit is contained in:
parent
20653b3d0d
commit
fd282b3455
@ -260,10 +260,13 @@ func verifyHistory(ctx context.Context, runId string, storenodes []peer.AddrInfo
|
||||
|
||||
for s, cnt := range missingInSummary {
|
||||
metrics.RecordMissingMessages(s, "does_not_exist", cnt)
|
||||
logger.Info("missing message summary", zap.String("storenode", s), zap.Int("numMsgs", cnt))
|
||||
}
|
||||
|
||||
for s, cnt := range unknownInSummary {
|
||||
metrics.RecordMissingMessages(s, "unknown", cnt)
|
||||
logger.Info("messages that could not be verified summary", zap.String("storenode", s), zap.Int("numMsgs", cnt))
|
||||
|
||||
}
|
||||
|
||||
return nil
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user