Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // ErrFieldsRequired is returned when a point does not any fields. ErrFieldsRequired = errors.New("fields required") // ErrFieldTypeConflict is returned when a new field already exists with a different type. ErrFieldTypeConflict = errors.New("field type conflict") )
Functions ¶
func ErrDatabaseNotFound ¶
ErrDatabaseNotFound indicates that a database operation failed on the specified database because the specified database does not exist.
func ErrRetentionPolicyNotFound ¶ added in v0.2.0
ErrRetentionPolicyNotFound indicates that the named retention policy could not be found in the database.
func IsClientError ¶
IsClientError indicates whether an error is a known client error.
func NewStatistics ¶ added in v0.2.0
NewStatistics returns an expvar-based map with the given key. Within that map is another map. Within there "name" is the Measurement name, "tags" are the tags, and values are placed at the key "values".
Types ¶
type Balancer ¶
type Balancer interface { // Next returns the next Node according to the balancing method // or nil if there are no nodes available Next() *meta.NodeInfo }
Balancer represents a load-balancing algorithm for a set of nodes
func NewNodeBalancer ¶
NewNodeBalancer create a shuffled, round-robin balancer so that multiple instances will return nodes in randomized order and each each returned node will be repeated in a cycle
Directories
¶
Path | Synopsis |
---|---|
cmd
|
|
importer
|
|
Package influxql implements a parser for the InfluxDB query language.
|
Package influxql implements a parser for the InfluxDB query language. |
pkg
|
|
services
|
|
hh
Package hh implements a hinted handoff for writes
|
Package hh implements a hinted handoff for writes |
tests
|
|
Package tsdb implements a durable time series database.
|
Package tsdb implements a durable time series database. |
engine/wal
Package WAL implements a write ahead log optimized for write throughput that can be put in front of the database index.
|
Package WAL implements a write ahead log optimized for write throughput that can be put in front of the database index. |