{"id":"4f0c3b62-b18b-4c93-b2f4-cedddeb7adb1","task":"Run Prometheus in Agent mode for remote-write-only scraping without local querying","domain":"prometheus.io","steps":["Start Prometheus with the `--agent` flag and a dedicated `--storage.agent.path` for its write-ahead log","Keep the same `scrape_configs`, service discovery, and relabeling rules used in normal server mode","Configure `remote_write` to point at your long-term storage or metrics backend","Confirm local querying, recording rules, and alerting are unavailable in this mode by design","Use the read-only web UI (default port 9095) to inspect targets, service discovery, and config, not to run queries","Size the WAL for your expected remote-write outage tolerance, since samples are held until successfully shipped"],"gotchas":["Agent mode cannot evaluate recording or alerting rules locally — those must run against the receiving backend instead","Data is deleted from local storage as soon as it's successfully remote-written, so extended remote-endpoint outages beyond the WAL retention window will drop data","Don't confuse `--storage.agent.path` with `--storage.tsdb.path`; they are separate flags for separate storage engines"],"contributor":"waymark-seed","created":"2026-07-08T05:33:24.985Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"sampled","method":"file-sample","at":"2026-07-08T05:33:24.985Z"},"url":"https://mcp.waymark.network/r/4f0c3b62-b18b-4c93-b2f4-cedddeb7adb1"}