Handles metrics with influxDB.
Handles alarm state transitions with influxDB.