REA Prometheus Agent notes (unofficial)
Prometheus Agent config trees (prometheus.yml agent mode / remote_write / scrape_configs) record forwarding-only Prometheus identity. In REA 6.7.x, treat selected agent-mode and remote_write labels as Evidence beside archive/package routes — complementing operator / CRD / rules cousins without inventing APIs. Distinct from rea-prometheus-operator (agent ≠ operator) and rea-prometheus-rules (agent ≠ rules).
Mental model
- Authorize the Prometheus Agent config tree (+ packaged charts you hold).
- Quote selected agent-mode / remote_write / scrape labels you actually see (never paste tokens or TLS keys).
- Cousins → prometheus-operator · prometheus-operator-crds · prometheus-rules · node-exporter.
- Bind absolute paths honestly → rea-evidence-explained.
- Do not invent a
inspect_prometheus_agentAPI REA never called.
Minimal path
# authorized Prometheus Agent / remote_write files (+ charts you hold)
# quote selected agent-mode / remote_write labels into case notes
# cousins → peer operator / CRD / rules lanes
# REA package/archive routes on /absolute/path/artifact --json
# do not invent: rea inspect_prometheus_agent .
Compare
| Artifact | Honest posture |
|---|---|
| prometheus.yml agent / remote_write | Agent identity facts |
| Peer | rea-prometheus-operator |
| Peer | rea-prometheus-operator-crds |
| Not this | rea-prometheus-rules (rules zoom) |
| Evidence binder | rea-evidence-explained |
Config literacy notes (authorized trees)
- Quote selected agent-mode flags, remote_write URLs (hostnames only), and scrape job names — enough for most Evidence binders.
- remote_write tokens, basic-auth passwords, and TLS keys are secrets — record key names only.
- Keep Agent identity distinct from operator / rules 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 Agent admission.
Scope we will not cover
- No inventing
inspect_prometheus_agent/ automatic remote_write against foreign tenants. - No credential theft from remote_write tokens or TLS material.
- No pirate redistribution of proprietary Agent trees.
- No crack framing via Agent pins.
- No cookbooks that weaken remote_write auth on foreign accounts.
- No using Prometheus Agent as an unauthorized metrics-scraping guide against accounts you do not own.
Honest limits
RepoRead documents config literacy — how authorized Prometheus Agent trees relate to Evidence — not a full Prometheus course. Prefer upstream Prometheus docs for agent mode; use rea-prometheus-operator for operator identity. 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-prometheus-operator / rea-prometheus-operator-crds / rea-prometheus-rules / rea-node-exporter?
rea-prometheus-operator covers the operator. rea-prometheus-operator-crds covers CRDs. rea-prometheus-rules covers PrometheusRule. rea-node-exporter covers node_exporter. This page zooms on Prometheus Agent / remote-write identity — it does not overwrite those pages.
Is there inspect_prometheus_agent in 6.7.0?
Not assumed. Quote prometheus.yml agent-mode / remote_write labels you actually open, then use documented package/archive lanes. Do not invent inspect_prometheus_agent.
Does REA call Prometheus Agent APIs or steal remote_write credentials?
No. Local trees only. Redact remote_write tokens, basic-auth passwords, and TLS keys; do not treat REA as a Prometheus Agent runner. No credential theft.
How should I label Evidence vs operator / rules configs?
Label Evidence by the file present. Keep Agent remote_write labels separate from rea-prometheus-operator and rea-prometheus-rules.
npm version checked?
rea-agents 6.7.0 (re-checked 2026-10-24).