Skip to content

Commit

Permalink
Don't return an error when sending metrics, just log it
Browse files Browse the repository at this point in the history
  • Loading branch information
pmalek committed Sep 15, 2020
1 parent cf3c165 commit abc95cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/outputs/sumologic/sumologic.go
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ func (s *SumoLogic) Write(metrics []telegraf.Metric) error {
func (s *SumoLogic) writeRequestChunks(chunks [][]byte) error {
for _, reqChunk := range chunks {
if err := s.write(reqChunk); err != nil {
return err
log.Printf("W! [SumoLogic] Error sending chunk: %v", err)
}
}
return nil
Expand Down

0 comments on commit abc95cb

Please sign in to comment.