Skip to content

Commit

Permalink
Switch to palantir/go-metrics (#150)
Browse files Browse the repository at this point in the history
  • Loading branch information
bmoylan authored Mar 11, 2019
1 parent ddb09eb commit 7fd8d6e
Show file tree
Hide file tree
Showing 35 changed files with 13 additions and 39 deletions.
15 changes: 7 additions & 8 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

29 changes: 2 additions & 27 deletions Gopkg.toml
Original file line number Diff line number Diff line change
@@ -1,31 +1,6 @@

# Gopkg.toml example
#
# Refer to https://github.com/golang/dep/blob/master/docs/Gopkg.toml.md
# for detailed Gopkg.toml documentation.
#
# required = ["github.com/user/thing/cmd/thing"]
# ignored = ["github.com/user/project/pkgX", "bitbucket.org/user/project/pkgA/pkgY"]
#
# [[constraint]]
# name = "github.com/user/project"
# version = "1.0.0"
#
# [[constraint]]
# name = "github.com/user/project2"
# branch = "dev"
# source = "github.com/myfork/project2"
#
# [[override]]
# name = "github.com/x/y"
# version = "2.4.0"

# Adding this while https://github.com/rcrowley/go-metrics/pull/254 is open
# to get the desired histogram rescaling behaviour.
[[constraint]]
name = "github.com/rcrowley/go-metrics"
source = "github.com/ashrayjain/go-metrics"
branch = "aj/rescale-on-reads"
name = "github.com/palantir/go-metrics"
version = "1.0.0"

[prune]
go-tests = true
Expand Down
2 changes: 1 addition & 1 deletion metrics/context_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"context"
"testing"

"github.com/rcrowley/go-metrics"
"github.com/palantir/go-metrics"
"github.com/stretchr/testify/assert"
)

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

"github.com/rcrowley/go-metrics"
"github.com/palantir/go-metrics"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion metrics/value.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
package metrics

import (
"github.com/rcrowley/go-metrics"
"github.com/palantir/go-metrics"
)

type MetricVal interface {
Expand Down
2 changes: 1 addition & 1 deletion metrics/value_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"testing"
"time"

metricspkg "github.com/rcrowley/go-metrics"
metricspkg "github.com/palantir/go-metrics"
"github.com/stretchr/testify/assert"

"github.com/palantir/pkg/metrics"
Expand Down

0 comments on commit 7fd8d6e

Please sign in to comment.