knutin / elli

Simple, robust and performant Erlang web server
MIT License
663 stars 79 forks source link

Refer to elli_prometheus in README and add example #107

Closed mbucc closed 7 years ago

mbucc commented 8 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

mbucc commented 8 years ago

Is elli_lib the canonical repo now?

mbucc commented 7 years ago

https://github.com/knutin/elli/blob/master/src/elli_middleware.erl has a nice comment up top explaining exactly what I asked here.

Closing.