This project is no longer maintained by Turbine Labs, which has shut down.
The stats project provides a standard Stats interface to a variety of underlying backends, along with a means to configure it from command line flags.
- Go 1.10.3 or later (previous versions may work, but we don't build or test against them)
The stats project depends on these packages:
The tests depend on our test package, and on gomock. It should always be safe to use HEAD of all master branches of Turbine Labs open source projects together, or to vendor them with the same git tag.
gomock-based MockStats and MockFromFlags are provided.
Additionally, we vendor github.com/rs/xstats. This should be considered an opaque implementation detail, see Vendoring for more discussion.
go get -u github.com/turbinelabs/stats/...
mkdir -p $GOPATH/src/turbinelabs
git clone https://github.com/turbinelabs/stats.git > $GOPATH/src/turbinelabs/stats
go test github.com/turbinelabs/stats/...
Please see Versioning of Turbine Labs Open Source Projects.
Patches accepted! Please see Contributing to Turbine Labs Open Source Projects.
All Turbine Labs open-sourced projects are released with a Contributor Code of Conduct. By participating in our projects you agree to abide by its terms, which will be carefully enforced.