diff --git a/cmd/serf/command/agent/command.go b/cmd/serf/command/agent/command.go index 3feff1e2c..ecf2de621 100644 --- a/cmd/serf/command/agent/command.go +++ b/cmd/serf/command/agent/command.go @@ -16,7 +16,7 @@ import ( "syscall" "time" - "github.com/armon/go-metrics" + "github.com/hashicorp/go-metrics" gsyslog "github.com/hashicorp/go-syslog" "github.com/hashicorp/logutils" "github.com/hashicorp/memberlist" diff --git a/cmd/serf/command/agent/invoke.go b/cmd/serf/command/agent/invoke.go index 8a4dbea0a..83f1031e9 100644 --- a/cmd/serf/command/agent/invoke.go +++ b/cmd/serf/command/agent/invoke.go @@ -15,7 +15,7 @@ import ( "time" "github.com/armon/circbuf" - "github.com/armon/go-metrics" + "github.com/hashicorp/go-metrics" "github.com/hashicorp/serf/serf" ) diff --git a/cmd/serf/command/agent/ipc.go b/cmd/serf/command/agent/ipc.go index c4a532d59..8fac6c6fb 100644 --- a/cmd/serf/command/agent/ipc.go +++ b/cmd/serf/command/agent/ipc.go @@ -37,7 +37,7 @@ import ( "sync/atomic" "time" - "github.com/armon/go-metrics" + "github.com/hashicorp/go-metrics" "github.com/hashicorp/go-msgpack/codec" "github.com/hashicorp/logutils" "github.com/hashicorp/serf/coordinate" diff --git a/coordinate/client.go b/coordinate/client.go index d4404a06d..9eff32de9 100644 --- a/coordinate/client.go +++ b/coordinate/client.go @@ -10,7 +10,7 @@ import ( "sync" "time" - "github.com/armon/go-metrics" + "github.com/hashicorp/go-metrics" ) // Client manages the estimated network coordinate for a given node, and adjusts diff --git a/coordinate/config.go b/coordinate/config.go index b6526953e..10793affa 100644 --- a/coordinate/config.go +++ b/coordinate/config.go @@ -4,7 +4,7 @@ package coordinate import ( - "github.com/armon/go-metrics" + "github.com/hashicorp/go-metrics" ) // Config is used to set the parameters of the Vivaldi-based coordinate mapping diff --git a/go.mod b/go.mod index 458403775..33f66e006 100644 --- a/go.mod +++ b/go.mod @@ -4,16 +4,16 @@ go 1.12 require ( github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e - github.com/armon/go-metrics v0.4.1 github.com/armon/go-radix v1.0.0 // indirect github.com/fatih/color v1.9.0 // indirect + github.com/hashicorp/go-metrics v0.5.0 github.com/hashicorp/go-msgpack v0.5.3 github.com/hashicorp/go-multierror v1.1.0 // indirect github.com/hashicorp/go-syslog v1.0.0 github.com/hashicorp/go-uuid v1.0.1 // indirect github.com/hashicorp/logutils v1.0.0 github.com/hashicorp/mdns v1.0.4 - github.com/hashicorp/memberlist v0.5.0 + github.com/hashicorp/memberlist v0.5.1-0.20230608165251-fd8262b9f680 github.com/mattn/go-colorable v0.1.6 // indirect github.com/mitchellh/cli v1.1.5 github.com/mitchellh/mapstructure v1.5.0 diff --git a/go.sum b/go.sum index eb8f9ef7b..05d29211a 100644 --- a/go.sum +++ b/go.sum @@ -11,9 +11,6 @@ github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRF github.com/alecthomas/units v0.0.0-20190717042225-c3de453c63f4/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e h1:QEF07wC0T1rKkctt1RINW/+RMTVmiwxETico2l3gxJA= github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e/go.mod h1:3U/XgcO3hCbHZ8TKRvWD2dDTCfh9M9ya+I9JpbB7O8o= -github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da/go.mod h1:Q73ZrmVTwzkszR9V5SSuryQ31EELlFMUz1kKyl939pY= -github.com/armon/go-metrics v0.4.1 h1:hR91U9KYmb6bLBYLQjyM+3j+rcd/UhE+G78SFnF8gJA= -github.com/armon/go-metrics v0.4.1/go.mod h1:E6amYzXo6aW1tqzoZGT755KkbgrJsSdpwZ+3JqfkOG4= github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8= github.com/armon/go-radix v1.0.0 h1:F4z6KzEeeQIMeLFa97iZU6vupzoecKdU5TX24SNppXI= github.com/armon/go-radix v1.0.0/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8= @@ -53,6 +50,8 @@ github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brv github.com/hashicorp/go-cleanhttp v0.5.0/go.mod h1:JpRdi6/HCYpAwUzNwuwqhbovhLtngrth3wmdIIUrZ80= github.com/hashicorp/go-immutable-radix v1.0.0 h1:AKDB1HM5PWEA7i4nhcpwOrO2byshxBjXVn/J/3+z5/0= github.com/hashicorp/go-immutable-radix v1.0.0/go.mod h1:0y9vanUI8NX6FsYoO3zeMjhV/C5i9g4Q3DwcSNZ4P60= +github.com/hashicorp/go-metrics v0.5.0 h1:Hy4VqTCxU5XDWAfgJ2uey0ToDJ4saOS0doXZR0H/JhE= +github.com/hashicorp/go-metrics v0.5.0/go.mod h1:KEjodfebIOuBYSAe/bHTm+HChmKSxAOXPBieMLYozDE= github.com/hashicorp/go-msgpack v0.5.3 h1:zKjpN5BK/P5lMYrLmBHdBULWbJ0XpYR+7NGzqkZzoD4= github.com/hashicorp/go-msgpack v0.5.3/go.mod h1:ahLV/dePpqEmjfWmKiqvPkv/twdG7iPBM1vqhUKIvfM= github.com/hashicorp/go-multierror v1.0.0/go.mod h1:dHtQlpGsu+cZNNAkkCN/P3hoUDHhCYQXV3UM06sGGrk= @@ -72,8 +71,8 @@ github.com/hashicorp/logutils v1.0.0 h1:dLEQVugN8vlakKOUE3ihGLTZJRB4j+M2cdTm/ORI github.com/hashicorp/logutils v1.0.0/go.mod h1:QIAnNjmIWmVIIkWDTG1z5v++HQmx9WQRO+LraFDTW64= github.com/hashicorp/mdns v1.0.4 h1:sY0CMhFmjIPDMlTB+HfymFHCaYLhgifZ0QhjaYKD/UQ= github.com/hashicorp/mdns v1.0.4/go.mod h1:mtBihi+LeNXGtG8L9dX59gAEa12BDtBQSp4v/YAJqrc= -github.com/hashicorp/memberlist v0.5.0 h1:EtYPN8DpAURiapus508I4n9CzHs2W+8NZGbmmR/prTM= -github.com/hashicorp/memberlist v0.5.0/go.mod h1:yvyXLpo0QaGE59Y7hDTsTzDD25JYBZ4mHgHUZ8lrOI0= +github.com/hashicorp/memberlist v0.5.1-0.20230608165251-fd8262b9f680 h1:3Nz+YiBEfMW5DcKIDVQuB5qccocjCe74xLmULXhZhUs= +github.com/hashicorp/memberlist v0.5.1-0.20230608165251-fd8262b9f680/go.mod h1:OR5WdPML5nS0IdtBaRLllTP3hl/kTFIM5oIMU+N5gEY= github.com/huandu/xstrings v1.3.1/go.mod h1:y5/lhBue+AyNmUVz9RLU9xbLR0o4KIIExikq4ovT0aE= github.com/huandu/xstrings v1.3.2 h1:L18LIDzqlW6xN2rEkpdV8+oL/IXWJ1APd+vsdYy4Wdw= github.com/huandu/xstrings v1.3.2/go.mod h1:y5/lhBue+AyNmUVz9RLU9xbLR0o4KIIExikq4ovT0aE= @@ -115,7 +114,6 @@ github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJ github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= github.com/modern-go/reflect2 v1.0.1/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= -github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c/go.mod h1:lzWF7FIEvWOWxwDKqyGYQf6ZUaNfKdP144TG7ZOy1lc= github.com/pascaldekloe/goe v0.1.0 h1:cBOtyMzM9HTpWjXfbbunk26uA6nG3a8n06Wieeh0MwY= github.com/pascaldekloe/goe v0.1.0/go.mod h1:lzWF7FIEvWOWxwDKqyGYQf6ZUaNfKdP144TG7ZOy1lc= github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= diff --git a/serf/config.go b/serf/config.go index 2a4fb7649..03ae85d0f 100644 --- a/serf/config.go +++ b/serf/config.go @@ -9,7 +9,7 @@ import ( "os" "time" - "github.com/armon/go-metrics" + "github.com/hashicorp/go-metrics" "github.com/hashicorp/memberlist" ) diff --git a/serf/delegate.go b/serf/delegate.go index 6555f5a26..06daa0135 100644 --- a/serf/delegate.go +++ b/serf/delegate.go @@ -7,7 +7,7 @@ import ( "bytes" "fmt" - "github.com/armon/go-metrics" + "github.com/hashicorp/go-metrics" "github.com/hashicorp/go-msgpack/codec" "github.com/hashicorp/memberlist" ) diff --git a/serf/ping_delegate.go b/serf/ping_delegate.go index 78a34f742..a299fe716 100644 --- a/serf/ping_delegate.go +++ b/serf/ping_delegate.go @@ -7,7 +7,7 @@ import ( "bytes" "time" - "github.com/armon/go-metrics" + "github.com/hashicorp/go-metrics" "github.com/hashicorp/go-msgpack/codec" "github.com/hashicorp/memberlist" "github.com/hashicorp/serf/coordinate" diff --git a/serf/serf.go b/serf/serf.go index 96f1d0a09..4a89e6ccd 100644 --- a/serf/serf.go +++ b/serf/serf.go @@ -19,7 +19,7 @@ import ( "sync/atomic" "time" - "github.com/armon/go-metrics" + "github.com/hashicorp/go-metrics" "github.com/hashicorp/go-msgpack/codec" "github.com/hashicorp/memberlist" "github.com/hashicorp/serf/coordinate" diff --git a/serf/snapshot.go b/serf/snapshot.go index 28bb668e6..c94d85d00 100644 --- a/serf/snapshot.go +++ b/serf/snapshot.go @@ -14,7 +14,7 @@ import ( "strings" "time" - "github.com/armon/go-metrics" + "github.com/hashicorp/go-metrics" ) /*