Skip to content

An efficient Statsd Go client.

License

Notifications You must be signed in to change notification settings

astromechza/go-statsd

 
 

Repository files navigation

go-statsd

Build Status Code Coverage Documentation

Forked from https://github.com/alexcesaro/statsd on 2017-12-23 to add some missing bits. Mostly just fixing some of the filed issues, and merging some PR code. The upstream project is non-maintained and can be considered dead. For my own sake, I removed some of the gopkg branch anchors to reduce complexity.

Introduction

statsd is a simple and efficient Statsd 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
  • No 3rd-party dependencies
  • An annoying hyphen in the name
  • Options for lazy connection and regular DNS/connection re-resolving

Usage

The basic usage can be very simple, see example_test. The documentation illustrates the more complex API methods and options.

Documentation

https://godoc.org/github.com/AstromechZA/go-statsd

Download

$ go get github.com/AstromechZA/go-statsd

License

MIT

About

An efficient Statsd Go client.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%