From 6d453766a4460879f77adef530710e013a9f4bae Mon Sep 17 00:00:00 2001 From: crusader Date: Fri, 11 May 2018 19:37:08 +0900 Subject: [PATCH] ing --- config/external/influxdb.go | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/config/external/influxdb.go b/config/external/influxdb.go index 9a45e3a..e75e6c8 100644 --- a/config/external/influxdb.go +++ b/config/external/influxdb.go @@ -8,12 +8,13 @@ type InfluxDB struct { } type InfluxDBClientConfig struct { - ClientType string `json:"clientType" yaml:"clientType" toml:"clientType"` - Address string `json:"address" yaml:"address" toml:"address"` - Username string `json:"username" yaml:"username" toml:"username"` - Password string `json:"password" yaml:"password" toml:"password"` - UserAgent string `json:"userAgent" yaml:"userAgent" toml:"userAgent"` - Timeout time.Duration `json:"timeout" yaml:"timeout" toml:"timeout"` + ClientType string `json:"clientType" yaml:"clientType" toml:"clientType"` + Address string `json:"address" yaml:"address" toml:"address"` + Username string `json:"username" yaml:"username" toml:"username"` + Password string `json:"password" yaml:"password" toml:"password"` + UserAgent string `json:"userAgent" yaml:"userAgent" toml:"userAgent"` + Timeout time.Duration `json:"timeout" yaml:"timeout" toml:"timeout"` + PayloadSize int `json:"payloadSize" yaml:"payloadSize" toml:"payloadSize"` } type InfluxDBBatchPointsConfig struct {