mirror of
https://github.com/logos-messaging/storenode-messages-counter.git
synced 2026-01-07 16:43:08 +00:00
fix: summary
This commit is contained in:
parent
3b1df25ddf
commit
7d4cc96cb6
@ -268,15 +268,14 @@ func (app *Application) verifyHistory(ctx context.Context, runId string, storeno
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
for s, cnt := range missingInSummary {
|
for _, s := range storenodes {
|
||||||
app.metrics.RecordMissingMessages(s, "does_not_exist", cnt)
|
missingCnt := missingInSummary[s.ID]
|
||||||
logger.Info("missing message summary", zap.Stringer("storenode", s), zap.Int("numMsgs", cnt))
|
app.metrics.RecordMissingMessages(s.ID, "does_not_exist", missingCnt)
|
||||||
}
|
logger.Info("missing message summary", zap.Stringer("storenode", s.ID), zap.Int("numMsgs", missingCnt))
|
||||||
|
|
||||||
for s, cnt := range unknownInSummary {
|
|
||||||
app.metrics.RecordMissingMessages(s, "unknown", cnt)
|
|
||||||
logger.Info("messages that could not be verified summary", zap.Stringer("storenode", s), zap.Int("numMsgs", cnt))
|
|
||||||
|
|
||||||
|
unknownCnt := unknownInSummary[s.ID]
|
||||||
|
app.metrics.RecordMissingMessages(s.ID, "unknown", unknownCnt)
|
||||||
|
logger.Info("messages that could not be verified summary", zap.Stringer("storenode", s.ID), zap.Int("numMsgs", missingCnt))
|
||||||
}
|
}
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user