getHealthSnapshot

Returns a point-in-time snapshot of policy state for health/readiness and metrics.

Use this to build health endpoints (e.g. Kubernetes readiness probe, or /health API). When circuit breaker is configured, check PolicyHealthSnapshot.circuitBreaker?.state for OPEN; when bulkhead is configured, you can expose PolicyHealthSnapshot.bulkhead for concurrent/waiting counts.

Return

PolicyHealthSnapshot with circuit breaker and bulkhead snapshots when configured.