fangli / fluent-plugin-influxdb

A buffered output plugin for fluentd and InfluxDB
MIT License
111 stars 65 forks source link

Add verification for config #43

Closed Jimilian closed 8 years ago

Jimilian commented 8 years ago

I spent more than 2 hours to understand what's going on... In my case it was incorrect certificate, but plugin doesn't tell me anything about it. Just stuck silent. So, I added some fail fast verification. If connection to db couldn't be established, plugin will return InfluxDB exception, and fluentd will print it. Also it checks that db already exists.