Hi, what do people use to measure execution times of selected functions (or all in ns)? Clojure-metrics and manually adding and updating gauges for each function of interest? Thanks!
(In our Java Spring app we use Micrometer and annotate methods with @Timed
)
Relevant : https://clojureverse.org/t/how-do-you-monitor-your-application-performance/3213/8 => New Relic or DIY with metrics/...
i've used clojure-metrics like that in the past, its pretty similar to using @Timed in spring
its also handy to setup your app so that you can connect JVisualVM/ Java Mission Control remotely so you can inspect live systems
btw I prefer Prometheus for metrics and alerting, its pretty simple to setup and has a grafana plugin. Riemann does not keep historic data which makes it less useful IMO