library influxdb-client
InfluxDB client UDP
pourquoi/influxdb-client
InfluxDB client UDP
- Friday, June 20, 2014
- by pourquoi
- Repository
- 1 Watchers
- 4 Stars
- 39 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 1 Versions
- 0 % Grown
Send data to influxdb via UDP, (*1)
$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();
dev-master
9999999-dev
InfluxDB client UDP
Sources
Download
WTFPL
by
Mathias Dusautoy
influxdb
udp