Upgrade to using hashicorp/go-metrics@v0.5.4 (#24856)

* Upgrade to using hashicorp/go-metrics@v0.5.4

This also requires bumping the dependencies for:

* memberlist
* serf
* raft
* raft-boltdb
* (and indirectly hashicorp/mdns due to the memberlist or serf update)

Unlike some other HashiCorp products, Nomads root module is currently expected to be consumed by others. This means that it needs to be treated more like our libraries and upgrade to hashicorp/go-metrics by utilizing its compat packages. This allows those importing the root module to control the metrics module used via build tags.
This commit is contained in:
Matt Keeler
2025-01-31 15:22:00 -05:00
committed by GitHub
parent 3d6de7fa6b
commit 833e240597
78 changed files with 190 additions and 156 deletions

View File

@@ -23,7 +23,7 @@ ifndef BIN
BIN := $(GOPATH)/bin
endif
GO_TAGS := $(GO_TAGS)
GO_TAGS := hashicorpmetrics $(GO_TAGS)
ifeq ($(CI),true)
GO_TAGS := codegen_generated $(GO_TAGS)