ekg backend for WAI and Yesod #475

Closed
snoyberg opened this Issue Jan 6, 2013 · 5 comments

Projects

None yet

3 participants

Owner
gregwebs commented Jan 6, 2013

there is already a package with the GC part of EKG
http://hackage.haskell.org/package/gc-monitoring-wai

Owner
snoyberg commented Jan 7, 2013

@yihuang what's your opinion of gc-monitoring-wai versus ekg?

yihuang commented Jan 7, 2013

If we only concern about a gc monitering library, then gc-monitoring-wai is enough, and it's a deadly simple package with only 55 lines of code.
But ekg also provide common constructs to write custom counters and gauges, personally i don't have requirement for that, that's why i didn't create a ekg port library, but i can't speak for others.

Owner
gregwebs commented Jan 7, 2013

Probably there should be a note to yesod-ekg: if you just want gc you can use gc-monitoring-wai
The custom counter & gauges functionality is definitely desirable. However, the current setup is in memory, which is limited (you can't count things across multiple app servers, etc). But at that point maybe one should just switch to an existing tool like statsd and having ekg counters is a good stepping stone.

Owner
gregwebs commented May 6, 2013

This is a similar project: https://github.com/wmoss/StatsWeb

@snoyberg snoyberg closed this Jul 19, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment