+ Trackign host metrics with vector docker container
This commit is contained in:
13
docker-host/setup/files/vector.toml
Normal file
13
docker-host/setup/files/vector.toml
Normal file
@@ -0,0 +1,13 @@
|
||||
[sources.host_metrics]
|
||||
type = "host_metrics"
|
||||
collectors = [ "cpu", "disk", "host", "memory", "network" ]
|
||||
namespace = "leftcoastlab-host"
|
||||
scrape_interval_secs = 60
|
||||
|
||||
[sinks.host_metrics_output]
|
||||
type = "console"
|
||||
inputs = [ "host_metrics" ]
|
||||
target = "stdout"
|
||||
|
||||
encoding.codec = "json"
|
||||
|
||||
Reference in New Issue
Block a user