Skip to content

Commit 9cd5400

Browse files
dependabot[bot]Per Goncalves da Silva
andauthored
🌱 Bump github.com/prometheus/client_golang from 1.23.0 to 1.23.2 (#3649)
* 🌱 Bump github.com/prometheus/client_golang Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.23.0 to 1.23.2. - [Release notes](https://github.com/prometheus/client_golang/releases) - [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md) - [Commits](prometheus/client_golang@v1.23.0...v1.23.2) --- updated-dependencies: - dependency-name: github.com/prometheus/client_golang dependency-version: 1.23.2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> * Fix metrics e2e Signed-off-by: Per Goncalves da Silva <[email protected]> --------- Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: Per Goncalves da Silva <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Per Goncalves da Silva <[email protected]>
1 parent 6b7665e commit 9cd5400

File tree

8 files changed

+12
-9
lines changed

8 files changed

+12
-9
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ require (
2626
github.com/operator-framework/operator-registry v1.57.0
2727
github.com/otiai10/copy v1.14.1
2828
github.com/pkg/errors v0.9.1
29-
github.com/prometheus/client_golang v1.23.0
29+
github.com/prometheus/client_golang v1.23.2
3030
github.com/prometheus/client_model v0.6.2
3131
github.com/prometheus/common v0.66.1
3232
github.com/sirupsen/logrus v1.9.3

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1868,8 +1868,8 @@ github.com/prashantv/gostub v1.1.0 h1:BTyx3RfQjRHnUWaGF9oQos79AlQ5k8WNktv7VGvVH4
18681868
github.com/prashantv/gostub v1.1.0/go.mod h1:A5zLQHz7ieHGG7is6LLXLz7I8+3LZzsrV0P1IAHhP5U=
18691869
github.com/proglottis/gpgme v0.1.4 h1:3nE7YNA70o2aLjcg63tXMOhPD7bplfE5CBdV+hLAm2M=
18701870
github.com/proglottis/gpgme v0.1.4/go.mod h1:5LoXMgpE4bttgwwdv9bLs/vwqv3qV7F4glEEZ7mRKrM=
1871-
github.com/prometheus/client_golang v1.23.0 h1:ust4zpdl9r4trLY/gSjlm07PuiBq2ynaXXlptpfy8Uc=
1872-
github.com/prometheus/client_golang v1.23.0/go.mod h1:i/o0R9ByOnHX0McrTMTyhYvKE4haaf2mW08I+jGAjEE=
1871+
github.com/prometheus/client_golang v1.23.2 h1:Je96obch5RDVy3FDMndoUsjAhG5Edi49h0RJWRi/o0o=
1872+
github.com/prometheus/client_golang v1.23.2/go.mod h1:Tb1a6LWHB3/SPIzCoaDXI4I8UHKeFTEQ1YCr+0Gyqmg=
18731873
github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA=
18741874
github.com/prometheus/client_model v0.2.0/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA=
18751875
github.com/prometheus/client_model v0.3.0/go.mod h1:LDGWKZIo7rky3hgvBe+caln+Dr3dPggB5dvjtD7w9+w=

test/e2e/metrics_e2e_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ import (
1414
. "github.com/onsi/gomega"
1515
io_prometheus_client "github.com/prometheus/client_model/go"
1616
"github.com/prometheus/common/expfmt"
17+
"github.com/prometheus/common/model"
1718
appsv1 "k8s.io/api/apps/v1"
1819
corev1 "k8s.io/api/core/v1"
1920
apiextensionsv1 "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1"
@@ -552,7 +553,7 @@ func getMetricsFromPod(client operatorclient.ClientInterface, pod *corev1.Pod) [
552553
if err != nil {
553554
return err
554555
}
555-
var p expfmt.TextParser
556+
p := expfmt.NewTextParser(model.UTF8Validation)
556557
mfs, err = p.TextToMetricFamilies(bytes.NewReader(raw))
557558
if err != nil {
558559
return err

vendor/github.com/prometheus/client_golang/prometheus/desc.go

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/prometheus/client_golang/prometheus/internal/go_runtime_metrics.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/prometheus/client_golang/prometheus/labels.go

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/prometheus/client_golang/prometheus/testutil/testutil.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/modules.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -590,7 +590,7 @@ github.com/pkg/errors
590590
# github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2
591591
## explicit
592592
github.com/pmezard/go-difflib/difflib
593-
# github.com/prometheus/client_golang v1.23.0
593+
# github.com/prometheus/client_golang v1.23.2
594594
## explicit; go 1.23.0
595595
github.com/prometheus/client_golang/internal/github.com/golang/gddo/httputil
596596
github.com/prometheus/client_golang/internal/github.com/golang/gddo/httputil/header

0 commit comments

Comments
 (0)