From 12684966a6169cfca719024c72990772f60c4241 Mon Sep 17 00:00:00 2001 From: dongwei <838456736@qq.com> Date: Wed, 20 Feb 2019 15:44:34 +0800 Subject: [PATCH] change influxdb host --- src/Middleware/TunnelMiddleware.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Middleware/TunnelMiddleware.php b/src/Middleware/TunnelMiddleware.php index 35fe435..348cb17 100644 --- a/src/Middleware/TunnelMiddleware.php +++ b/src/Middleware/TunnelMiddleware.php @@ -42,7 +42,7 @@ class TunnelMiddleware if (app()->environment('develop')) { $content = $response->getOriginalContent(); $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'); $points = array( new Point(