1
0
Fork 0

Add Docker instructions

Signed-off-by: Julien Riou <julien@riou.xyz>
This commit is contained in:
Julien Riou 2021-02-01 17:34:27 +01:00
parent 20f88988fd
commit 42b97119be
No known key found for this signature in database
GPG key ID: FF42D23B580C89F7
5 changed files with 98 additions and 10 deletions

3
docker/environment Normal file
View file

@ -0,0 +1,3 @@
MINER_ADDRESS=
GF_SECURITY_ADMIN_USER=
GF_SECURITY_ADMIN_PASSWORD=

17
docker/telegraf.conf Normal file
View file

@ -0,0 +1,17 @@
[global_tags]
[agent]
interval = "60s"
round_interval = true
metric_batch_size = 1000
metric_buffer_limit = 10000
collection_jitter = "0s"
flush_interval = "60s"
flush_jitter = "0s"
precision = ""
hostname = "docker"
omit_hostname = false
[[outputs.influxdb]]
database = "metrics"
urls = ["http://influxdb:8086"]