Closed mbucc closed 7 years ago
https://github.com/elli-lib/elli_prometheus
If you could also add an example how how to configure OPTS passed to elli so you have both a middleware and "normal" callback handler, that would be great. It's not obvious to me how to pass multiple callback handlers in the options.
Thanks!
P.S. Blogged about elli here: http://markbucciarelli.com/2016-11-09_a_simple_erlang_application.html
Is elli_lib the canonical repo now?
https://github.com/knutin/elli/blob/master/src/elli_middleware.erl has a nice comment up top explaining exactly what I asked here.
Closing.
https://github.com/elli-lib/elli_prometheus
If you could also add an example how how to configure OPTS passed to elli so you have both a middleware and "normal" callback handler, that would be great. It's not obvious to me how to pass multiple callback handlers in the options.
Thanks!
P.S. Blogged about elli here: http://markbucciarelli.com/2016-11-09_a_simple_erlang_application.html