InfluxDB
InfluxDB instance
InfluxDB can be run locally or in the cloud.
Basic config
Basic configuration includes the server connection details:
Data format
InfluxDB supports data elements for structuring your data. The influxdb data exporter can create these elements if the messages received contain a metadata dictionary:
The following message shows the configuration of all possible elements data and metadata:
Advanced config
The influxdb data reader reads data from InfluxDB server in timed intervals.
Every timeout_ms
data with time stamps in the interval (t-time_delay, t-time_delay+timeout_ms)
will be returned, where t
is the current time.
Note that InfluxDB is not a streaming database, so trying to set time_delay
too small may result in data loss.
This will occur if data is written to the database after the corresponding interval has been read.
The time delay is given as InfluxDB duration.
The batch_size
limits the size of batches returned by the data reader.
If print_intervals
is true
the intervals are printed on every time step.
The filter_fn
can be used to further specify the data, e.g. r._measurement == "cpu" and r._field == "usage_system"
(note the usage of single quotation marks outside and double quotation marks inside the filter_fn string).
Defaults to true
for no further filtering.
For documentation, see InfluxDB filter() function
Was this page helpful?