I'm thinking that having a server to self-report its memory usage would be handy.
I have read the section on memory profiling in the manual, but there are a few drawbacks with this:
So that's my question, how can one track the different sets of memory in a running program compiled by GHC?
If you integrate ekg into your server, you can access nice graphs and statistics about the runtime and even your own custom metrics via HTTP:
(Image linked from Oliver Charles’ blogpost on ekg)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With