diff --git a/pkg/promtail/client/client.go b/pkg/promtail/client/client.go index 19c4a2da48a22..2dbe134f1d8c2 100644 --- a/pkg/promtail/client/client.go +++ b/pkg/promtail/client/client.go @@ -217,6 +217,7 @@ func (c *client) run() { maxWaitCheck := time.NewTicker(maxWaitCheckFrequency) defer func() { + maxWaitCheck.Stop() // Send all pending batches for tenantID, batch := range batches { c.sendBatch(tenantID, batch)