prometheus_plugs v0.4.1 API Reference

Modules

Plug for collecting http metrics

Exports metrics in text format via configurable endpoint:

plug Plug.PrometheusExporter, [path: "/prom/metrics"]  # default is /metrics