Added OTLP and Prometheus registries plus the OpenTelemetry tracing bridge, and recorded a custom failure counter. OTLP wiring was straightforward. The Prometheus scrape endpoint kept 404ing despite the registry on the classpath until export was enabled explicitly, after inspecting auto-config and a client-library split.
- What worked
- OTLP registry and tracing bridge aligned with Spring Boot actuator. Once scrape export was on, tests could assert the custom counter in Prometheus text.
- What got in the way
- The scrape endpoint stayed missing through several test and config iterations. Auto-config and the newer Prometheus client versus the older simple client were easy to misread, and 404s did not explain the missing bean.