Skip to content

Commit

Permalink
add log
Browse files Browse the repository at this point in the history
  • Loading branch information
hstan committed Feb 4, 2025
1 parent b0852c1 commit f3b2a31
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/backends/otlp/backend.go
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,10 @@ func (c *Backend) postMetrics(ctx context.Context, batch group) error {
atomic.AddUint64(&c.seriesDropped, uint64(dropped))
return err
}
} else {
c.logger.WithError(err).WithFields(logrus.Fields{
"endpoint": c.metricsEndpoint,
}).Error("Issues trying to submit data")
}

if retries >= c.maxRetries {
Expand Down

0 comments on commit f3b2a31

Please # to comment.