forked from envoyproxy/envoy
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
health_check: add stats counters to monitor health check behavior (en…
…voyproxy#37409) ## Description This PR adds stats to the health check HTTP filter. These new stats provide visibility into health check behavior including request counts, successful/failed checks, cached responses, and cluster health status. These stats help operators monitor the health checking system and diagnose issues. Here is a list of key stats added: - **request_total** (Counter) : Total number of requests that were served from this health check filter - **failed** (Counter) : Total number of health checks that failed (including failures from cluster status) - **ok** (Counter) : Total number of health checks that passed - **cached_response** (Counter) : Total number of requests that were responded to with cached health check status - **failed_cluster_not_found** (Counter) : Total number of failed health checks due to referenced cluster not being found - **failed_cluster_empty** (Counter) : Total number of failed health checks due to empty cluster membership when checking cluster health - **failed_cluster_unhealthy** (Counter) : Total number of failed health checks due to cluster falling below minimum healthy percentage threshold - **degraded** (Counter) : Total number of health check responses that reported degraded status --- **Commit Message:** health_check: add stats counters to monitor health check behavior **Additional Description:** This change improves observability of the health check filter by exposing key metrics about health check processing and cluster health state. The stats are scoped under the connection manager and follow standard Envoy stats naming conventions. **Risk Level: Low** **Testing:** Added unit and integration tests verifying all stats counters **Docs Changes:** Added **Release Notes:** Added --------- Signed-off-by: Rohit Agrawal <rohit.agrawal@databricks.com>
- Loading branch information
Showing
7 changed files
with
227 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.