1
0
Fork 0
mirror of synced 2024-05-20 20:52:36 +12:00

Updated default telegraf hostname

This commit is contained in:
eldadfux 2019-08-07 10:56:08 +03:00
parent cfdb3696bb
commit 1ccd38f181

View file

@ -98,7 +98,7 @@ $register->set('influxdb', function() use ($request) { // Register DB connection
return $client;
});
$register->set('statsd', function() use ($request) { // Register DB connection
$host = $request->getServer('_APP_STATSD_HOST', 'telegraf-statsd');
$host = $request->getServer('_APP_STATSD_HOST', 'telegraf');
$port = $request->getServer('_APP_STATSD_PORT', 8125);
$connection = new \Domnikl\Statsd\Connection\UdpSocket($host, $port);