Cadvisor
@magistr/cadvisorv2026.05.25.1
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/cadvisor—deploy(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/dockerAPI),top-memory(top memory consumers over a lookback window via the VictoriaMetrics range-query API), andremove(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
03Models
@magistr/cadvisorv2026.05.25.1cadvisor.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| host | string | Docker host (IP or hostname) |
| username | string | SSH username |
| cadvisorPort | number | cAdvisor exposed port |
| vmComposeDir | string | Path to VictoriaMetrics docker-compose directory on the host |
| vmComposeFile | string | VM compose file name |
| vmScrapeConfig | string | VM 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
Repository
https://github.com/umag/swamp-workspace05Platforms
06Labels