Skip to main content

Cadvisor

@magistr/cadvisorv2026.05.25.1· 5d agoMODELS
01README

cAdvisor container metrics for swamp — deploy a cAdvisor container over SSH, wire it in as a VictoriaMetrics scrape target, and query live and historical container resource stats (memory, CPU, network).

Model:

  • @magistr/cadvisordeploy (idempotent: run the cAdvisor container and append a scrape job to the VictoriaMetrics prometheus config), status (report container + scrape-config state), current-metrics (per-container memory/CPU/network straight from the cAdvisor /api/v1.3/docker API), top-memory (top memory consumers over a lookback window via the VictoriaMetrics range-query API), and remove (tear down the container and scrape config).
02Release Notes

Merge pull request #5 from umag/extensions/jscad-stl-pair

extensions: add 15 more @magistr extensions + auto-discover CI

03Models1
@magistr/cadvisorv2026.05.25.1cadvisor.ts

Global Arguments

ArgumentTypeDescription
hoststringDocker host (IP or hostname)
usernamestringSSH username
cadvisorPortnumbercAdvisor exposed port
vmComposeDirstringPath to VictoriaMetrics docker-compose directory on the host
vmComposeFilestringVM compose file name
vmScrapeConfigstringVM prometheus scrape config file name

Resources

status(infinite)— cAdvisor deployment status
current(infinite)— Current container metrics from cAdvisor
topMemory(infinite)— Top memory consumers over time from VictoriaMetrics
04Stats
A
100 / 100
Downloads
1
Archive size
8.5 KB
  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types1/1earned
  • Dependencies pass trust audit2/2earned
  • Has description1/1earned
  • Platform support declared (or universal)2/2earned
  • License declared1/1earned
  • Verified public repository2/2earned
05Platforms
06Labels