Elli middleware for collecting stats via Prometheus.
Copyright (c) 2016-2020 elli-lib team
Version: 0.2.0
Behaviours: elli_handler
.
Authors: Eric Bailey, Ilya Khaprov.
References* Prometheus
handle/2 | Handle requests to /metrics and ignore all others. |
handle_event/3 |
handle(Req, Config) -> any()
Handle requests to /metrics
and ignore all others.
To do
* Describe format.
- Add links to Prometheus and Prometheus.erl docs.
handle_event(Event, Args, Config) -> any()