Skip to content

Commit

Permalink
Update go-metrics module to armon/go-metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
godcong committed Nov 12, 2024
1 parent 0ec7440 commit 23b4862
Show file tree
Hide file tree
Showing 8 changed files with 2 additions and 10 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ 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/hashicorp/go-metrics?status.svg)](https://godoc.org/github.com/hashicorp/go-metrics)
Current API: [![GoDoc](https://godoc.org/github.com/armon/go-metrics?status.svg)](https://godoc.org/github.com/armon/go-metrics)

Sinks
-----
Expand Down
1 change: 0 additions & 1 deletion circonus/circonus.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import (
"strings"

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: 0 additions & 2 deletions circonus/circonus_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ import (
"net/http/httptest"
"strings"
"testing"

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

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

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

// DogStatsdSink provides a MetricSink that can be used
Expand Down
2 changes: 0 additions & 2 deletions datadog/dogstatsd_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ import (
"net"
"reflect"
"testing"

"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/hashicorp/go-metrics
module github.com/armon/go-metrics

go 1.12

Expand Down
1 change: 0 additions & 1 deletion prometheus/prometheus.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import (
"sync"
"time"

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

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

0 comments on commit 23b4862

Please sign in to comment.