Add possibility to connect to InfluxDB via https.
Also adding the option for verifying the https cert.
Signed-off-by: Tobias Gall <tobias.gall@mailbox.org>
- existing check tried to list all DB and fails even if DB exists if user is not admin level
- still tries to create database if not found and user has privs
Signed-off-by: Benjeman Meekhof <bmeekhof@umich.edu>
...and also trim down the configuration to what's really
needed. In general users don't need to pick and choose
metrics. We could add it back if there was a strong
motivation.
Signed-off-by: John Spray <john.spray@redhat.com>