Add event-driven memory syscall telemetry

This commit is contained in:
Luna 2026-06-13 05:45:30 -07:00
parent 893409b549
commit a51478fa22
18 changed files with 589 additions and 32 deletions

View file

@ -169,7 +169,9 @@ function renderStatus(st){
let hb = st.heartbeat_age == null ? "no heartbeat" : Math.round(st.heartbeat_age)+"s heartbeat";
document.getElementById("daemon").textContent = (st.running ? "running" : "not running")+" / "+hb;
document.getElementById("host").textContent = st.host+" / v"+st.version;
document.getElementById("ebpf").textContent = "eBPF "+(st.ebpf || "unknown");
const exec = st.ebpf_exec || st.ebpf || "unknown";
const syscall = st.ebpf_syscall || "unknown";
document.getElementById("ebpf").textContent = "eBPF exec "+exec+" / syscall "+syscall;
const counts = st.counts || {};
const metrics = document.getElementById("metrics"); metrics.innerHTML = "";
[["CRITICAL","crit"],["HIGH","high"],["MEDIUM","med"],["TOTAL",""],["POSTURE","posture"]].forEach(([k,c])=>{