Prometheus.io Phoenix Instrumenter
Phoenix integeration for Prometheus.ex.
Metrics
phoenix_controller_call_duration_microseconds- Whole controller pipeline execution time.
Configuration
This integartion is configured via <InstrumenterName> :prometheus app env key. Please see Prometheus.PhoenixInstrumenter module documentation for more information.
Integrations / Collectors / Instrumenters
- Ecto collector
- Plugs Instrumenter/Exporter
- Elli middleware
- Fuse plugin
- Phoenix instrumenter
- Process Info Collector
- RabbitMQ Exporter
Installation
Available in Hex, the package can be installed as:
-
Add
prometheus_phoenixto your list of dependencies inmix.exs:
```elixir
def deps do
[{:prometheus_phoenix, "~> 1.0.0-alpha4"}]
end
```-
Ensure
prometheus_phoenixis started before your application:
```elixir
def application do
[applications: [:prometheus_phoenix]]
end
```