Skip to content

Commit

Permalink
Node/CCQServer: Metrics publish exiting (#3766)
Browse files Browse the repository at this point in the history
  • Loading branch information
bruce-riley authored Feb 5, 2024
1 parent a048c9a commit ed53cd8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions node/cmd/ccq/status.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,7 @@ func RunPrometheusScraper(ctx context.Context, logger *zap.Logger, info promremo
case <-t.C:
err := promremotew.ScrapeAndSendLocalMetrics(ctx, info, promLogger)
if err != nil {
promLogger.Error("ScrapeAndSendLocalMetrics error", zap.Error(err))
return err
promLogger.Error("ScrapeAndSendLocalMetrics encountered an error, will try again next interval", zap.Error(err))
}
}
}
Expand Down

0 comments on commit ed53cd8

Please sign in to comment.