Skip to content

Latest commit

 

History

History
48 lines (24 loc) · 1.21 KB

elli_prometheus.md

File metadata and controls

48 lines (24 loc) · 1.21 KB

Module elli_prometheus

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

Function Index

handle/2Handle requests to /metrics and ignore all others.
handle_event/3

Function Details

handle/2

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/3

handle_event(Event, Args, Config) -> any()