prometheus-phoenix
                                
                                
                                
                                    prometheus-phoenix copied to clipboard
                            
                            
                            
                        Prometheus.io Phoenix instrumenter
Prometheus.io Phoenix Instrumenter
Phoenix integration for Prometheus.ex.
- IRC: #elixir-lang on Freenode;
 - Slack: #prometheus channel - Browser or App(slack://elixir-lang.slack.com/messages/prometheus).
 
Metrics
Metrics implemented for the following built-in events:
phoenix_controller_callphoenix_controller_call_duration_<duration_unit>;
phoenix_controller_renderphoenix_controller_render_duration_<duration_unit>;
phoenix_channel_joinphoenix_channel_join_duration_<duration_unit>;
phoenix_channel_receivephoenix_channel_receive_duration_<duration_unit>.
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
- 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:def deps do [{:prometheus_phoenix, "~> 1.3.0"}] end - 
Ensure
prometheus_phoenixis started before your application:def application do [applications: [:prometheus_phoenix]] end