This commit is contained in:
crusader 2018-07-05 18:10:46 +09:00
parent 36d04bd10b
commit 2a355cdf1e
2 changed files with 2 additions and 1 deletions

View File

@ -21,7 +21,7 @@
"clientConfigs": { "clientConfigs": {
"metric": { "metric": {
"clientType": "http", "clientType": "http",
"address": "192.168.1.50:18086" "address": "http://192.168.1.50:18086"
} }
}, },
"batchPointsConfigs": { "batchPointsConfigs": {

View File

@ -11,6 +11,7 @@ func New(_config *config.Config) *oc.Consumer {
} }
ch.Name = "Metric" ch.Name = "Metric"
ch.ConsumerName = "metric" ch.ConsumerName = "metric"
ch.InfluxDBClientName = "metric"
c := &oc.Consumer{ c := &oc.Consumer{
ConsumerHandler: ch, ConsumerHandler: ch,