mirror of
https://github.com/Icinga/icingadb.git
synced 2026-06-09 00:42:37 -04:00
HA: Don't log retry count
Logging of the `attempt` is a meaningless metric as it is not constantly logged but only when the retryable error changes, and it has no context as there is no such thing as max attempts.
This commit is contained in:
parent
51a6ef25b8
commit
c2b449d3a6
1 changed files with 1 additions and 1 deletions
|
|
@ -394,7 +394,7 @@ func (h *HA) realize(
|
|||
log = h.logger.Infow
|
||||
}
|
||||
|
||||
log("Can't update or insert instance. Retrying", zap.Error(err), zap.Uint64("retry count", attempt))
|
||||
log("Can't update or insert instance. Retrying", zap.Error(err))
|
||||
}
|
||||
},
|
||||
OnSuccess: func(elapsed time.Duration, attempt uint64, lastErr error) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue