An open API service indexing awesome lists of open source software.

https://github.com/lambdaclass/beam_prometheus_exporter

Add this to your release to get standard erlang metrics in prometheus/grafana
https://github.com/lambdaclass/beam_prometheus_exporter

beam-prometheus-exporter expose prometheus

Last synced: 2 days ago
JSON representation

Add this to your release to get standard erlang metrics in prometheus/grafana

Awesome Lists containing this project

README

          

# BEAM prometheus exporter

A Cowboy 2 application that just exposes the `/metrics` handler of
[prometheus-cowboy](https://github.com/deadtrickster/prometheus-cowboy).

Most of the real work is done by [prometheus.erl](https://github.com/deadtrickster/prometheus.erl/). However we wanted something easy to add quickly to our release. This projects quickly exposes BEAM metrics to prometheus.

You can use the [beam dashboards](https://github.com/deadtrickster/beam-dashboards) to graph this information in grafana.

## Usage

- Add the depedency to rebar.config

- Add the depencendy to the application resource file so it gets started with the build

- Add (optional) configuration to app environment:
```
{port, 9101}
{auth, {Username, Password}}
```