Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InfluxDB ¶
type InfluxDB struct {
// URL is only for backwards compatibility
URL string
URLs []string `toml:"urls"`
Username string
Password string
Database string
UserAgent string
RetentionPolicy string
WriteConsistency string
Timeout internal.Duration
UDPPayload int `toml:"udp_payload"`
HTTPProxy string `toml:"http_proxy"`
HTTPHeaders map[string]string `toml:"http_headers"`
ContentEncoding string `toml:"content_encoding"`
// Path to CA file
SSLCA string `toml:"ssl_ca"`
// Path to host cert file
SSLCert string `toml:"ssl_cert"`
// Path to cert key file
SSLKey string `toml:"ssl_key"`
// Use SSL but skip chain & host verification
InsecureSkipVerify bool
// Precision is only here for legacy support. It will be ignored.
Precision string
// contains filtered or unexported fields
}
InfluxDB struct is the primary data structure for the plugin
func (*InfluxDB) Close ¶
Close will terminate the session to the backend, returning error if an issue arises
func (*InfluxDB) Description ¶
Description returns the human-readable function definition of the plugin
func (*InfluxDB) SampleConfig ¶
SampleConfig returns the formatted sample configuration for the plugin
Click to show internal directories.
Click to hide internal directories.