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