mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-27 16:08:55 +02:00
6aa668308e3a9341e9a68ecd04a69b24d91b4ebf
InfluxDB PHP SDK
Send metrics to InfluxDB.
$client = new \InfluxDB\Client();
$client->setAdapter(new \InfluxDB\Adapter\UdpAdapter());
$client->mark("search", [
"query" => "php"
]);
Install it
Just use composer
php composer.phar require corley/influxdb-sdk:*
Or place it in your require section
{
"require": {
// ...
"corley/influxdb-sdk": "*"
}
}
Languages
PHP
37.2%
JavaScript
33.6%
HTML
24.5%
CSS
3%
Less
0.7%
Other
0.8%