I’m trying to gradually convert our current monitoring system to use Sensu checks. As part of that, I have to write to an existing measurement in InfluxDB so that our Grafana dashboards can display results for both existing checks and new Sensu checks.
Problem: our current checks produce several integer values and write them as integers into an Influxdb measurement.
I checked the code and it seems like Sensu treats every number as float, and InfluxDB handler just passes it along as such. So, I got my mutator script to produce all the right outputs, except they’re of the wrong type.
Am I missing some obvious solution, or do I have to fork the Influxdb handler and customize it?