Skip to content

sgebbie/pony-statsd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pony StatsD

This library provides the basic mechanisms for producing StatsD telemetry from Pony programmes.

Basic Usage

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)

Demo

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

Releases

No releases published

Packages

No packages published

Languages