influxdb: Index | Files | Directories

package influxdb

import ""

Package influxdb is the root package of InfluxDB, the scalable datastore for metrics, events, and real-time analytics.

If you're looking for the Go HTTP client for InfluxDB, see package


Package Files

errors.go influxdb.go node.go


var ErrFieldTypeConflict = errors.New("field type conflict")

ErrFieldTypeConflict is returned when a new field already exists with a different type.

func ErrDatabaseNotFound Uses

func ErrDatabaseNotFound(name string) error

ErrDatabaseNotFound indicates that a database operation failed on the specified database because the specified database does not exist.

func ErrRetentionPolicyNotFound Uses

func ErrRetentionPolicyNotFound(name string) error

ErrRetentionPolicyNotFound indicates that the named retention policy could not be found in the database.

func IsAuthorizationError Uses

func IsAuthorizationError(err error) bool

IsAuthorizationError indicates whether an error is due to an authorization failure

func IsClientError Uses

func IsClientError(err error) bool

IsClientError indicates whether an error is a known client error.

type Node Uses

type Node struct {
    ID uint64
    // contains filtered or unexported fields

func LoadNode Uses

func LoadNode(path string) (*Node, error)

LoadNode will load the node information from disk if present

func NewNode Uses

func NewNode(path string) *Node

NewNode will return a new node

func (*Node) Save Uses

func (n *Node) Save() error

Save will save the node file to disk and replace the existing one if present


clientPackage client implements a now-deprecated client for InfluxDB; use instead.
client/v2Package client (v2) is the current official Go client for InfluxDB.
cmdPackage cmd is the root package of the various command-line utilities for InfluxDB.
cmd/influxThe influx command is a CLI client to InfluxDB.
cmd/influx/cliPackage cli contains the logic of the influx command line client.
cmd/influxdCommand influxd is the InfluxDB server.
cmd/influxd/backupPackage backup is the backup subcommand for the influxd command.
cmd/influxd/helpPackage help is the help subcommand of the influxd command.
cmd/influxd/restorePackage restore is the restore subcommand for the influxd command, for restoring from a backup.
cmd/influxd/runPackage run is the run (default) subcommand for the influxd command.
cmd/influx_inspectThe influx_inspect command displays detailed information about InfluxDB data files.
cmd/influx_inspect/dumptsiPackage dumptsi inspects low-level details about tsi1 files.
cmd/influx_inspect/dumptsmPackage dumptsm inspects low-level details about tsm1 files.
cmd/influx_inspect/exportPackage export exports TSM files into InfluxDB line protocol format.
cmd/influx_inspect/helpPackage help contains the help for the influx_inspect command.
cmd/influx_inspect/inmem2tsiPackage inmem2tsi reads an in-memory index and exports it as a TSI index.
cmd/influx_inspect/reportPackage report reports statistics about TSM files.
cmd/influx_inspect/verifyPackage verify verifies integrity of TSM files.
cmd/influx_stressCommand influx_stress is deprecated; use instead.
cmd/influx_tsmCommand influx_tsm converts b1 or bz1 shards (from InfluxDB releases earlier than v0.11) to the current tsm1 format.
cmd/influx_tsm/b1Package b1 reads data from b1 shards.
cmd/influx_tsm/bz1Package bz1 reads data from bz1 shards.
cmd/influx_tsm/statsPackage stats contains statistics for converting non-TSM shards to TSM.
cmd/influx_tsm/tsdbPacage tsdb abstracts the various shard types supported by the influx_tsm command.
cmd/influx_tsm/tsdb/internalPackage internal is a generated protocol buffer package.
coordinatorPackage coordinator contains abstractions for writing points, executing statements, and accessing meta data.
importer/v8Package v8 contains code for importing data from 0.8 instances of InfluxDB.
influxqlPackage influxql implements a parser for the InfluxDB query language.
influxql/internalPackage influxql is a generated protocol buffer package.
influxql/neldermeadPackage neldermead is an implementation of the Nelder-Mead optimization method.
modelsPackage models implements basic objects used throughout the TICK stack.
monitorPackage monitor provides a service and associated functionality for InfluxDB to self-monitor internal statistics and diagnostics.
monitor/diagnosticsPackage diagnostics provides the diagnostics type so that other packages can provide diagnostics without depending on the monitor package.
pkg/deepPackage deep provides a deep equality check for use in tests.
pkg/escapePackage escape contains utilities for escaping parts of InfluxQL and InfluxDB line protocol.
pkg/estimator/hllPackage hll contains a HyperLogLog++ with a LogLog-Beta bias correction implementation that is adapted (mostly copied) from an implementation provided by Clark DuVall
pkg/limiterPackage limiter provides concurrency limiters.
pkg/metricsPackage metrics provides various measurements that are safe for concurrent access.
pkg/mmapPackage mmap provides a way to memory-map a file.
pkg/poolPackage pool provides pool structures to help reduce garbage collector pressure.
pkg/slicesPackage slices contains functions to operate on slices treated as sets.
pkg/testing/assertPackage assert provides helper functions that can be used with the standard Go testing package.
pkg/tracingPackage tracing provides a way for capturing hierarchical traces.
pkg/tracing/wirePackage wire is used to serialize a trace.
prometheus/remotePackage remote is a generated protocol buffer package.
query/internalPackage query is a generated protocol buffer package.
services/collectdPackage collectd provides a service for InfluxDB to ingest data via the collectd protocol.
services/continuous_querierPackage continuous_querier provides the continuous query service.
services/graphitePackage graphite provides a service for InfluxDB to ingest data via the graphite protocol.
services/httpdPackage httpd implements the HTTP service and REST API for InfluxDB.
services/metaPackage meta provides control over meta data for InfluxDB, such as controlling databases, retention policies, users, etc.
services/meta/internalPackage meta is a generated protocol buffer package.
services/opentsdbPackage opentsdb provides a service for InfluxDB to ingest data via the opentsdb protocol.
services/precreatorPackage precreator provides the shard precreation service.
services/retentionPackage retention provides the retention policy enforcement service.
services/snapshotterPackage snapshotter provides the meta snapshot service.
services/subscriberPackage subscriber implements the subscriber service to forward incoming data to remote services.
services/udpPackage udp provides the UDP input service for InfluxDB.
tcpPackage tcp provides a simple multiplexer over TCP.
testsThis package is a set of convenience helpers and structs to make integration testing easier
tomlPackage toml adds support to marshal and unmarshal types not in the official TOML spec.
tsdbPackage tsdb implements a durable time series database.
tsdb/enginePackage engine can be imported to initialize and register all available TSDB engines.
tsdb/engine/tsm1Package tsm1 provides a TSDB in the Time Structured Merge tree format.
tsdb/index/inmemPackage inmem implements a shared, in-memory index for each database.
tsdb/index/tsi1Package tsi1 provides a memory-mapped index implementation that supports high cardinality series.
tsdb/internalPackage meta is a generated protocol buffer package.
uuidPackage uuid provides functions to create time-based UUIDs.

Package influxdb imports 8 packages (graph) and is imported by 31 packages. Updated 2017-10-20. Refresh now. Tools for package owners.