Elixir client for Prometheus metrics
open sourceMITfree
Prometheus.ex is an Elixir client for Prometheus, built on the Erlang client Prometheus.erl. It defines metrics such as histograms with Elixir-friendly macros (use Prometheus.Metric). The prometheus-erl project around it has collectors and instrumenters for Ecto, Plug, Phoenix and RabbitMQ, and BEAM dashboards for Grafana.
Problems it solves
- expose Prometheus metrics from an Elixir app
- instrument a Phoenix app's request latency for Prometheus
- record custom histograms in Elixir
Features
- define and observe metrics such as histograms
- Elixir macros over Prometheus.erl
- Ecto, Plug and Phoenix instrumenters in the same project
Alternatives
The same job
These do what Prometheus.ex does.
- Prometheus.erl Prometheus client for Erlang
- Amazon Managed Service for Prometheus Serverless, Prometheus-compatible monitoring service for container metrics
- Grafana Mimir Horizontally scalable, highly available, multi-tenant long-term storage for Prometheus
- Telegraf Open source agent for collecting metrics from infrastructure, applications, and devices
- Prometheus Pushgateway Push acceptor for ephemeral and batch jobs
- VictoriaMetrics Fast, cost-effective and scalable time series database for monitoring, and long-term storage for Prometheus