Home

Awesome

statsd-zig

Basic DogStatsD UDP/UDS server supporting gauges and counters and sending these metrics to Datadog.

Getting started

With UDP

With UDS

Memory usage

I've developed a custom memory allocator measuring how much memory is allocated while processing the metrics (see measure_allocator.zig).

Using this allocator, the memory is allocated, used, and forgotten for a while. When the total amount of allocated memory reaches a certain size, it is completely freed.

This provides two benefits:

Author

Rémy 'remeh' Mathieu

License

This side-project is not endorsed in any way by Datadog.

MIT