REA cAdvisor notes (unofficial)
cAdvisor config trees (listen / docker|cri house-keeping / scrape pins) record container metric identity. In REA 6.7.x, treat selected metric and scrape labels as Evidence beside archive/package routes — complementing node-exporter / kube-state-metrics cousins without inventing APIs. Distinct from rea-node-exporter (container ≠ host node) and rea-kube-state-metrics (runtime metrics ≠ K8s object metrics). Preferred rea-alertmanager-config already lived; this SWAP uses free backup rea-cadvisor.
Mental model
- Authorize the cAdvisor config tree (+ packaged charts/DaemonSets you hold).
- Quote selected listen / house-keeping / scrape labels you actually see (never paste bearer tokens or TLS keys).
- Cousins → node-exporter · kube-state-metrics · prometheus-operator · prometheus-agent.
- Bind absolute paths honestly → rea-evidence-explained.
- Do not invent a
inspect_cadvisorAPI REA never called.
Minimal path
# authorized cAdvisor config / DaemonSet files (+ charts you hold)
# quote selected listen / house-keeping / scrape labels into case notes
# cousins → peer node-exporter / kube-state-metrics lanes
# REA package/archive routes on /absolute/path/artifact --json
# do not invent: rea inspect_cadvisor .
Compare
| Artifact | Honest posture |
|---|---|
| listen / house-keeping / scrape | cAdvisor identity facts |
| Peer | rea-node-exporter |
| Peer | rea-kube-state-metrics |
| Not this | rea-prometheus-agent (Agent zoom) |
| Evidence binder | rea-evidence-explained |
Config literacy notes (authorized trees)
- Quote selected listen addresses, house-keeping intervals, and metric allowlists — enough for most Evidence binders.
- Docker socket mounts, scrape bearer tokens, and TLS keys are secrets/privileged — record key names only.
- Keep cAdvisor identity distinct from node-exporter / kube-state-metrics trees in case notes.
- Chart image tag pins are identity Evidence — label them separately from cousin pages.
- Select keys are useful inventory — quote them without inventing REA helpers for live cAdvisor admission.
Scope we will not cover
- No inventing
inspect_cadvisor/ automatic container scrapes against foreign tenants. - No credential theft from scrape tokens or TLS material.
- No pirate redistribution of proprietary cAdvisor trees.
- No crack framing via cAdvisor pins.
- No cookbooks that weaken cAdvisor auth on foreign accounts.
- No using cAdvisor as an unauthorized container-recon guide against accounts you do not own.
Honest limits
RepoRead documents config literacy — how authorized cAdvisor trees relate to Evidence — not a full container-metrics course. Prefer upstream cAdvisor docs; use cousin exporter pages for host/K8s object metrics. When REA 6.7.0 has no dedicated helper, quote the pins you opened and stay on documented archive/package lanes.
RepoRead is unofficial. Prefer config honesty + DISCLAIMER.md.
FAQ
How is this different from rea-node-exporter / rea-kube-state-metrics / rea-prometheus-operator / rea-prometheus-agent?
rea-node-exporter covers node-exporter. rea-kube-state-metrics covers kube-state-metrics. rea-prometheus-operator covers Prometheus Operator. rea-prometheus-agent covers Prometheus Agent. This page zooms on cAdvisor container-metric identity — it does not overwrite those pages.
Is there inspect_cadvisor in 6.7.0?
Not assumed. Quote listen address / docker/cri house-keeping labels you actually open, then use documented package/archive lanes. Do not invent inspect_cadvisor.
Does REA call cAdvisor APIs or steal container credentials?
No. Local trees only. Redact docker socket paths treated as privileged, TLS keys, and scrape bearer tokens; do not treat REA as a cAdvisor runner. No credential theft.
How should I label Evidence vs node-exporter / kube-state-metrics configs?
Label Evidence by the file present. Keep cAdvisor container-metric labels separate from rea-node-exporter and rea-kube-state-metrics.
npm version checked?
rea-agents 6.7.0 (re-checked 2026-10-24).