Documentation ¶
Overview ¶
package influxdb implements a backend to InfluxDB (https://influxdata.com)
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { // URL defines the InfluxDB endpoint URL string // Database for health metrics. Will be created if not yet existing Database string // Timeout is the write timeout for the InfluxDB client Timeout time.Duration // Username for the database Username string // Password for the database Password string // Precision defines the timestamp format for metric points // (rfc3339: one of `h, m, s, ms, u, ns`) Precision string }
Config defines the configuration for setting up InfluxDB backend
Click to show internal directories.
Click to hide internal directories.