Description
Prometheus.ex is an Elixir client for Prometheus, the monitoring system. It is based on the Erlang client Prometheus.erl and lets Elixir applications define metrics and expose them so Prometheus can collect them. The README example shows a histogram that is declared in an auto-generated @on_load callback, so you do not need to call a setup function yourself, and it points to guidance on measuring durations correctly. The project lists a set of integrations and collectors. These include an Ecto collector, an Elli middleware, a Plugs instrumenter and exporter, a Phoenix instrumenter, a RabbitMQ exporter, a Fuse plugin, an extatus integration and a collector for OS process info that works on Linux only. There is also a way to report metrics from Elixir GenServers. For dashboards, the README links to a set of Beam dashboards. The package is available on Hex. To install it, add prometheus_ex to the dependencies in mix.exs, and make sure prometheus_ex is started before your application.…
Highlights
- Prometheus client for Elixir
- Histograms declared without manual setup
- Ecto, Phoenix, Plug and RabbitMQ integrations
- OS process info collector on Linux
- Available on Hex
Ratings & Reviews
No ratings yet
Be the first to rate Prometheus.ex.
People also visit
Phoenix Live Dashboard
Realtime dashboard with metrics, request logging, plus storage
Prometheus.ex FAQ
What is Prometheus.ex?
An Elixir client for the Prometheus monitoring system, based on Prometheus.erl.
How do I install it?
Add prometheus_ex to the dependencies in mix.exs and make sure it starts before your application.
Which integrations are included?
An Ecto collector, Elli middleware, Plugs instrumenter and exporter, a Phoenix instrumenter, a RabbitMQ exporter and a Fuse plugin, among others.
Do I need to set up histograms by hand?
No. The README example declares the histogram in an auto-generated @on_load callback.
Which dashboards are linked?
The README links to a set of Beam dashboards for monitoring Elixir apps.
What are the best Prometheus.ex alternatives?
Popular alternatives to Prometheus.ex include Prometheus.erl, Promster and Phoenix Live Dashboard. See all Prometheus.ex alternatives


