You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Feature] Observability endpoints for the UC server: /livez, /readyz, /metrics #1905
Is your feature request related to a problem? Please describe.
The Unity Catalog OSS server currently exposes no operational observability surface: there are no health/liveness/readiness probes and no metrics endpoint. This makes it hard to run the server production-ready under an orchestrator (Kubernetes cannot make restart/routing decisions) and there is no way for Prometheus to scrape server or JVM metrics for monitoring and alerting.
Describe the solution you would like
Add three standard, unauthenticated endpoints on the server, built on Armeria/Micrometer built-ins (no new heavy dependencies beyond micrometer-registry-prometheus):
GET /livez — liveness; always 200 while serving, never touches the DB.
GET /readyz — readiness; 200 when the DB is reachable, 503 otherwise, via a cached check refreshed off the request event loop (fails closed on startup; flips to 503 during graceful shutdown so load balancers drain).
GET /metrics — Prometheus text exposition: JVM/system metrics, Armeria server metrics, per-endpoint HTTP request metrics, and Unity Catalog domain metrics (starting with an exemplar uc.tables.created counter).
The endpoints are unauthenticated by design (so orchestrators/scrapers can reach them) and rely on network policy; separate probe-port isolation is out of scope for a first version.
Additional context
Design follows the "UC OSS: Health & Metrics Endpoints" strawman. Implemented with Armeria HealthCheckService for the probes and a Micrometer PrometheusMeterRegistry + MetricCollectingService for /metrics. Happy to open the PR against this issue.
Activity
[Server] Add health and metrics endpoints (/livez, /readyz, /metrics) (…