Documentation ¶
Index ¶
Constants ¶
View Source
const ( Create = iota Start Stop )
View Source
const DefaultTimeout = 0
DefaultTimeout is the default connection timeout used to connect to an InfluxDB instance
Variables ¶
This section is empty.
Functions ¶
func InfluxDB ¶
func InfluxDB(r metrics.Registry, d time.Duration, url, database, username, password, namespace string)
InfluxDB starts chain InfluxDB reporter which will post the from the given metrics.Registry at each d interval.
func InfluxDBWithTags ¶
func InfluxDBWithTags(r metrics.Registry, d time.Duration, url, database, username, password, namespace string, tags map[string]string)
InfluxDBWithTags starts chain InfluxDB reporter which will post the from the given metrics.Registry at each d interval with the specified tags
Types ¶
Click to show internal directories.
Click to hide internal directories.