Skip to content

feat(mongodb): add skip_ping_at_init option#4

Merged
haoel merged 1 commit intomegaease:masterfrom
observeralone:mongodb
Jun 17, 2022
Merged

feat(mongodb): add skip_ping_at_init option#4
haoel merged 1 commit intomegaease:masterfrom
observeralone:mongodb

Conversation

@observeralone
Copy link
Copy Markdown

@observeralone observeralone commented Jun 17, 2022

Required for all PRs:

resolves influxdata#10078

Summary

add skip_ping_at_init option for mongodb input
If you are not sure that your mongodb is already running, skipping the ping operation will allow you to run Telegraf normally and mongodb will try to reconnect by itself

@observeralone observeralone requested review from haoel and zhao-kun June 17, 2022 04:27
@haoel haoel merged commit 624667e into megaease:master Jun 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[inputs.mongodb] Telegraf crash on init if conn to MongoDB fails

2 participants