-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathbasic.yml
25 lines (23 loc) · 950 Bytes
/
basic.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
---
ansible_influx_url: "http://localhost:8086"
ansible_influx_user: ""
ansible_influx_pass: ""
# timeout for HTTP call from ansible
# ansible_influx_timeout: 600
ansible_influx_databases:
level_0:
name: "telegraf"
retention_policy: { amount: "14", unit: "d", default: true }
# no source -> no CQ or backfill
#source: { name: "telegraf", rp_name: "autogen", drop_after_backfill: false }
# continuous query to keep downsampled data up2date
#continuous_query:
# interval: "1m"
# where: "1 = 1"
# resample: { every: "5m", for: "10m" }
# backfill to populate downsampled data
#backfill: { step: "2", stats: false }
# measurements to downsample, required for continuous_query or backfill
# only the name is required, the rest can be used to overwrite defaults from DB level
#measurements:
# cpu: { interval: "1m", where: '"host" = \'myhost.com\'', resample: { every: "2m", for: "5m" } }