From 2a355cdf1e13d4965ae8692c00fcf6993a2575e7 Mon Sep 17 00:00:00 2001 From: crusader Date: Thu, 5 Jul 2018 18:10:46 +0900 Subject: [PATCH] ing --- config.json | 2 +- consumer/consumer.go | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/config.json b/config.json index eef73c5..27b13e9 100644 --- a/config.json +++ b/config.json @@ -21,7 +21,7 @@ "clientConfigs": { "metric": { "clientType": "http", - "address": "192.168.1.50:18086" + "address": "http://192.168.1.50:18086" } }, "batchPointsConfigs": { diff --git a/consumer/consumer.go b/consumer/consumer.go index 6d26190..3719e64 100644 --- a/consumer/consumer.go +++ b/consumer/consumer.go @@ -11,6 +11,7 @@ func New(_config *config.Config) *oc.Consumer { } ch.Name = "Metric" ch.ConsumerName = "metric" + ch.InfluxDBClientName = "metric" c := &oc.Consumer{ ConsumerHandler: ch,