Skip to content

Commit

Permalink
Downgrade prometheus/client_golang to v1.11.1
Browse files Browse the repository at this point in the history
This reverts commit d8e3f28.

---

See cilium#19425.

Extra Go metrics were added to the Prometheus client, some having
NaN values, breaking json marshaling on the server side of `cilium
metrics list`:

msg="Cilium API handler panicked" panic_message="json: unsupported
value: NaN" url=/v1/metrics/ ...

Signed-off-by: Timo Beckers <timo@isovalent.com>
  • Loading branch information
ti-mo committed Apr 27, 2022
1 parent b68fd38 commit 31dc725
Show file tree
Hide file tree
Showing 16 changed files with 297 additions and 955 deletions.
2 changes: 1 addition & 1 deletion go.mod
Expand Up @@ -58,7 +58,7 @@ require (
github.com/optiopay/kafka v0.0.0-00010101000000-000000000000
github.com/osrg/gobgp/v3 v3.1.0
github.com/pmezard/go-difflib v1.0.0
github.com/prometheus/client_golang v1.12.1
github.com/prometheus/client_golang v1.11.1
github.com/prometheus/client_model v0.2.1-0.20210607210712-147c58e9608a
github.com/prometheus/procfs v0.7.3
github.com/russross/blackfriday/v2 v2.1.0
Expand Down
4 changes: 1 addition & 3 deletions go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

This file was deleted.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 31dc725

Please sign in to comment.