Home

Awesome

Prometheus.io Phoenix Instrumenter

Hex.pm Hex.pm Build Status Documentation

Phoenix integration for Prometheus.ex.

Metrics

Metrics implemented for the following built-in events:

Live endpoint

https://slackinex.herokuapp.com/metrics

Configuration

This integration 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:

    def deps do
      [{:prometheus_phoenix, "~> 1.3.0"}]
    end
    
  2. Ensure prometheus_phoenix is started before your application:

    def application do
      [applications: [:prometheus_phoenix]]
    end