Fork me on GitHub
#devops
<
2019-05-01
>
Jakub Holý (HolyJak)07:05:24

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)

chrisblom20:05:16

i've used clojure-metrics like that in the past, its pretty similar to using @Timed in spring

chrisblom20:05:37

its also handy to setup your app so that you can connect JVisualVM/ Java Mission Control remotely so you can inspect live systems

chrisblom20:05:10

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

❤️ 4