Speedtest-for-InfluxDB-and-Grafana
Speedtest-for-InfluxDB-and-Grafana copied to clipboard
Added retry mechanism to InfluxDB connection creation.
Since I run this program as daemon and is started before my InfluxDB container is ready, I added a retry mechanism to the influxdb connection initialization code. The behavior is configurable via the config.ini. This way I can make sure the service will start and begins to report its results to InfuxDB eventually when my server gets a reboot, for example.