Skip to content

Commit

Permalink
Merge pull request #143 from Tazer/fix/package-name
Browse files Browse the repository at this point in the history
fix: package name and other moved repos
  • Loading branch information
analogue authored Dec 20, 2022
2 parents aef1608 + 4cdfd17 commit 8cabd9e
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 11 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@ go-metrics
This library provides a `metrics` package which can be used to instrument code,
expose application metrics, and profile runtime performance in a flexible manner.

Current API: [![GoDoc](https://godoc.org/github.com/armon/go-metrics?status.svg)](https://godoc.org/github.com/armon/go-metrics)
Current API: [![GoDoc](https://godoc.org/github.com/hashicorp/go-metrics?status.svg)](https://godoc.org/github.com/hashicorp/go-metrics)

Sinks
-----

The `metrics` package makes use of a `MetricSink` interface to support delivery
to any type of backend. Currently the following sinks are provided:

* StatsiteSink : Sinks to a [statsite](https://github.com/armon/statsite/) instance (TCP)
* StatsdSink: Sinks to a [StatsD](https://github.com/etsy/statsd/) / statsite instance (UDP)
* StatsiteSink : Sinks to a [statsite](https://github.com/statsite/statsite/) instance (TCP)
* StatsdSink: Sinks to a [StatsD](https://github.com/statsd/statsd/) / statsite instance (UDP)
* PrometheusSink: Sinks to a [Prometheus](http://prometheus.io/) metrics endpoint (exposed via HTTP for scrapes)
* InmemSink : Provides in-memory aggregation, can be used to export stats
* FanoutSink : Sinks to multiple sinks. Enables writing to multiple statsite instances for example.
Expand Down Expand Up @@ -88,4 +88,4 @@ When a signal comes in, output like the following will be dumped to stderr:
[2014-01-28 14:57:33.04 -0800 PST][G] 'foo': 42.000
[2014-01-28 14:57:33.04 -0800 PST][P] 'bar': 30.000
[2014-01-28 14:57:33.04 -0800 PST][C] 'baz': Count: 3 Min: 1.000 Mean: 41.000 Max: 80.000 Stddev: 39.509
[2014-01-28 14:57:33.04 -0800 PST][S] 'method.wow': Count: 3 Min: 22.000 Mean: 54.667 Max: 100.000 Stddev: 40.513
[2014-01-28 14:57:33.04 -0800 PST][S] 'method.wow': Count: 3 Min: 22.000 Mean: 54.667 Max: 100.000 Stddev: 40.513
2 changes: 1 addition & 1 deletion circonus/circonus.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ package circonus
import (
"strings"

"github.com/armon/go-metrics"
cgm "github.com/circonus-labs/circonus-gometrics"
"github.com/hashicorp/go-metrics"
)

// CirconusSink provides an interface to forward metrics to Circonus with
Expand Down
2 changes: 1 addition & 1 deletion circonus/circonus_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"strings"
"testing"

"github.com/armon/go-metrics"
"github.com/hashicorp/go-metrics"
)

func TestNewCirconusSink(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion datadog/dogstatsd.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"strings"

"github.com/DataDog/datadog-go/statsd"
"github.com/armon/go-metrics"
"github.com/hashicorp/go-metrics"
)

// DogStatsdSink provides a MetricSink that can be used
Expand Down
2 changes: 1 addition & 1 deletion datadog/dogstatsd_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"reflect"
"testing"

"github.com/armon/go-metrics"
"github.com/hashicorp/go-metrics"
)

var EmptyTags []metrics.Label
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/armon/go-metrics
module github.com/hashicorp/go-metrics

go 1.12

Expand Down
2 changes: 1 addition & 1 deletion prometheus/prometheus.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"sync"
"time"

"github.com/armon/go-metrics"
"github.com/hashicorp/go-metrics"
"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/client_golang/prometheus/push"
)
Expand Down
2 changes: 1 addition & 1 deletion prometheus/prometheus_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
"github.com/golang/protobuf/proto"
dto "github.com/prometheus/client_model/go"

"github.com/armon/go-metrics"
"github.com/hashicorp/go-metrics"
"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/common/expfmt"
)
Expand Down

0 comments on commit 8cabd9e

Please sign in to comment.