aports/testing/rezolus/config.toml
2021-04-13 19:23:59 +02:00

84 lines
2.5 KiB
TOML

# This is a minimal configuration for Rezolus that enables only universally
# usable samplers without any detailed configuration.
# See /usr/share/doc/rezolut/full-config.toml for full example.
#
# NOTE: Rezolus on Alpine Linux is built without NTP sampler (incompatible)
# and HTTP sampler (too big; open issue on alpine/aports if you need it).
# General configuration
[general]
# Sets the socket address for Rezolus to listen on. This is a required parameter
listen = "0.0.0.0:4242"
# Specify the logging level: error, info, debug, trace,
# logging = "info"
# The default interval, in milliseconds, for all samplers
# interval = 1000
# The default window for percentiles in seconds. Samples older than this will
# age-out of the histograms.
# window = 60
# The number of worker threads which are used to run samplers.
# threads = 1
# Per-sampler configuration sections
[samplers]
# The cpu sampler provides telemetry for CPU utilization, C-states, and
# processor performance telemetry.
[samplers.cpu]
enabled = true
# The disk sampler provides telemetry about disk IO operations, bandwidth, and
# with BPF enabled, IO size and latency distributions.
[samplers.disk]
enabled = true
# The ext4 sampler provides telemetry about ext4 filesystem operations.
# Currently this sampler only provides telemetry from BPF. If you want to enable
# this sampler, you should also enable BPF.
[samplers.ext4]
enabled = true
# The interrupt sampler provides telemetry about system interrupts
[samplers.interrupt]
enabled = true
# The memory sampler provides telemetry for system memory utilization
[samplers.memory]
enabled = true
# The network sampler provides telemetry for network bandwidth, packet rates,
# errors, and optionally the distribution of transmit/receive sizes.
[samplers.network]
enabled = true
# The page cache sampler provides telemetry about page cache hits and misses
[samplers.page_cache]
enabled = true
# The rezolus sampler provides telemetry about the CPU and memory utilization
# for Rezolus itself.
[samplers.rezolus]
enabled = true
# The scheduler sampler provides telemetry about the system scheduler and number
# of running/blocked/created processes.
[samplers.scheduler]
enabled = true
# The softnet scheduler provides telemetry about kernel processing of network
# frames.
[samplers.softnet]
enabled = true
# The tcp sampler provides telemetry about tcp traffic
[samplers.tcp]
enabled = true
# The udp sampler provides telemetry about udp traffic
[samplers.udp]
enabled = true