background
following the release of swift-metrics, this pitch is for a compatible library that uses the statsd protocol, and can be used to integrate applications with observability solutions that support statsd
such as:
architecture
a statsd
client that uses swift-nio to establish a UDP connection to the statsd server
metrics types are mapped as following:
- Counter -> Counter
- Gauge -> Gauge
- Recorder -> Histogram
- Timer -> Timer
code: GitHub - tomerd/swift-statsd-client: metrics backend for swift-metrics that uses the statsd protocol