lib/db_utils.pm

influxdb_push_data

    influxdb_push_data($url, $db, $data [, quiet => 1])

Builds an influx-db query and write it to the given database specified with url and db for the Influx DB name. data is a hash containing the table name in Influx DB, the tags and the values to plot.

Example of data: $data = { table => 'my_db_table_name', tags => { BUILD => '42', KERNEL => '4.12.14-lp151.28.20-default'}, values => { io_reads' => 1337, io_writes => 1338 } }