Glossary
Aggregate window — Flux's
aggregateWindow: chops a range into
equal windows and folds each window's
points into one value (a mean, a max),
stamped with the window's end time.
Annotated CSV — the query API's
answer format: ordinary CSV whose
columns include the query's _start,
_stop and each row's table number,
with blank lines between tables.
Bucket — a named home for points inside an organisation, carrying its own retention rule. The v2 counterpart of a database.
Cardinality — the number of distinct series a measurement has. High-cardinality tag values (a different value per point) bloat the index and slow every write.
Downsampling — keeping summaries instead of raw points: ten-minute means in place of ten-second readings. Tasks are the usual machinery.
Field — a point's measured value,
typed (decimal, integer, string,
boolean), named (temperature). Fields
are what you average and graph; they
are not indexed.
Flux — InfluxDB v2's query
language: a pipe of table functions —
from, range, filter,
aggregateWindow — composed with |>.
Line protocol — the write format: one point per text line — measurement, tags, fields, timestamp.
Measurement — the name of a stream
of points (weather). Roughly a SQL
table's name, with tags and fields
for columns.
Operator token — the all-powerful token minted by the first setup for the admin user. The keys to the whole building; see chapter 7.
Organisation — the tenancy that owns buckets, users, tokens and tasks. Everything in InfluxDB belongs to exactly one.
Point — one measurement at one moment: a measurement name, a set of tags, one or more fields, and a timestamp. Identified by series plus timestamp — write it again and it is replaced.
Precision — the unit a write's timestamps are counted in: nanoseconds (the default), microseconds, milliseconds or seconds. Declared per write, never guessed.
Range — the range() slice of
time nearly every Flux query starts
with. Relative forms (-1h, -7d)
count back from now.
Retention — a bucket's memory: the age at which its points are forgotten — refused at write time if already too old, expired in whole shards as they age.
Series — one measurement with one specific set of tag values (and, per field, one stream of points). Queries return one table per series.
Shard — a time-sliced group of storage files inside the engine. Backups contain one archive per shard; retention deletes whole shards.
Tag — a point's label
(station=rooftop-1): always a word,
always indexed, used to slice series.
Tags describe the kinds of thing;
fields hold the numbers.
Task — a Flux script with a
schedule (every: or cron), stored
and run by the server, typically
writing summaries into another bucket
with to().
Token — the credential every API call presents. A bearer secret whose permissions (read/write, per bucket or org-wide) are fixed at creation and whose value is shown exactly once.