make grafana stack instantly deployable

This commit is contained in:
L4RM4ND
2023-02-24 22:09:30 +01:00
parent efda369edd
commit 445fd9d7cb
8 changed files with 37 additions and 22 deletions

View File

@@ -0,0 +1,24 @@
# Bind address to use for the RPC service for backup and restore.
bind-address = "127.0.0.1:8088"
[meta]
dir = "/var/lib/influxdb/meta"
[data]
dir = "/var/lib/influxdb/data"
wal-dir = "/var/lib/influxdb/wal"
series-id-set-cache-size = 100
[http]
enabled = true
bind-address = ":8086"
auth-enabled = true
[logging]
[subscriber]
[[graphite]]
[[collectd]]
[[opentsdb]]
[[udp]]
[continuous_queries]
[tls]
[coordinator]
[retention]
[shard-precreation]
[monitor]

View File

@@ -0,0 +1,3 @@
CREATE DATABASE telegraf WITH DURATION 31d
CREATE USER telegrafuser WITH PASSWORD 'MyStrongTelegrafPassword'
GRANT ALL ON telegraf to telegrafuser