ing
This commit is contained in:
parent
dd81439795
commit
ef7aa65a3e
5
config/external/influxdb.go
vendored
5
config/external/influxdb.go
vendored
|
@ -3,11 +3,12 @@ package external
|
||||||
import "time"
|
import "time"
|
||||||
|
|
||||||
type InfluxDB struct {
|
type InfluxDB struct {
|
||||||
HTTPConfigs map[string]*InfluxDBHTTPConfig `json:"httpConfigs" yaml:"httpConfigs" toml:"httpConfigs"`
|
ClientConfigs map[string]*InfluxDBClientConfig `json:"clientConfigs" yaml:"clientConfigs" toml:"clientConfigs"`
|
||||||
BatchPointsConfigs map[string]*InfluxDBBatchPointsConfig `json:"batchPointsConfigs" yaml:"batchPointsConfigs" toml:"batchPointsConfigs"`
|
BatchPointsConfigs map[string]*InfluxDBBatchPointsConfig `json:"batchPointsConfigs" yaml:"batchPointsConfigs" toml:"batchPointsConfigs"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type InfluxDBHTTPConfig struct {
|
type InfluxDBClientConfig struct {
|
||||||
|
ClientType string `json:"clientType" yaml:"clientType" toml:"clientType"`
|
||||||
Address string `json:"address" yaml:"address" toml:"address"`
|
Address string `json:"address" yaml:"address" toml:"address"`
|
||||||
Username string `json:"username" yaml:"username" toml:"username"`
|
Username string `json:"username" yaml:"username" toml:"username"`
|
||||||
Password string `json:"password" yaml:"password" toml:"password"`
|
Password string `json:"password" yaml:"password" toml:"password"`
|
||||||
|
|
Loading…
Reference in New Issue
Block a user