prometheus_plugs v0.8.1 API Reference

Modules

Plug for collecting http metrics

Exports metrics in text format via configurable endpoint:

# on app startup (e.g. supervisor setup)
Plug.PrometheusExporter.setup()