You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue seems to be here , the collectorID is not present in the globalRegistry so it always returns false if _, exists := r.collectorsByID[collectorID]; !exists { r.mtx.RUnlock() return false }
go_version: 1.14 & 1.17
The text was updated successfully, but these errors were encountered:
While trying to run the example for grouping registries , unregister always returns false.
client_golang/prometheus/registry_test.go
Line 1278 in 3f8bd73
The issue seems to be here , the collectorID is not present in the globalRegistry so it always returns false
if _, exists := r.collectorsByID[collectorID]; !exists { r.mtx.RUnlock() return false }
go_version: 1.14 & 1.17
The text was updated successfully, but these errors were encountered: