Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update telegraf.conf #21

Merged
merged 1 commit into from
Jul 12, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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