CPU reductions (same charts/features)
CI / test (push) Successful in 1m11s
Release rolling / release (push) Successful in 7m35s

Cache cpuidle names (was re-reading name sysfs every tick × cores)
Cache CPU sysfs dir list + register cpufreq/throttle once
Map for per-core prev lookups (was O(n²) .find)
Dedupe meminfo/vmstat once per tick
Cache iface speed/duplex/mtu/qlen (30s)
Cache inotify limits (30s)
Gate registerChart for IRQs, cpuidle, peardock mapped charts
Remove leftover profile() stderr timers
Cache os.cpus().length in docker collector
Grow fd-cache buffer past 64KB for /proc/interrupts etc.
This commit is contained in:
Raven Scott
2026-07-22 13:40:39 -04:00
parent 9dd7e44380
commit af6609c2d3
9 changed files with 243 additions and 148 deletions
+2 -1
View File
@@ -295,7 +295,8 @@ export class EbpfCollector extends EventEmitter {
chart: 'ebpf.vfs',
context: 'ebpf.vfs',
ts,
values: { read_pages: rate('pgpgout'), write_pages: rate('pgpgin') },
// pgpgin = pages read from block devices; pgpgout = pages written out
values: { read_pages: rate('pgpgin'), write_pages: rate('pgpgout') },
},
{
chart: 'ebpf.socket',