An efficient Statsd Go client.
Перейти к файлу
Steven Hartland 9a056b66e9
fix: Close relative gauges (#4)
Close relative gauges which was creating corrupt statsd protocol.

Also:
* Remove TestUDPNotListening which is broken since a51b81.
* Fix lint warnings.
* Enabled lint checks in travis.
* Enabled 1.x and master only for travis as older versions fail to
  detect go mod support properly.
2020-02-23 20:06:02 +00:00
.travis.yml fix: Close relative gauges (#4) 2020-02-23 20:06:02 +00:00
CHANGELOG.md Added a changelog 2016-03-20 19:06:50 +01:00
LICENSE Initial commit 2015-10-27 20:24:51 +01:00
README.md Remove old references from README.md 2018-04-13 11:53:16 +01:00
conn.go fix: Close relative gauges (#4) 2020-02-23 20:06:02 +00:00
doc.go Improved the documentation 2016-03-20 19:06:27 +01:00
examples_test.go Change references to multiplay project 2018-04-13 11:53:16 +01:00
options.go Fixed linters warnings 2016-03-20 18:12:36 +01:00
statsd.go Add GaugeRelative to support Telegraf statsd implementation 2017-01-30 17:11:36 +00:00
statsd_test.go fix: Close relative gauges (#4) 2020-02-23 20:06:02 +00:00

README.md

statsd

Introduction

statsd is a simple and efficient Statsd client.

This is a fork of a dead statsd client project with various impprovements.

Features

  • Supports all StatsD metrics: counter, gauge (absolute and relative), 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

Download

go get github.com/multiplay/statsd

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 or open an issue or send a pull-request here on Github.