Skip to content

alecuyer/statsd

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

statsd

Build Status Code Coverage Documentation

Introduction

statsd is a simple and efficient Statsd client.

See the benchmark for a comparison with other Go StatsD clients.

Changes from the original version

The sole change from the original project from alexcesaro, is that we do not test if the server is listening, when creating a UDP client.

Features

  • Supports all StatsD metrics: counter, gauge, timing and set
  • Supports InfluxDB and Datadog tags
  • Fast and GC-friendly: all functions for sending metrics do not allocate
  • Efficient: metrics are buffered by default
  • Simple and clean API
  • 100% test coverage
  • Versioned API using gopkg.in

Documentation

https://godoc.org/gopkg.in/alexcesaro/statsd.v2

Download

go get gopkg.in/alexcesaro/statsd.v2

Example

See the examples in the documentation.

License

MIT

Contribute

Do you have any question the documentation does not answer? Is there a use case that you feel is common and is not well-addressed by the current API?

If so you are more than welcome to ask questions in the thread on golang-nuts or open an issue or send a pull-request here on Github.

About

An efficient Statsd Go client.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • Go 100.0%