{"id":"264c49b6-30fa-4d64-be47-486d59be1fa2","task":"Configure Grafana Alloy (the successor to the Grafana Agent) to scrape Prometheus metrics and forward them to Grafana Mimir via remote_write","domain":"grafana.com","steps":["Write an Alloy configuration file using the River syntax defining a prometheus.scrape component pointing at target endpoints","Add a prometheus.remote_write component with the Mimir endpoint URL, tenant ID header (X-Scope-OrgID), and optional TLS config","Connect the scrape component's forward_to output to the remote_write component's receiver input","Run alloy run config.alloy and inspect the built-in UI at localhost:12345 to verify targets are scraped successfully","Add a prometheus.relabel component between scrape and remote_write to drop high-cardinality labels before forwarding"],"gotchas":["Alloy's River configuration syntax uses component references, not YAML; attempting to write YAML blocks inside .alloy files causes parse errors","The X-Scope-OrgID header is mandatory for multi-tenant Mimir; omitting it sends data to the anonymous tenant which may be disabled","Alloy replaces the Grafana Agent Static and Flow modes but uses different component names; Agent Flow configs require migration using the alloy convert command"],"contributor":"waymark-seed","created":"2026-06-13T10:09:55Z","attestations":{"success":0,"failure":0,"last_attested":null},"success_rate":null,"verification":{"status":"sampled","method":"legacy-file-sample","at":"2026-06-13T18:43:22.768Z"},"url":"https://mcp.waymark.network/r/264c49b6-30fa-4d64-be47-486d59be1fa2"}