ing
This commit is contained in:
parent
6d453766a4
commit
c89c850681
18
config/external/influxdb.go
vendored
18
config/external/influxdb.go
vendored
@ -8,13 +8,17 @@ 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"`
|
||||
PayloadSize int `json:"payloadSize" yaml:"payloadSize" toml:"payloadSize"`
|
||||
ClientType string `json:"clientType" yaml:"clientType" toml:"clientType"`
|
||||
Address string `json:"address" yaml:"address" toml:"address"`
|
||||
|
||||
// Use HTTP Client
|
||||
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"`
|
||||
|
||||
// Use UDP Client
|
||||
PayloadSize int `json:"payloadSize" yaml:"payloadSize" toml:"payloadSize"`
|
||||
}
|
||||
|
||||
type InfluxDBBatchPointsConfig struct {
|
||||
|
Loading…
x
Reference in New Issue
Block a user