Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 727 Bytes

README.md

File metadata and controls

26 lines (17 loc) · 727 Bytes

statsd

A StatsD client for Go.

Example

import (
    "github.com/cv-library/statsd"
)

func main() {
    statsd.Address = "localhost:8125"

    timer := statsd.Timer()

    // Do stuff

    // Note: Lack of support for sampling yet.
    timer.send("metric.name", "metric.name2")
}

License

Released under the MIT license. See LICENSE.md file for details.