Loki: Fix typo in Loki logger error message (#73860)

Fix  loki logger error message
pull/74576/head
Leanna Shippy 2 years ago committed by GitHub
parent 62badf0e7d
commit ebdd2a72a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      pkg/components/loki/lokihttp/client.go

@ -321,7 +321,7 @@ func (c *client) sendBatch(tenantID string, batch *batch) {
}
if err != nil {
c.logger.Error("final error sendnig batch", "status", status, "error")
c.logger.Error("final error sending batch", "status", status, "error")
c.metrics.droppedBytes.WithLabelValues(c.cfg.URL.Host).Add(bufBytes)
c.metrics.droppedEntries.WithLabelValues(c.cfg.URL.Host).Add(float64(entriesCount))
}

Loading…
Cancel
Save