Skip to content

pourquoi/influxdb-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Send data to influxdb via UDP

$client = new \Pourquoi\InfluxDB\Client();
$client->setDBSender('my_db', new \Pourquoi\InfluxDB\Sender\UDPSender('127.0.0.1', '4444'));

$client->insert('my_db', 'foo', array('v1', 'v2'), array('23', '456'));
$client->insert('my_db', 'foo', array('v1', 'v2'), array('15', '412'));

// this will be sent via http
$client->insert('another_db', 'bar', array('foo'), array('baz'));

$client->send();

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages