package
5.4.0
Repository: https://github.com/segmentio/stats.git
Documentation: pkg.go.dev

# Functions

AppendMeasure is a formatting routine to append the InflxDB line protocol representation of a measure to a memory buffer.
NewClient creates and returns a new InfluxDB client publishing metrics to the server running at addr.
NewClientWith creates and returns a new InfluxDB client configured with the given config.

# Constants

DefaultAddress is the default address to which the InfluxDB client tries to connect to.
2 MB.
DefaultDatabase is the default database used by the InfluxDB client.
DefaultTimeout is the default timeout value used when sending requests to InfluxDB.

# Structs

Client represents an InfluxDB client that implements the stats.Handler interface.
The ClientConfig type is used to configure InfluxDB clients.