Skip to content

[Feature] Observability endpoints for the UC server: /livez, /readyz, /metrics #1905

Closed

Description

@shba24

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

  1. added a commit that references this issue on Oct 6, 2026
    d8823fc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions