clojure - How to get metrics for manifold bus in the context of aleph -


given bus created aleph/manifold, how can measure interesting metrics throughput, latency, number of errors , timeouts?

(manifold.bus/event-bus (fn []                             (s/stream 100 ))) 

aleph has not built-in monitoring.

you build yourself, either in handler function (maybe using atom) or using netty straight away. there :bootstrap-transform argument allows create netty channelhandler.

this should allow use existing netty performance monitoring solutions (this page may useful).


Comments

Popular posts from this blog

unix - grep command not match start of new line with another regex -

sql - calculate weighted average for each day and id based on time intervals in PostgreSQL -

Sort a complex associative array in PHP -