Prometheus.io Phoenix Instrumenter

Hex.pmBuild StatusDocumentation

Phoenix integeration for Prometheus.ex.

Metrics

Configuration

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

Integrations / Collectors / Instrumenters

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, "~> 1.0.0-alpha4"}]
end
```
  1. Ensure prometheus_phoenix is started before your application:
```elixir
def application do
  [applications: [:prometheus_phoenix]]
end
```