diff --git a/README.md b/README.md index d36254fe..c856c88d 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ Fast, buffered, hierarchical stats collection in Go. ## Installation -`go get -u github.com/uber-go/tally` +`go get -u github.com/brexhq/tally` ## Abstract @@ -17,10 +17,9 @@ By default it buffers counters, gauges and histograms at a specified interval bu - Metrics: Counters, Gauges, Timers and Histograms. - Reporter: Implemented by you. Accepts aggregated values from the scope. Forwards the aggregated values to your metrics ingestion pipeline. - The reporters already available listed alphabetically are: - - `github.com/uber-go/tally/m3`: Report m3 metrics, timers are not sampled and forwarded directly. - - `github.com/uber-go/tally/multi`: Report to multiple reporters, you can multi-write metrics to other reporters simply. - - `github.com/uber-go/tally/prometheus`: Report prometheus metrics, timers by default are made summaries with an option to make them histograms instead. - - `github.com/uber-go/tally/statsd`: Report statsd metrics, no support for tags. + - `github.com/brexhq/tally/multi`: Report to multiple reporters, you can multi-write metrics to other reporters simply. + - `github.com/brexhq/tally/prometheus`: Report prometheus metrics, timers by default are made summaries with an option to make them histograms instead. + - `github.com/brexhq/tally/statsd`: Report statsd metrics, no support for tags. ### Basics @@ -59,8 +58,8 @@ Use the inbuilt statsd reporter: import ( "io" "github.com/cactus/go-statsd-client/statsd" - "github.com/uber-go/tally" - tallystatsd "github.com/uber-go/tally/statsd" + "github.com/brexhq/tally" + tallystatsd "github.com/brexhq/tally/statsd" // ... ) @@ -202,11 +201,11 @@ BenchmarkTimerReport-8 300000000 5.69 ns/op Released under the [MIT License](LICENSE). -[doc-img]: https://godoc.org/github.com/uber-go/tally?status.svg -[doc]: https://godoc.org/github.com/uber-go/tally -[ci-img]: https://travis-ci.org/uber-go/tally.svg?branch=master -[ci]: https://travis-ci.org/uber-go/tally -[cov-img]: https://coveralls.io/repos/github/uber-go/tally/badge.svg?branch=master -[cov]: https://coveralls.io/github/uber-go/tally?branch=master -[glide.lock]: https://github.com/uber-go/tally/blob/master/glide.lock -[v1]: https://github.com/uber-go/tally/milestones +[doc-img]: https://godoc.org/github.com/brexhq/tally?status.svg +[doc]: https://godoc.org/github.com/brexhq/tally +[ci-img]: https://travis-ci.org/brexhq/tally.svg?branch=master +[ci]: https://travis-ci.org/brexhq/tally +[cov-img]: https://coveralls.io/repos/github/brexhq/tally/badge.svg?branch=master +[cov]: https://coveralls.io/github/brexhq/tally?branch=master +[glide.lock]: https://github.com/brexhq/tally/blob/master/glide.lock +[v1]: https://github.com/brexhq/tally/milestones diff --git a/example/main.go b/example/main.go index 7e7c350f..4cf4ca9e 100644 --- a/example/main.go +++ b/example/main.go @@ -24,7 +24,7 @@ import ( "fmt" "time" - "github.com/uber-go/tally" + "github.com/brexhq/tally" ) type printStatsReporter struct{} diff --git a/go.mod b/go.mod index e161b2ed..db9eb627 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/uber-go/tally +module github.com/brexhq/tally go 1.14 diff --git a/instrument/call.go b/instrument/call.go index e3484a0d..25a3be7e 100644 --- a/instrument/call.go +++ b/instrument/call.go @@ -20,7 +20,7 @@ package instrument -import "github.com/uber-go/tally" +import "github.com/brexhq/tally" const ( resultType = "result_type" diff --git a/instrument/call_test.go b/instrument/call_test.go index 6942bf48..1f9d74bf 100644 --- a/instrument/call_test.go +++ b/instrument/call_test.go @@ -25,7 +25,7 @@ import ( "testing" "time" - "github.com/uber-go/tally" + "github.com/brexhq/tally" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" diff --git a/multi/reporter.go b/multi/reporter.go index f0e58e99..9dabffc4 100644 --- a/multi/reporter.go +++ b/multi/reporter.go @@ -23,7 +23,7 @@ package multi import ( "time" - "github.com/uber-go/tally" + "github.com/brexhq/tally" ) type multi struct { diff --git a/multi/reporter_test.go b/multi/reporter_test.go index 4b777de5..c80b2869 100644 --- a/multi/reporter_test.go +++ b/multi/reporter_test.go @@ -24,7 +24,7 @@ import ( "testing" "time" - "github.com/uber-go/tally" + "github.com/brexhq/tally" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" diff --git a/prometheus/example/prometheus_main.go b/prometheus/example/prometheus_main.go index 6448070e..804d519c 100644 --- a/prometheus/example/prometheus_main.go +++ b/prometheus/example/prometheus_main.go @@ -26,8 +26,8 @@ import ( "net/http" "time" - "github.com/uber-go/tally" - promreporter "github.com/uber-go/tally/prometheus" + "github.com/brexhq/tally" + promreporter "github.com/brexhq/tally/prometheus" ) func main() { diff --git a/prometheus/reporter.go b/prometheus/reporter.go index 3822c76a..95d049f7 100644 --- a/prometheus/reporter.go +++ b/prometheus/reporter.go @@ -30,8 +30,8 @@ import ( prom "github.com/prometheus/client_golang/prometheus" + "github.com/brexhq/tally" "github.com/prometheus/client_golang/prometheus/promhttp" - "github.com/uber-go/tally" ) const ( diff --git a/prometheus/reporter_test.go b/prometheus/reporter_test.go index 5ea2a69d..c769e1af 100644 --- a/prometheus/reporter_test.go +++ b/prometheus/reporter_test.go @@ -25,9 +25,9 @@ import ( "testing" "time" + "github.com/brexhq/tally" prom "github.com/prometheus/client_golang/prometheus" dto "github.com/prometheus/client_model/go" - "github.com/uber-go/tally" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" diff --git a/prometheus/sanitize.go b/prometheus/sanitize.go index 04ef0278..0310e954 100644 --- a/prometheus/sanitize.go +++ b/prometheus/sanitize.go @@ -21,7 +21,7 @@ package prometheus import ( - "github.com/uber-go/tally" + "github.com/brexhq/tally" ) var ( diff --git a/statsd/example/statsd_main.go b/statsd/example/statsd_main.go index 4413ff01..2b1c6c42 100644 --- a/statsd/example/statsd_main.go +++ b/statsd/example/statsd_main.go @@ -25,8 +25,8 @@ import ( "math/rand" "time" - "github.com/uber-go/tally" - statsdreporter "github.com/uber-go/tally/statsd" + "github.com/brexhq/tally" + statsdreporter "github.com/brexhq/tally/statsd" "github.com/cactus/go-statsd-client/statsd" ) diff --git a/statsd/reporter.go b/statsd/reporter.go index bcb4d0ac..832c91a7 100644 --- a/statsd/reporter.go +++ b/statsd/reporter.go @@ -26,7 +26,7 @@ import ( "strconv" "time" - "github.com/uber-go/tally" + "github.com/brexhq/tally" "github.com/cactus/go-statsd-client/statsd" )