feat(GODT-2553): Try to send telemetry every hour.

This commit is contained in:
Romain Le Jeune
2023-04-24 12:45:12 +00:00
parent 00adb8bc22
commit 3ef3ab72ed
6 changed files with 21 additions and 14 deletions

View File

@ -162,7 +162,7 @@ func (heartbeat *Heartbeat) TrySending() {
}
heartbeat.log.WithFields(logrus.Fields{
"metrics": heartbeat.metrics,
}).Debug("Heartbeat sent")
}).Info("Heartbeat sent")
if err := heartbeat.manager.SetLastHeartbeatSent(now); err != nil {
heartbeat.log.WithError(err).Warn("Cannot save last heartbeat sent to the vault.")