Reputation: 2477
I want to show my users some statistics such as hits/second on Google App Engine. I started to roll my own:
Each minute:
I then realised that this is non-trivial and there must be a library to do it, however I can't find one that works for me. I looked briefly at rrd4j and JRobin but I'm not sure they they're usable on Google App Engine without quite a lot of rewriting. Does anyone have any more ideas?
Upvotes: 5
Views: 1034
Reputation: 7318
I seem to remember Twitter commons has what you need, but I don't know if they could be easily portable to GAE: https://github.com/twitter/commons
Upvotes: 1
Reputation: 2477
Since no-one seems to have an answer for me, I'm going to assume that there's no common library for doing this and I'll have to write one. I'll open source it and link from here if it feels like good code.
Upvotes: 1
Reputation: 2459
Perhaps ProdEagle works for you. I think they do pretty much exactly what you want, and I belive they also have logic for handling data that is deleted from memcache without making a big hole in your graph.
Upvotes: 2
Reputation: 13556
Consider using Mixpanel. You can submit arbitrary events and then extract aggregate information from an API... or just use the provided charts & graphs.
Upvotes: 1
Reputation: 301
Try new technique mentioned in this post http://googleappengine.blogspot.com/2012/07/analyzing-your-google-app-engine-logs.html.
It requires some additional work but it's worth trying. I'm using Mache (java framework) to ingest appengine logs into BigQuery and BigQuery API to query for results. Now pick a fancy javascript charts library and impress your users. Very powerful, flexible and scalable solution.
Upvotes: 2
Reputation: 1195
You could probably use Google Analytics. You'd just need to copy and paste some javascript into your templates.
Upvotes: 0