53 lines
1.0 KiB
Plaintext
53 lines
1.0 KiB
Plaintext
[agent]
|
|
interval = "2s"
|
|
round_interval = true
|
|
metric_batch_size = 1000
|
|
metric_buffer_limit = 10000
|
|
collection_jitter = "0s"
|
|
flush_interval = "2s"
|
|
flush_jitter = "0s"
|
|
precision = "1s"
|
|
debug = false
|
|
quiet = false
|
|
hostname = "koffyvngij"
|
|
omit_hostname = false
|
|
|
|
[global_tags]
|
|
nodedc_host_key = "robot2b-b2-edge-vps"
|
|
nodedc_profile = "linux-host-telegraf-v1"
|
|
|
|
[[inputs.cpu]]
|
|
percpu = false
|
|
totalcpu = true
|
|
collect_cpu_time = false
|
|
report_active = true
|
|
|
|
[[inputs.mem]]
|
|
|
|
[[inputs.swap]]
|
|
|
|
[[inputs.system]]
|
|
|
|
[[inputs.processes]]
|
|
|
|
[[inputs.disk]]
|
|
ignore_fs = ["tmpfs", "devtmpfs", "devfs", "iso9660", "overlay", "aufs", "squashfs", "nsfs"]
|
|
|
|
[[inputs.diskio]]
|
|
|
|
[[inputs.net]]
|
|
interfaces = ["*"]
|
|
ignore_protocol_stats = true
|
|
|
|
[[inputs.systemd_units]]
|
|
pattern = "nodedc-*.service ssh.service systemd-networkd.service"
|
|
details = true
|
|
|
|
[[outputs.http]]
|
|
url = "http://127.0.0.1:18223/internal/v1/host-telemetry"
|
|
method = "POST"
|
|
timeout = "10s"
|
|
data_format = "json"
|
|
use_batch_format = true
|
|
content_encoding = "identity"
|