Skip to content

Commit

Permalink
Update telegraf.conf
Browse files Browse the repository at this point in the history
  • Loading branch information
tisonkun authored Jul 12, 2024
1 parent ef0f376 commit 769d51b
Showing 1 changed file with 6 additions and 21 deletions.
27 changes: 6 additions & 21 deletions telegraf-ingestion/telegraf.conf
Original file line number Diff line number Diff line change
Expand Up @@ -25,48 +25,33 @@ omit_hostname = false
precision = "0s"
round_interval = true

# https://github.com/influxdata/telegraf/blob/release-1.30/plugins/outputs/influxdb/README.md
[[outputs.influxdb]]
urls = ["https://${GREPTIME_HOST}/v1/influxdb/"]
database = "${GREPTIME_DATABASE}"
username = "${GREPTIME_USERNAME}"
password = "${GREPTIME_PASSWORD}"
skip_database_creation = true

# The cpu plugin gather metrics on the system CPUs.
# https://github.com/influxdata/telegraf/blob/release-1.30/plugins/inputs/cpu/README.md
[[inputs.cpu]]
collect_cpu_time = false
core_tags = false
percpu = true
report_active = false
totalcpu = true

# The disk input plugin gathers metrics about disk usage.
# https://github.com/influxdata/telegraf/blob/release-1.30/plugins/inputs/disk/README.md
[[inputs.disk]]
ignore_fs = ["tmpfs", "devtmpfs", "devfs", "iso9660", "overlay", "aufs", "squashfs"]

# The diskio input plugin gathers metrics about disk traffic and timing.
# https://github.com/influxdata/telegraf/blob/release-1.30/plugins/inputs/diskio/README.md
[[inputs.diskio]]

# The kernel plugin gathers info about the kernel that doesn't fit into other plugins. This plugin ONLY supports Linux.
# https://github.com/influxdata/telegraf/blob/release-1.30/plugins/inputs/kernel/README.md
[[inputs.kernel]]

# The mem plugin collects system memory metrics.
# https://github.com/influxdata/telegraf/blob/release-1.30/plugins/inputs/mem/README.md
[[inputs.mem]]

# This plugin gathers info about the total number of processes and groups them by status.
# https://github.com/influxdata/telegraf/blob/release-1.30/plugins/inputs/processes/README.md
[[inputs.processes]]

# The swap plugin collects system swap metrics. This plugin ONLY supports Linux.
# https://github.com/influxdata/telegraf/blob/release-1.30/plugins/inputs/swap/README.md
[[inputs.swap]]

# The system plugin gathers general stats on system load, uptime, and number of users logged in. It is similar to the unix uptime command.
# https://github.com/influxdata/telegraf/blob/release-1.30/plugins/inputs/system/README.md
[[inputs.system]]

[[processors.printer]]

[[aggregators.minmax]]
period = "30s"
drop_original = false

0 comments on commit 769d51b

Please sign in to comment.