-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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 (inputs/mongodb): Add direct connection to mongod plugin #10098
fix (inputs/mongodb): Add direct connection to mongod plugin #10098
Conversation
6a6dab6
to
1609c5e
Compare
1609c5e
to
bd6bda8
Compare
📦 Looks like new artifacts were built from this PR. Expand this list to get them here ! 🐯Artifact URLs |
To be honest I would prefer documenting the option to set |
it could, but i guess, that many developers just update telegraf and can't realize that they receive wrong data, after they understand it, tried figure out what the problem and after many hours they may be remember about documentation, find what changed and fix it. |
@denispershin I understand your point, but changing the behavior of telegraf will fix the problem for you , but it might break the setup of other people that rely on the current behavior. So changing the behavior by default cannot be done anyway as telegraf "guarantees" that your existing config will exhibit the same behavior for minor-version updates. This being said, the difference is either setting the So my suggestion would be to add a big warning to the config option, that you need to set Let's see what the Influx people think about it... |
@denispershin after having talked to the Influx people, we agreed on that having that option in the connection string is good enough. However, we also agreed on that the documentation could be improved maybe spending an extra section or a heads-up on this fact. Are you willing to enhance the documentation of the current behavior and the use of |
Hello! I am closing this issue due to inactivity. I hope you were able to resolve your problem, if not please try posting this question in our Community Slack or Community Page. Thank you! |
Required for all PRs:
Since 1.19.2 version, telegraf collect statistics from primary node, even if secondary node was specified. It can be fixed with connection=direct with connection string in config file, but I think this MR better way to fix this problem, no any action from users required.
resolves #9555