System Metrics
Collect basic system metrics such as CPU, memory, disk usage, and network statistics. This input is useful for monitoring the health and performance of your system.
Configuration
System metrics input has the following configuration:
interval
: How often system metrics should be collected. It can be specified in seconds, minutes (e.g.,10s
,1m
).disk
: Disk metrics:path
: Path to any directory on the disk you want to monitor. Fugo uses it to identify the correct disk and track its usage.
net
: Network metrics:interface
: Name of the network interface to monitor. Usedefault
to monitor the interface with the default route.
Example agent configuration for system metrics input:
system: interval: 10s disk: path: / net: interface: default
retention: period: 1d interval: 10m
Metrics
time
: Timestamp of the data collection.uptime
: System uptime in seconds.
CPU Usage
cpu_cores
: Number of CPU cores.cpu_usage
: CPU usage as a percentage.la_1
: Load average over the last 1 minute.la_5
: Load average over the last 5 minutes.la_15
: Load average over the last 15 minutes.
Memory Usage
mem_total
: Total memory in bytes.mem_usage
: Memory usage as a percentage.
Disk Usage
disk_dev
: Device name of the disk.disk_total
: Total disk space in bytes.disk_usage
: Disk usage as a percentage.disk_read_bytes
: Delta of read bytes.disk_write_bytes
: Delta of written bytes.
Network Statistics
net_if
: Name of the interface.net_rx_bytes
: Delta of received bytes.net_tx_bytes
: Delta of transmitted bytes.net_rx_packets
: Delta of received packets.net_tx_packets
: Delta of transmitted packets.net_rx_errors
: Delta of receive errors.net_tx_errors
: Delta of transmit errors.net_rx_dropped
: Delta of dropped incoming packets.net_tx_dropped
: Delta of dropped outgoing packets.