# `Cairnloop.Web.MetricsPlug`
[🔗](https://github.com/szTheory/cairnloop/blob/main/lib/cairnloop/web/metrics_plug.ex#L1)

A plug for exposing Prometheus metrics.

If `TelemetryMetricsPrometheus.Core` is loaded, it responds with 200 and the Prometheus text payload.
If not loaded, responds with a 501 Not Implemented.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
