in console.js the caching that is used for counters and timers sometimes creates a confusion during the development. I also faced an issue where the timers occupied a lot of memory and statsd eventually crashed. This commit now has a configurable caching in console.js. By default caching for counters in enabled while I disable timers caching.
using metrics timers in console.js instead of the metricsCache
configurable caching in console.js
this looks like a development debug statement, can you remove it?
can you add those changes to the stock exampleConfig.js file please? Also please only add it to the example comments and not to the actual configuration. We want to keep this part as simple as possible.
adding mrtazz review comments
adding http_socketio backend to statsd
styling the html backend page
Hey @vireshas we decided to pull caching from the backend all together so no need to configure it any longer.
Also for the http (socket-io) backend there already exists one : https://github.com/Chatham/statsd-socket.io
I have personally had a few people ask me for an example on how to use it. Can i suggest that you submit the html file and any related updates to that repo so that other people can benefit from the example html interface.
Or if its different enough from the current socket.io backend, feel free to create your own backend, and we'll add it to the supported backends list in the docs.