monitoring: Fix rate limit monitoring
Created by: ryanslade
Keep correct resource when using WithAuthenticator
Don't iterate over map when setting collector functions. It caused us to pick one resource at random based on the order the map was iterated over and record all operations against it.
Here's a Go playground showing the issue: https://play.golang.org/p/3d5YThVmErr
Merge request reports
Activity
Please register or sign in to reply