Input

edit

The input section specifies how often Topbeat reads server statistics and which statistics it captures. Here is an example configuration:

input:
  # In seconds, defines how often to read server statistics
  period: 10

  # Regular expression to match the processes that are monitored
  # By default, all the processes are monitored
  procs: [".*"]

  # Statistics to collect (all enabled by default)
  stats:
    system: true
    proc: true
    filesystem: true

Options

edit

You can specify the following options in the input section:

period

edit

How often, in seconds, to read system-wide and per-process statistics from your servers. The default is 10.

procs

edit

A list of regular expressions to match all the processes that need to be monitored. By default, all the running processes are monitored.

stats

edit

The statistics to collect. You can specify the following settings:

  • system: true to capture system-wide statistics, including statistics about system load, CPU usage, memory usage, and swap usage.
  • proc: true to capture per-process statistics, such as the process name, parent pid, state, pid, CPU usage, and memory usage.
  • filesystem: true to capture file system statistics, including details about the mounted disks, such as the total and used disk space, and details about each disk, such as the device name and the mounting place.