add demo config

This commit is contained in:
Ondrej Novak 2026-06-24 23:47:24 +02:00
parent bb41643e49
commit 71c87271e1
Signed by: handy
SSH Key Fingerprint: SHA256:jlNm8ijkaMl4X7+nn3zBFTJufdQgT4unKJoZVH6kYTM
1 changed files with 115 additions and 0 deletions

115
config.toml Normal file
View File

@ -0,0 +1,115 @@
[[graph]]
name = "cpu load"
path = "cpu.png"
width_px = 480
height_px = 98
samples = 60
[[graph.series]]
name = "load"
color = [2, 154, 219]
metrics = [
".*\\/cpu-[0-9]+\\/cpu-(nice|steal|system|user)"
]
[[graph.series]]
name = "io wait"
color = [68, 200, 229]
metrics = [
".*\\/cpu-[0-9]+\\/cpu-wait"
]
[[graph.series]]
name = "irq"
color = [143, 232, 252]
metrics = [
".*\\/cpu-[0-9]+\\/cpu-(interrupt|softirq)"
]
[[graph.series]]
name = "idle"
color = [0, 0, 0]
metrics = [
".*\\/cpu-[0-9]+\\/cpu-idle"
]
[[graph]]
name = "memory"
path = "mem.png"
width_px = 480
height_px = 98
samples = 90
[[graph.series]]
name = "used"
color = [0, 117, 5]
metrics = [
".*\\/memory\\/memory-used"
]
[[graph.series]]
name = "cached"
color = [2, 224, 13]
metrics = [
".*\\/memory\\/memory-buffered",
".*\\/memory\\/memory-cached"
]
[[graph.series]]
name = "free"
color = [0, 0, 0]
metrics = [
".*\\/memory\\/memory-free"
]
[[graph]]
name = "disk"
path = "disk.png"
width_px = 480
height_px = 98
samples = 90
[[graph.series]]
name = "read"
color = [206, 206, 2]
metrics = [
{ name = ".*\\/disk-nvme[0-9]+n[0-9]+\\/disk_octets", value = "read" }
]
[[graph.series]]
name = "write"
color = [206, 111, 2]
metrics = [
{ name = ".*\\/disk-nvme[0-9]+n[0-9]+\\/disk_octets", value = "write" }
]
[[graph]]
name = "network"
path = "net.png"
width_px = 480
height_px = 98
samples = 90
[[graph.series]]
name = "error"
color = [206, 25, 2]
metrics = [
{ name = ".*\\/interface-(wlo[0-9]+|eno[0-9]+)\\/if_errors", value = "tx" },
{ name = ".*\\/interface-(wlo[0-9]+|eno[0-9]+)\\/if_errors", value = "rx" },
{ name = ".*\\/interface-(wlo[0-9]+|eno[0-9]+)\\/if_dropped", value = "tx" },
{ name = ".*\\/interface-(wlo[0-9]+|eno[0-9]+)\\/if_dropped", value = "rx" },
]
[[graph.series]]
name = "sent"
color = [2, 206, 111]
metrics = [
{ name = ".*\\/interface-(wlo[0-9]+|eno[0-9]+)\\/if_octets", value = "tx" },
]
[[graph.series]]
name = "recv"
color = [2, 179, 20]
metrics = [
{ name = ".*\\/interface-(wlo[0-9]+|eno[0-9]+)\\/if_octets", value = "rx" },
]