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 ¶
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
type BuildDiagnostics ¶
BuildDiagnostics capture basic build version information.
type GoDiagnostics ¶
GoDiagnostics captures basic information about the runtime.
func NewGoDiagnostics ¶
func NewGoDiagnostics() *GoDiagnostics
NewGoDiagnostics returns a GoDiagnostics object.
type MemoryDiagnostics ¶
type MemoryDiagnostics struct { Alloc int64 TotalAlloc int64 Sys int64 Lookups int64 Mallocs int64 Frees int64 HeapAlloc int64 HeapSys int64 HeapIdle int64 HeapInUse int64 HeapReleased int64 HeapObjects int64 PauseTotalNs int64 NumGC int64 }
MemoryDiagnostics captures Go memory stats.
func NewMemoryDiagnostics ¶
func NewMemoryDiagnostics() *MemoryDiagnostics
NewMemoryDiagnostics returns a MemoryDiagnostics object.
type SystemDiagnostics ¶
SystemDiagnostics captures basic machine data.
func NewSystemDiagnostics ¶
func NewSystemDiagnostics() *SystemDiagnostics
NewSystemDiagnostics returns a SystemDiagnostics object.
Directories ¶
Path | Synopsis |
---|---|
internal
Package internal is a generated protocol buffer package.
|
Package internal is a generated protocol buffer package. |
cmd
|
|
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. |
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. |
internal
Package internal is a generated protocol buffer package.
|
Package internal is a generated protocol buffer package. |
The uuid package can be used to generate and parse universally unique identifiers, a standardized format in the form of a 128 bit number.
|
The uuid package can be used to generate and parse universally unique identifiers, a standardized format in the form of a 128 bit number. |