stripe / veneur

A distributed, fault-tolerant pipeline for observability data
MIT License
1.73k stars 174 forks source link

Update the statsd client configuration to do in-process aggregation. #1027

Closed arnavdugar-stripe closed 1 year ago

arnavdugar-stripe commented 1 year ago

Summary

Update the statsd client configuration to do in-process aggregation.

Motivation

Currently, the statsd client sends out a UDP packet for every emitted metric, which can be resource-intensive. Doing aggregation in-process, and then emitting aggregated values should reduce the network resource usage of the binary.