X-Git-Url: https://gerrit.mcp.mirantis.com/gitweb?p=salt-formulas%2Finfluxdb.git;a=blobdiff_plain;f=README.rst;h=c79788f4bd6c856dfcf57007c5afa65e347a577a;hp=f401f741aedbd9e92bc47d5c1fddf18a32170c1e;hb=363844afb06635c9194086497341ea490c5e77e2;hpb=8fa8f717f926b036a6c51a555dc6aa9848a465a3;ds=sidebyside diff --git a/README.rst b/README.rst index f401f74..c79788f 100644 --- a/README.rst +++ b/README.rst @@ -63,6 +63,11 @@ InfluxDB server with customized parameters for the data service: enabled: true data: max_series_per_database: 20000000 + cache_max_memory_size: 524288000 + cache_snapshot_memory_size: 26214400 + cache_snapshot_write_cold_duration: "5m" + compact_full_write_cold_duration: "2h"2h" + max_values_per_tag: 5000 Single-node influxdb with an admin user: @@ -225,6 +230,40 @@ Deploy influxdb apt repository (using linux formula): source: 'deb https://repos.influxdata.com/${linux:system:os} ${linux:system:dist} stable' key_url: 'https://repos.influxdata.com/influxdb.key' +InfluxDB client for configuring databases, users and retention policies: + +.. code-block:: yaml + + influxdb: + client: + enabled: true + server: + protocol: http + host: 127.0.0.1 + port: 8086 + user: admin + password: foobar + user: + user1: + enabled: true + admin: true + name: username1 + database: + mydb1: + enabled: true + name: mydb1 + retention_policy: + - name: rp_db1 + duration: 30d + replication: 1 + is_default: true + grant: + username1_mydb1: + enabled: true + user: username1 + database: mydb1 + privilege: all + Read more =========