New in version 2017.7.0.
(compatible with InfluxDB version 0.9+)
absent(name, database, **client_args)¶
Ensure that given continuous query is absent.
Name of the continuous query to remove.
Name of the database that the continuous query was defined on.
present(name, database, query, resample_time=None, coverage_period=None, **client_args)¶
Ensure that given continuous query is present.
Name of the continuous query to create.
Database to create continuous query on.
The query content
Duration between continuous query resampling.
Duration specifying time period per sample.