PrometheusPhoenix Hex.pmBuild Status

Phoenix integeration for Prometheus.erl.

Metrics

Configuration

This integartion is configured via <InstrumenterName> :prometheus app env key. Please see Prometheus.PhoenixInstrumenter module documentation for more information.

Documentation

Please find documentation on hexdocs.

Installation

Available in Hex, the package can be installed as:

  1. Add prometheus_phoenix to your list of dependencies in mix.exs:
```elixir
def deps do
  [{:prometheus_phoenix, "~> 0.0.4"}]
end
```
  1. Ensure prometheus_phoenix is started before your application:
```elixir
def application do
  [applications: [:prometheus_phoenix]]
end
```