This library provides the basic mechanisms for producing StatsD telemetry from Pony programmes.
let statsd: StatsD = StatsD.create(env.root as AmbientAuth, "statsd.host")?
let gauge: Gauge = statsd.gauge("test.gauge.bucket")
gauge.inc(5)
…
gauge.inc(2)
…
gauge.set(6)
When the library is compiled along with the unit tests then there is a simple embedded demo.
See: _tests.pony :: StatsDDemo
and run as:
./statsd demo