BentoML

Health check endpoints bypass middleware to avoid metric pollution

info
performanceUpdated Mar 7, 2026(via Exa)
Technologies:
How to detect:

The middleware stack skips health check endpoints (/livez, /readyz) to avoid polluting metrics and logs. This means health check requests don't trigger access logging, metrics recording, or tracing.

Recommended action:

When troubleshooting health check issues, note that standard observability middleware is bypassed. Check service-level logs instead of access logs. Verify health check endpoint logic directly rather than relying on request metrics.