class MetricsController

Exposes Prometheus metrics in the text exposition format on GET /metrics.

Deliberately a bare ActionController::Metal rather than ApplicationController: the latter forces authentication, Pundit and browser checks. Metrics are read directly by the Prometheus PodMonitor inside the cluster, which cannot authenticate. Metal also skips ActionController instrumentation, so the periodic scrape does not pollute the HTTP request metrics.