smira / go-statsd

Go statsd client library with zero allocation overhead, great performance and reconnects
MIT License
110 stars 18 forks source link

Implement support for statsd tags #6

Closed smira closed 6 years ago

smira commented 6 years ago

This implements both InfluxDB and Datadog-style tags. Even with tags go-statsd still preservers zero-allocation quality.

Tags could be added to any metric, in either InfluxDB or Datadog formats.

Fixes #2

codecov[bot] commented 6 years ago

Codecov Report

Merging #6 into master will increase coverage by 3.47%. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master       #6      +/-   ##
==========================================
+ Coverage   83.69%   87.16%   +3.47%     
==========================================
  Files           4        5       +1     
  Lines         233      296      +63     
==========================================
+ Hits          195      258      +63     
  Misses         36       36              
  Partials        2        2
Impacted Files Coverage Δ
client.go 100% <100%> (ø) :arrow_up:
options.go 50% <100%> (+10%) :arrow_up:
tags.go 100% <100%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 408e199...7a36500. Read the comment docs.