Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: update influxdb_v2 error message #10958

Merged
merged 2 commits into from
Apr 11, 2022
Merged

Conversation

powersj
Copy link
Contributor

@powersj powersj commented Apr 11, 2022

When sending metrics to all servers fails the last error message is also
sent to the agent to report. This results in duplicate error messages.
Instead of printing the last error message a second time, report that
sending to all configured servers failed.

Fixes: #10956

When sending metrics to all servers fails the last error message is also
sent to the agent to report. This results in duplicate error messages.
Instead of printing the last error message a second time, report that
sending to all configured servers failed.

Fixes: influxdata#10956
@telegraf-tiger telegraf-tiger bot added the fix pr to fix corresponding bug label Apr 11, 2022
Copy link
Contributor

@programmer04 programmer04 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, great job @powersj

@powersj powersj added the ready for final review This pull request has been reviewed and/or tested by multiple users and is ready for a final review. label Apr 11, 2022
@powersj powersj merged commit 66daef2 into influxdata:master Apr 11, 2022
sspaink pushed a commit that referenced this pull request Apr 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix pr to fix corresponding bug ready for final review This pull request has been reviewed and/or tested by multiple users and is ready for a final review.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Redundant (duplicated) error message logged by influxdb_v2 output plugin
3 participants