From 71c87271e11c82777efcaa93eb9b9094f028bbf8 Mon Sep 17 00:00:00 2001 From: Ondrej Novak Date: Wed, 24 Jun 2026 23:47:24 +0200 Subject: [PATCH] add demo config --- config.toml | 115 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 115 insertions(+) create mode 100644 config.toml diff --git a/config.toml b/config.toml new file mode 100644 index 0000000..0e257e5 --- /dev/null +++ b/config.toml @@ -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" }, +]