pedestal

dangercoder 2020-11-30T07:08:08.270Z

How do you handle metrics with pedestal & prometheus? I need to expose a metrics endpoint and I am using Prometheus, which scrapes a /metrics endpoint. I found this issue: https://github.com/pedestal/pedestal/issues/568

dangercoder 2020-11-30T12:27:59.270500Z

The current implementation for pedestal looks extenable, great news 🙂 https://github.com/pedestal/pedestal/blob/master/log/src/io/pedestal/log.clj

dangercoder 2020-11-30T07:27:57.270300Z

One way to do it is to use the micrometer-java-lib and expose an /metrics endpoint

dangercoder 2020-11-30T12:27:59.270500Z

The current implementation for pedestal looks extenable, great news 🙂 https://github.com/pedestal/pedestal/blob/master/log/src/io/pedestal/log.clj

2020-11-30T15:14:44.271100Z

@souenzzo by using vec you inadvertently switched routing syntax. FWIW, the docs do http://pedestal.io/reference/routing-quick-reference#_routes the relation between routing syntax and data structure type.