Fork me on GitHub
#reitit
<
2022-04-21
>
Roee Mazor08:04:34

seems to work as is.

dharrigan08:04:44

Hi! Whilst I can't speak for metrics-clojure, I do have an example of using prometheus and clj-commons/iapetos here and

🙏 1
dharrigan08:04:09

That should give you lots of metrics 🙂

dharrigan08:04:45

Perhaps that may give you some clues if you wish to use metrics-clojure 🙂 In general, it should be doable.

Roee Mazor08:04:12

yup, I just tried and it works

Roee Mazor10:04:13

does it split the metrics per endpoint? or it gives you the metrics for all the endpoints together? (metrics-clojure splits it by request type (e.g. post, get, put))

mister_m22:04:22

Does the ordering of the middleware vector that you pass to ring/router as options: {:data {:middleware [...]}} matter? https://github.com/metosin/reitit/blob/master/examples/ring-swagger/src/example/server.clj#L74. Are these order-sensitive?

mister_m03:04:46

Yes they do

mafcocinco19:04:14

yes they do!