Graphite: Support batching
Graphite reporter now supports batching as a default (same as DataDog reporter).
Batching means that instead of dispatching a metric immediately, it will be stored in a buffer and flushed when either the buffer exceeds its maximum size or on a predefined interval.
Configuration available:
- Disable batching
- Change max buffer size
- Change flush interval
Please see README for additional information.
To make sure metrics are flushed on deployment of your app or on restart, please make sure to call close
function on the reporter on application shutdown