prometheus_plugs v0.6.0 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()