InfluxDB utils for Rails