sensu-influxdb-extension
sensu-influxdb-extension copied to clipboard
A sensu handler for sending metrics to influxdb
This uses the tags defined in sensu client configuration to pass along to influxdb.
For example: Old: slice_host('myhost.memory.dirty', 'myhost.modax.com') => "emory.dirty" New: slice_host('myhost.memory.dirty', 'myhost.modax.com') => "memory.dirty"
Multiplied time by 1000 to match influxdb timescale exception handling on http request Check if database is nil -> using settings Change Body "name" => key.gsub!('-','') to name => key
Without adding this yield, I could never shutdown sensu-server using `/etc/init.d/sensu-server restart` In the logs, you'd see this, where _handlers_in_progress_count_ would be a higher value, depending on how many influxdb...