Open Thomas2511 opened 3 years ago
This is the same problem I experienced in #195
I've been fighting hours to have the InfluxDB exporter work properly, thank you very much for this clarification ! I agree this must be added to the official doc, it would save a lot of time to future-me :).
Describe the bug I was trying to setup an InfluxDB using kafka-lag-exporter to check the lag from Kafka and I couldn't get it to work simply using the configuration provided through the documentation for InfluxDB.
To Reproduce The original configuration file looked like this:
With a Kafka + Zookeeper cluster with InfluxDB and Grafana for data reporting. Everything set up in containers.
The configuration file seemed to tick every box regarding the configuration elements proposed in the README file.
With this configuration when I launch my application and check the kafka-lag-exporter logs, this is the configuration section report:
And I have no data in my InfluxDB.
But when I change my configuration file (after reading through the code and finding about the InfluxDBPusherSink) to:
This time in the kafka-log-exporter logs, my configuration seems good, and I now have data in my InfluxDB
Environment
Additional context This is not a bug 'per se' but a clarification in the documentation would have saved me a lot of time.