Skip to content

Commit

Permalink
Bump github.com/prometheus/common from 0.61.0 to 0.62.0 in the promet…
Browse files Browse the repository at this point in the history
…heus group (#525)

* Bump github.com/prometheus/common in the prometheus group

Bumps the prometheus group with 1 update: [github.com/prometheus/common](https://github.com/prometheus/common).


Updates `github.com/prometheus/common` from 0.61.0 to 0.62.0
- [Release notes](https://github.com/prometheus/common/releases)
- [Changelog](https://github.com/prometheus/common/blob/main/RELEASE.md)
- [Commits](prometheus/common@v0.61.0...v0.62.0)

---
updated-dependencies:
- dependency-name: github.com/prometheus/common
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: prometheus
...

Signed-off-by: dependabot[bot] <[email protected]>

* update test

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: bakito <[email protected]>
  • Loading branch information
dependabot[bot] and bakito authored Jan 20, 2025
1 parent 10e24ce commit c9e5c1a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .toolbox.mk
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ TB_MOCKGEN ?= $(TB_LOCALBIN)/mockgen
TB_SEMVER ?= $(TB_LOCALBIN)/semver

## Tool Versions
TB_GOLANGCI_LINT_VERSION ?= v1.61.0
TB_GORELEASER_VERSION ?= v2.3.2
TB_GOLANGCI_LINT_VERSION ?= v1.63.4
TB_GORELEASER_VERSION ?= v2.5.1
TB_HELM_DOCS_VERSION ?= v1.14.2
TB_MOCKGEN_VERSION ?= v0.5.0
TB_SEMVER_VERSION ?= v1.1.3
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ require (
github.com/onsi/ginkgo/v2 v2.22.2
github.com/onsi/gomega v1.36.2
github.com/prometheus/client_golang v1.20.5
github.com/prometheus/common v0.61.0
github.com/prometheus/common v0.62.0
github.com/robfig/cron/v3 v3.0.1
go.uber.org/mock v0.5.0
go.uber.org/zap v1.27.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,8 @@ github.com/prometheus/client_golang v1.20.5 h1:cxppBPuYhUnsO6yo/aoRol4L7q7UFfdm+
github.com/prometheus/client_golang v1.20.5/go.mod h1:PIEt8X02hGcP8JWbeHyeZ53Y/jReSnHgO035n//V5WE=
github.com/prometheus/client_model v0.6.1 h1:ZKSh/rekM+n3CeS952MLRAdFwIKqeY8b62p8ais2e9E=
github.com/prometheus/client_model v0.6.1/go.mod h1:OrxVMOVHjw3lKMa8+x6HeMGkHMQyHDk9E3jmP2AmGiY=
github.com/prometheus/common v0.61.0 h1:3gv/GThfX0cV2lpO7gkTUwZru38mxevy90Bj8YFSRQQ=
github.com/prometheus/common v0.61.0/go.mod h1:zr29OCN/2BsJRaFwG8QOBr41D6kkchKbpeNH7pAjb/s=
github.com/prometheus/common v0.62.0 h1:xasJaQlnWAeyHdUBeGjXmutelfJHWMRr+Fg4QszZ2Io=
github.com/prometheus/common v0.62.0/go.mod h1:vyBcEuLSvWos9B1+CyL7JZ2up+uFzXhkqml0W5zIY1I=
github.com/prometheus/procfs v0.15.1 h1:YagwOFzUgYfKKHX6Dr+sHT7km/hxC76UB0learggepc=
github.com/prometheus/procfs v0.15.1/go.mod h1:fB45yRUv8NstnjriLhBQLuOUt+WW4BsoGhij/e3PBqk=
github.com/robfig/cron/v3 v3.0.1 h1:WdRxkvbJztn8LMz/QEvLN5sBU+xKpSqwwUO1Pjr4qDs=
Expand Down
6 changes: 0 additions & 6 deletions pkg/metrics/types_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,6 @@ var _ = Describe("types", func() {
err := results.Validate(cfg)
Ω(err).ShouldNot(HaveOccurred())
})
It("should be invalid if prefix is not a valid prometheus metric name", func() {
results["b b b"] = []metrics.Result{}
err := results.Validate(cfg)
Ω(err).Should(HaveOccurred())
Ω(err.Error()).Should(HaveSuffix("is not a valid metric name"))
})
It("should be invalid if results is empty", func() {
delete(results, "aaa")
err := results.Validate(cfg)
Expand Down

0 comments on commit c9e5c1a

Please sign in to comment.