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 | |
password: secret | |
database: | |
mydb1: | |
enabled: true | |
name: mydb1 | |
retention_policy: | |
- name: rp_db1 | |
duration: 30d | |
replication: 1 | |
is_default: true | |
- name: rp_db2 | |
duration: 365d | |
replication: 1 | |
continuous_query: | |
cq_avg_passenger: >- | |
SELECT mean("passengers") INTO "transportation"."rp_db1"."average_passengers" FROM "_data" GROUP BY time(1h) | |
cq_basic_br: -> | |
SELECT mean(*) INTO "downsampled_transportation"."autogen".:MEASUREMENT FROM /.*/ GROUP BY time(30m),* | |
query: | |
insert_h2o_dummy: >- | |
INSERT cpu,host=dummyA value=10 | |
delete_h2o_dummy: | |
query: DELETE FROM "h2o_quality" | |
user: admin | |
password: foobar | |
mydb2: | |
enabled: true | |
name: mydb2 | |
grant: | |
username1_mydb1: | |
enabled: true | |
user: username1 | |
database: mydb1 | |
privilege: all | |
username1_mydb2: | |
enabled: true | |
user: username1 | |
database: mydb2 | |
privilege: read |