Add Docker instructions
Signed-off-by: Julien Riou <julien@riou.xyz>
This commit is contained in:
parent
20f88988fd
commit
42b97119be
5 changed files with 98 additions and 10 deletions
3
docker/environment
Normal file
3
docker/environment
Normal file
|
@ -0,0 +1,3 @@
|
|||
MINER_ADDRESS=
|
||||
GF_SECURITY_ADMIN_USER=
|
||||
GF_SECURITY_ADMIN_PASSWORD=
|
17
docker/telegraf.conf
Normal file
17
docker/telegraf.conf
Normal 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"]
|
Reference in a new issue