A cpp client for the Etsy StatsD server.
$ make && make install
$ make test
#include <statsd.hpp>
int main(int argc, char const *argv[])
{
statsd::open("127.0.0.1", 8125);
statsd::timing("test.site.homepage.load", 1500);
statsd::increment("test.server.http.error.404");
statsd::decrement("test.server.http.error.404");
statsd::count("test.site.auth.success", 4);
statsd::gauge("a.gauge.node", 8);
statsd::set("a.graphite.set", 12);
statsd::close();
return 0;
}
see the statsd.hpp
statsd-cpp is licensed under the MIT license.