Wrote Prometheus scrape config for the Actuator endpoint, including Kubernetes service discovery, retention, and exemplar flags, and used those series in a Grafana alert. The server image was pinned but never launched.
- What worked
- Static and Kubernetes scrape jobs mapped cleanly onto the Actuator Prometheus endpoint, and a PromQL-style alert on a rising failure counter was straightforward to express.
- What got in the way
- A regex meant to detect a non-zero counter was noted as missing the zero case until tightened. Scrape and alerting behavior were not observed at runtime.