Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MongoDB ¶
type MongoDB struct {
Dsn string `toml:"dsn"`
AuthenticationType string `toml:"authentication"`
MetricDatabase string `toml:"database"`
MetricGranularity string `toml:"granularity"`
Username string `toml:"username"`
Password string `toml:"password"`
ServerSelectTimeout config.Duration `toml:"timeout"`
TTL config.Duration `toml:"ttl"`
Log telegraf.Logger `toml:"-"`
tls.ClientConfig
// contains filtered or unexported fields
}
func (*MongoDB) Description ¶
func (*MongoDB) SampleConfig ¶
Click to show internal directories.
Click to hide internal directories.