Documentation ¶
Overview ¶
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 github.com/influxdata/influxdb/client/v2.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ErrFieldTypeConflict = errors.New("field type conflict")
ErrFieldTypeConflict is returned when a new field already exists with a different type.
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.9.5
ErrRetentionPolicyNotFound indicates that the named retention policy could not be found in the database.
func IsAuthorizationError ¶ added in v1.3.0
IsAuthorizationError indicates whether an error is due to an authorization failure
func IsClientError ¶
IsClientError indicates whether an error is a known client error.
Types ¶
Directories ¶
Path | Synopsis |
---|---|
Package client implements a now-deprecated client for InfluxDB; use github.com/influxdata/influxdb/client/v2 instead.
|
Package client implements a now-deprecated client for InfluxDB; use github.com/influxdata/influxdb/client/v2 instead. |
v2
Package client (v2) is the current official Go client for InfluxDB.
|
Package client (v2) is the current official Go client for InfluxDB. |
Package cmd is the root package of the various command-line utilities for InfluxDB.
|
Package cmd is the root package of the various command-line utilities for InfluxDB. |
influx
The influx command is a CLI client to InfluxDB.
|
The influx command is a CLI client to InfluxDB. |
influx/cli
Package cli contains the logic of the influx command line client.
|
Package cli contains the logic of the influx command line client. |
influx_inspect
The influx_inspect command displays detailed information about InfluxDB data files.
|
The influx_inspect command displays detailed information about InfluxDB data files. |
influx_inspect/dumptsi
Package dumptsi inspects low-level details about tsi1 files.
|
Package dumptsi inspects low-level details about tsi1 files. |
influx_inspect/dumptsm
Package dumptsm inspects low-level details about tsm1 files.
|
Package dumptsm inspects low-level details about tsm1 files. |
influx_inspect/export
Package export exports TSM files into InfluxDB line protocol format.
|
Package export exports TSM files into InfluxDB line protocol format. |
influx_inspect/help
Package help contains the help for the influx_inspect command.
|
Package help contains the help for the influx_inspect command. |
influx_inspect/report
Package report reports statistics about TSM files.
|
Package report reports statistics about TSM files. |
influx_inspect/verify
Package verify verifies integrity of TSM files.
|
Package verify verifies integrity of TSM files. |
influx_stress
Command influx_stress is deprecated; use github.com/influxdata/influx-stress instead.
|
Command influx_stress is deprecated; use github.com/influxdata/influx-stress instead. |
influx_tsm
Command influx_tsm converts b1 or bz1 shards (from InfluxDB releases earlier than v0.11) to the current tsm1 format.
|
Command influx_tsm converts b1 or bz1 shards (from InfluxDB releases earlier than v0.11) to the current tsm1 format. |
influx_tsm/b1
Package b1 reads data from b1 shards.
|
Package b1 reads data from b1 shards. |
influx_tsm/bz1
Package bz1 reads data from bz1 shards.
|
Package bz1 reads data from bz1 shards. |
influx_tsm/stats
Package stats contains statistics for converting non-TSM shards to TSM.
|
Package stats contains statistics for converting non-TSM shards to TSM. |
influx_tsm/tsdb
Pacage tsdb abstracts the various shard types supported by the influx_tsm command.
|
Pacage tsdb abstracts the various shard types supported by the influx_tsm command. |
influx_tsm/tsdb/internal
Package internal is a generated protocol buffer package.
|
Package internal is a generated protocol buffer package. |
influxd
Command influxd is the InfluxDB server.
|
Command influxd is the InfluxDB server. |
influxd/backup
Package backup is the backup subcommand for the influxd command.
|
Package backup is the backup subcommand for the influxd command. |
influxd/help
Package help is the help subcommand of the influxd command.
|
Package help is the help subcommand of the influxd command. |
influxd/restore
Package restore is the restore subcommand for the influxd command, for restoring from a backup.
|
Package restore is the restore subcommand for the influxd command, for restoring from a backup. |
influxd/run
Package run is the run (default) subcommand for the influxd command.
|
Package run is the run (default) subcommand for the influxd command. |
Package coordinator contains abstractions for writing points, executing statements, and accessing meta data.
|
Package coordinator contains abstractions for writing points, executing statements, and accessing meta data. |
importer
|
|
v8
Package v8 contains code for importing data from 0.8 instances of InfluxDB.
|
Package v8 contains code for importing data from 0.8 instances of InfluxDB. |
Package influxql implements a parser for the InfluxDB query language.
|
Package influxql implements a parser for the InfluxDB query language. |
internal
Package influxql is a generated protocol buffer package.
|
Package influxql is a generated protocol buffer package. |
neldermead
Package neldermead is an implementation of the Nelder-Mead optimization method.
|
Package neldermead is an implementation of the Nelder-Mead optimization method. |
Package models implements basic objects used throughout the TICK stack.
|
Package models implements basic objects used throughout the TICK stack. |
Package monitor provides a service and associated functionality for InfluxDB to self-monitor internal statistics and diagnostics.
|
Package monitor provides a service and associated functionality for InfluxDB to self-monitor internal statistics and diagnostics. |
diagnostics
Package diagnostics provides the diagnostics type so that other packages can provide diagnostics without depending on the monitor package.
|
Package diagnostics provides the diagnostics type so that other packages can provide diagnostics without depending on the monitor package. |
pkg
|
|
deep
Package deep provides a deep equality check for use in tests.
|
Package deep provides a deep equality check for use in tests. |
escape
Package escape contains utilities for escaping parts of InfluxQL and InfluxDB line protocol.
|
Package escape contains utilities for escaping parts of InfluxQL and InfluxDB line protocol. |
estimator/hll
Package hll contains a HyperLogLog++ implementation that is adapted (mostly copied) from an implementation provided by Clark DuVall github.com/clarkduvall/hyperloglog.
|
Package hll contains a HyperLogLog++ implementation that is adapted (mostly copied) from an implementation provided by Clark DuVall github.com/clarkduvall/hyperloglog. |
limiter
Package limiter provides concurrency limiters.
|
Package limiter provides concurrency limiters. |
mmap
Package mmap provides a way to memory-map a file.
|
Package mmap provides a way to memory-map a file. |
pool
Package pool provides pool structures to help reduce garbage collector pressure.
|
Package pool provides pool structures to help reduce garbage collector pressure. |
slices
Package slices contains functions to operate on slices treated as sets.
|
Package slices contains functions to operate on slices treated as sets. |
services
|
|
collectd
Package collectd provides a service for InfluxDB to ingest data via the collectd protocol.
|
Package collectd provides a service for InfluxDB to ingest data via the collectd protocol. |
continuous_querier
Package continuous_querier provides the continuous query service.
|
Package continuous_querier provides the continuous query service. |
graphite
Package graphite provides a service for InfluxDB to ingest data via the graphite protocol.
|
Package graphite provides a service for InfluxDB to ingest data via the graphite protocol. |
httpd
Package httpd implements the HTTP service and REST API for InfluxDB.
|
Package httpd implements the HTTP service and REST API for InfluxDB. |
meta
Package meta provides control over meta data for InfluxDB, such as controlling databases, retention policies, users, etc.
|
Package meta provides control over meta data for InfluxDB, such as controlling databases, retention policies, users, etc. |
meta/internal
Package meta is a generated protocol buffer package.
|
Package meta is a generated protocol buffer package. |
opentsdb
Package opentsdb provides a service for InfluxDB to ingest data via the opentsdb protocol.
|
Package opentsdb provides a service for InfluxDB to ingest data via the opentsdb protocol. |
precreator
Package precreator provides the shard precreation service.
|
Package precreator provides the shard precreation service. |
retention
Package retention provides the retention policy enforcement service.
|
Package retention provides the retention policy enforcement service. |
snapshotter
Package snapshotter provides the meta snapshot service.
|
Package snapshotter provides the meta snapshot service. |
subscriber
Package subscriber implements the subscriber service to forward incoming data to remote services.
|
Package subscriber implements the subscriber service to forward incoming data to remote services. |
udp
Package udp provides the UDP input service for InfluxDB.
|
Package udp provides the UDP input service for InfluxDB. |
Package tcp provides a simple multiplexer over TCP.
|
Package tcp provides a simple multiplexer over TCP. |
This package is a set of convenience helpers and structs to make integration testing easier
|
This package is a set of convenience helpers and structs to make integration testing easier |
Package toml adds support to marshal and unmarshal types not in the official TOML spec.
|
Package toml adds support to marshal and unmarshal types not in the official TOML spec. |
Package tsdb implements a durable time series database.
|
Package tsdb implements a durable time series database. |
engine
Package engine can be imported to initialize and register all available TSDB engines.
|
Package engine can be imported to initialize and register all available TSDB engines. |
engine/tsm1
Package tsm1 provides a TSDB in the Time Structured Merge tree format.
|
Package tsm1 provides a TSDB in the Time Structured Merge tree format. |
index/inmem
Package inmem implements a shared, in-memory index for each database.
|
Package inmem implements a shared, in-memory index for each database. |
index/tsi1
Package tsi1 provides a memory-mapped index implementation that supports high cardinality series.
|
Package tsi1 provides a memory-mapped index implementation that supports high cardinality series. |
internal
Package meta is a generated protocol buffer package.
|
Package meta is a generated protocol buffer package. |
Package uuid provides functions to create time-based UUIDs.
|
Package uuid provides functions to create time-based UUIDs. |