Metrics endpoint
Schema Registry Proxy serves Prometheus metrics on a dedicated port:cURL example
OTEL_PROMETHEUS_PORT (default 9464).
Setting OTEL_METRICS_ENABLED to false only stops Schema Registry Proxy from pushing metrics to the OTLP collector. The Prometheus endpoint stays available.
Request metrics
Schema Registry Proxy records these metrics for every request it handles.
The histogram is exported as
schema_registry_request_duration_seconds_bucket (with a le label), schema_registry_request_duration_seconds_sum and schema_registry_request_duration_seconds_count.
The endpoint label holds the matched route pattern, for example /subjects/{subject}/versions, not the concrete URL. This keeps the number of label values small.
Authentication and license metrics
Alert on
basic_auth_credentials_reload_total{result="failure"}. A failure means the credentials file on disk and the credentials in force have drifted apart.
Alert on license_expiry_timestamp_seconds before a restart would fail. For example, this expression is true when the license expires in less than 30 days: