On 11/24/12 7:00 AM, Conan wrote:
Instead of log parsing, I wrote an in-house plugin to collect runtime stats (e.g. req count, traffic) for each channel (map) weeks ago. It doesn't care about bandwidth, but simply records total transferred bytes for each channel and exposes the stats in json with a http interface. (Actually it's a combination of simple global plugin and official stats_over_http plugin). Then you could calculate the bandwidth yourself by retrieving the traffic every 10s, 5min or whatever you want with external program. If someone thought it useful, I'll try to put it somewhere if possible.
Yeah, please create a Jira and attach your code to it (or link to another repo). Make sure it's under an appropriate license (e.g. Apache License).
-- Leif
