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