X-Git-Url: https://gerrit.mcp.mirantis.com/gitweb?p=salt-formulas%2Finfluxdb.git;a=blobdiff_plain;f=README.rst;h=75ffe554fc09c6fa9c8944610b78fb2b7061b85f;hp=769bb2d53d9d34836d9b12dac42904569323cece;hb=0f250ad7d9d06d384bfa6bd5e49015e9478135a9;hpb=a054a52f03659cbfdd2b8cd7aa9aab6fbae6ff7f diff --git a/README.rst b/README.rst index 769bb2d..75ffe55 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