Documentation
¶
Overview ¶
Package influxdb provides an InfluxDB endpoint for metrics data.
InfluxDB is a time-series database:
https://www.influxdata.com/time-series-platform/influxdb/
Index ¶
Constants ¶
View Source
const ( DefaultHost = "localhost" DefaultPort = 8086 DefaultTimeout = time.Minute )
The default options values.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client provides an InfluxDB client connection.
func (*Client) SubmitPoints ¶
SubmitPoints submits the points in the given iterator.
type Option ¶
type Option interface {
// contains filtered or unexported methods
}
Option sets options on an InfluxDB client connection.
func Timeout ¶
Timeout sets the timeout when attempting to communication with the InfluxDB server. A value of 0 means that there is no timeout.
Click to show internal directories.
Click to hide internal directories.