Documentation ¶
Index ¶
- Variables
- func ErrDatabaseNotFound(name string) error
- func ErrMeasurementNotFound(name string) error
- func ErrRetentionPolicyNotFound(name string) error
- func Errorf(format string, a ...interface{}) (err error)
- func IsClientError(err error) bool
- func NewStatistics(key, name string, tags map[string]string) *expvar.Map
- type Balancer
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.
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.