InfluxDB metrics reporting.

This PR introduces reporting to InfluxDB.