-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
collected metric process_network_receive_bytes_total counter with unregistered descriptor #1584
Comments
Encountered the same issue when upgrading to |
Looked a bit deeper, we use client_golang/prometheus/registry.go Line 85 in 989a6d0
|
we are hitting this same issue Got 500 status code2 error(s) occurred:
we use also |
I can confirm that the issue is NewPedanticRegistry. I tested here elisasre/go-common#348 with and without it. I think #1555 is the breaking PR |
We are also using the |
cc @bwplotka @ArthurSens @kakkoyun version v1.20.0 contains breaking change which was not documented at all. Currently the version v1.20.0 is broken if someone uses linux and NewPedanticRegistry. |
Thanks! We will fix promptly and make sure we have the process to not allow that in future. |
Traveling, but quickly checking: Bug is that Describe method does not have those new desc items: client_golang/prometheus/process_collector.go Line 135 in 989a6d0
To ensure we don't regress more, let's add tests against pedantic registry for all native collectors. Cc @ArthurSens |
I've created #1587 with 2 commits:
Personally, I cannot reproduce this error locally and I've added the first commit hoping that at least the CI would catch it. To my surprise, even in CI the test pass 🤔 Could someone who can reproduce the bug, try the branch from #1587 ? |
@ArthurSens it does fix the issue. Commit elisasre/go-common@827df1e contains v1.20.0 (the CI will fail). And then trying PR #1587 elisasre/go-common@a3ab72b the PR builds are going through |
Could you clarify what OS is being used in your CI? https://github.com/elisasre/go-common/blob/76b822e4600d7b6b9a8dec22b1eb62f34fd1ced1/.github/workflows/default.yaml#L14 |
@ArthurSens ubuntu 20.04 and amd64 |
That's strange, we're also running ubuntu. Ideally we should find a failing test before saying that this fix the issue for sure 😭 |
Working for me in v1.20.1 🎉 |
I just updated the library version from v1.19.1 -> v1.20.0.
I now can't access my service's metrics any more.
Might be in connection with #1555 ?
Is anyone else seeing this?
Revert to v1.19.1 fixed it for me.
The text was updated successfully, but these errors were encountered: