Skip to content

Graphite: Support batching

Compare
Choose a tag to compare
@ysa23 ysa23 released this 03 Feb 09:43
· 98 commits to master since this release
417d711

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