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 23b4862 commit 9f1f7b4
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 0 deletions.
2 changes: 2 additions & 0 deletions circonus/circonus.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ import (
"strings"

cgm "github.com/circonus-labs/circonus-gometrics"

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

// CirconusSink provides an interface to forward metrics to Circonus with
Expand Down
2 changes: 2 additions & 0 deletions circonus/circonus_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ import (
"net/http/httptest"
"strings"
"testing"

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

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

"github.com/DataDog/datadog-go/statsd"

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

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

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

var EmptyTags []metrics.Label
Expand Down
2 changes: 2 additions & 0 deletions prometheus/prometheus.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ import (

"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/client_golang/prometheus/push"

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

var (
Expand Down
2 changes: 2 additions & 0 deletions prometheus/prometheus_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ import (

"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/common/expfmt"

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

const (
Expand Down

0 comments on commit 9f1f7b4

Please sign in to comment.