Solution for graphing application events metrics in real time
Question
We have an application that parses tweets and we want to see the activity in real time. We have tried several solution without success. Our main problems is that the graphing solution (example:graphite), needs a continious flow of metrics. When the db aggregates the metrics it's an average operation which is done, not a a sum.
We recently saw cube from square which would fit our requirement but it's too new.
Any alternatives?
Solution
I found the solution in the last version of graphite: http://graphite.readthedocs.org/en/latest/config-carbon.html#storage-aggregation-conf
OTHER TIPS
If I understood correctly, you cannot feed graphite in realtime, for instance as soon as you discover a new tweet?
If that's the case, it looks like you can specify a unix timestamp when updating graphite metric_path value timestamp\n
so you could pass in the time of discovery/publication/whatever, regardless of when you process it.