Skip to content

Commit 6436235

Browse files
authored
Updates armon/hashicorp metrics library (#7029)
* Updates armon/hashicorp metrics library Signed-off-by: Friedrich Gonzalez <[email protected]> * Updates go mod vendor Signed-off-by: Friedrich Gonzalez <[email protected]> --------- Signed-off-by: Friedrich Gonzalez <[email protected]>
1 parent 577102d commit 6436235

File tree

20 files changed

+1993
-10
lines changed

20 files changed

+1993
-10
lines changed

go.mod

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ require (
66
github.com/Masterminds/squirrel v1.5.4
77
github.com/alecthomas/units v0.0.0-20240927000941-0f3dac36c52b
88
github.com/alicebob/miniredis/v2 v2.35.0
9-
github.com/armon/go-metrics v0.4.1
109
github.com/aws/aws-sdk-go v1.55.7 // indirect
1110
github.com/bradfitz/gomemcache v0.0.0-20250403215159-8d39553ac7cf
1211
github.com/cortexproject/promqlsmith v0.0.0-20250407233056-90db95b1a4e4
@@ -28,8 +27,9 @@ require (
2827
github.com/grpc-ecosystem/go-grpc-middleware v1.4.0
2928
github.com/hashicorp/consul/api v1.32.0
3029
github.com/hashicorp/go-cleanhttp v0.5.2
30+
github.com/hashicorp/go-metrics v0.5.4
3131
github.com/hashicorp/go-sockaddr v1.0.7
32-
github.com/hashicorp/memberlist v0.5.1
32+
github.com/hashicorp/memberlist v0.5.3
3333
github.com/json-iterator/go v1.1.12
3434
github.com/klauspost/compress v1.18.0
3535
github.com/lib/pq v1.10.9
@@ -115,6 +115,7 @@ require (
115115
github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/resourcemapping v0.52.0 // indirect
116116
github.com/alecthomas/kingpin/v2 v2.4.0 // indirect
117117
github.com/andybalholm/brotli v1.1.1 // indirect
118+
github.com/armon/go-metrics v0.4.1 // indirect
118119
github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2 // indirect
119120
github.com/aws/aws-sdk-go-v2/credentials v1.17.68 // indirect
120121
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.16.30 // indirect

go.sum

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1327,6 +1327,8 @@ github.com/hashicorp/go-hclog v1.6.3/go.mod h1:W4Qnvbt70Wk/zYJryRzDRU/4r0kIg0PVH
13271327
github.com/hashicorp/go-immutable-radix v1.0.0/go.mod h1:0y9vanUI8NX6FsYoO3zeMjhV/C5i9g4Q3DwcSNZ4P60=
13281328
github.com/hashicorp/go-immutable-radix v1.3.1 h1:DKHmCUm2hRBK510BaiZlwvpD40f8bJFeZnpfm2KLowc=
13291329
github.com/hashicorp/go-immutable-radix v1.3.1/go.mod h1:0y9vanUI8NX6FsYoO3zeMjhV/C5i9g4Q3DwcSNZ4P60=
1330+
github.com/hashicorp/go-metrics v0.5.4 h1:8mmPiIJkTPPEbAiV97IxdAGNdRdaWwVap1BU6elejKY=
1331+
github.com/hashicorp/go-metrics v0.5.4/go.mod h1:CG5yz4NZ/AI/aQt9Ucm/vdBnbh7fvmv4lxZ350i+QQI=
13301332
github.com/hashicorp/go-msgpack v0.5.3/go.mod h1:ahLV/dePpqEmjfWmKiqvPkv/twdG7iPBM1vqhUKIvfM=
13311333
github.com/hashicorp/go-msgpack v0.5.5 h1:i9R9JSrqIz0QVLz3sz+i3YJdT7TTSLcfLLzJi9aZTuI=
13321334
github.com/hashicorp/go-msgpack v0.5.5/go.mod h1:ahLV/dePpqEmjfWmKiqvPkv/twdG7iPBM1vqhUKIvfM=

pkg/ring/kv/memberlist/metrics.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ package memberlist
33
import (
44
"time"
55

6-
armonmetrics "github.com/armon/go-metrics"
7-
armonprometheus "github.com/armon/go-metrics/prometheus"
86
"github.com/go-kit/log/level"
7+
armonmetrics "github.com/hashicorp/go-metrics"
8+
armonprometheus "github.com/hashicorp/go-metrics/prometheus"
99
"github.com/prometheus/client_golang/prometheus"
1010
"github.com/prometheus/client_golang/prometheus/promauto"
1111

vendor/github.com/hashicorp/go-metrics/.gitignore

Lines changed: 26 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/hashicorp/go-metrics/.travis.yml

Lines changed: 16 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/hashicorp/go-metrics/LICENSE

Lines changed: 18 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/hashicorp/go-metrics/README.md

Lines changed: 131 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/hashicorp/go-metrics/const_js.go

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/hashicorp/go-metrics/const_unix.go

Lines changed: 16 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/hashicorp/go-metrics/const_windows.go

Lines changed: 16 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)