change influxdb host
This commit is contained in:
parent
c43325880b
commit
12684966a6
|
@ -42,7 +42,7 @@ class TunnelMiddleware
|
||||||
if (app()->environment('develop')) {
|
if (app()->environment('develop')) {
|
||||||
$content = $response->getOriginalContent();
|
$content = $response->getOriginalContent();
|
||||||
$status = isset($content['error']) ? $content['error']['code'] : 200;
|
$status = isset($content['error']) ? $content['error']['code'] : 200;
|
||||||
$client = new \InfluxDB\Client("10.0.1.67", 8086, '', '', false, false, 1, 1);
|
$client = new \InfluxDB\Client("influxdb-svc", 8086, '', '', false, false, 1, 1);
|
||||||
$database = $client->selectDB('rpc_monitor');
|
$database = $client->selectDB('rpc_monitor');
|
||||||
$points = array(
|
$points = array(
|
||||||
new Point(
|
new Point(
|
||||||
|
|
Loading…
Reference in New Issue
Block a user