X-Git-Url: https://gerrit.mcp.mirantis.com/gitweb?p=salt-formulas%2Finfluxdb.git;a=blobdiff_plain;f=README.rst;h=f9d05c3320afc4745863e11f5591f8e229c9d4a3;hp=a27364f2db72bc1b31cd61f5be2bcfd5e20c23d2;hb=a20e49917c64e9935d212fcb7d81d7a1688c63ce;hpb=1f97c70a8a80548da8e09ea0ec4aeb43f9e05d11 diff --git a/README.rst b/README.rst index a27364f..f9d05c3 100644 --- a/README.rst +++ b/README.rst @@ -264,6 +264,20 @@ InfluxDB client for configuring databases, users and retention policies: database: mydb1 privilege: all + +Create an continuous queries: + +.. code-block:: yaml + + influxdb: + client: + database: + mydb1: + continuos_query: + cq_avg_bus_passengers: >- + SELECT mean("passengers") INTO "transportation"."three_weeks"."average_passengers" FROM "bus_data" GROUP BY time(1h) + + InfluxDB relay with HTTP outputs: .. code-block:: yaml