Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
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 ¶
func ErrMeasurementNotFound ¶
func IsClientError ¶
IsClientError indicates whether an error is a known client error.
func NewStatistics ¶ added in v0.9.4
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 |
---|---|
internal
Package internal is a generated protocol buffer package.
|
Package internal is a generated protocol buffer package. |
cmd
|
|
importer
|
|
Package influxql implements a parser for the InfluxDB query language.
|
Package influxql implements a parser for the InfluxDB query language. |
internal
Package internal is a generated protocol buffer package.
|
Package internal is a generated protocol buffer package. |
pkg
|
|
services
|
|
copier/internal
Package internal is a generated protocol buffer package.
|
Package internal is a generated protocol buffer package. |
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. |
internal
Package internal is a generated protocol buffer package.
|
Package internal is a generated protocol buffer package. |
Click to show internal directories.
Click to hide internal directories.