3 tips:
- Enable
/env
and /metrics
with access control
- Expose custom metrics via MeterRegistry
- Combine with Grafana dashboards for live alertsSample config:
management.endpoints.web.exposure.include: "*"
Ops teams love it when services are self-reporting.