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

influxdb_v2 output plugin reports write errors as outputs.influxdb instead of outputs.influxdb_v2 #5626

Closed
mkarlesky opened this issue Mar 25, 2019 · 0 comments · Fixed by #5627
Labels
bug unexpected problem or unintended behavior
Milestone

Comments

@mkarlesky
Copy link

System info:

Docker image telegraf:1.9.5. However, from inspecting the code it appears the latest builds of telegraf have the same bug.

Steps to reproduce:

  1. Provide an incorrect URL to the outputs.influxdb_v2 plugin.

Expected behavior:

Error messages labeled with [outputs.influxdb_v2].

Actual behavior:

Error messages labeled with [outputs.influxdb].

Additional info:

The error messages below refer to the same root problem but the two statements are labeled as two different generations of output plugins when the problem was solely with the v2 plugin.

In fact, the usage scenario that triggered this bug report involved both generations of plugins. It turned out the v1 plugin was working just fine. For a short while we were rather confused in our troubleshooting because of the mislabeled error messages.

telegraf_1                    | 2019-03-25T20:02:10Z E! [outputs.influxdb] when writing to [<url snip>]: 404 Not Found: not found: path not found
telegraf_1                    | 2019-03-25T20:02:10Z E! [agent] Error writing to output [influxdb_v2]: could not write any address
@mkarlesky mkarlesky changed the title influxdb_v2 output plugin reports errors as outputs.influxdb influxdb_v2 output plugin reports write errors as outputs.influxdb Mar 25, 2019
@mkarlesky mkarlesky changed the title influxdb_v2 output plugin reports write errors as outputs.influxdb influxdb_v2 output plugin reports write errors as outputs.influxdb instead of outputs.influxdb_v2 Mar 25, 2019
@danielnelson danielnelson added this to the 1.10.2 milestone Mar 25, 2019
@danielnelson danielnelson added the bug unexpected problem or unintended behavior label Mar 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug unexpected problem or unintended behavior
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants