-
Notifications
You must be signed in to change notification settings - Fork 531
bugfix: register workqueue metrics in controller-runtime firstly #1382
bugfix: register workqueue metrics in controller-runtime firstly #1382
Conversation
Signed-off-by: Bruce Ma <[email protected]>
@mars1024 Could you share an example in this PR of what you are getting solved by importing this package ? What were we missing before ? |
Yeah, let's start with the precondition that kubefed is exposing the metrics registry defined in So we must make sure that the metrics collectors defined in
From the specification of golang, we will know that So this PR is trying to import |
In our product environments, we are using |
/assign @hectorj2f |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: hectorj2f, mars1024 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What this PR does / why we need it:
Ref to #1372 , because of importing race as #1372 (comment), workqueue metrics do not work now.
And this PR try to use an import with highest order to fix this.
Which issue(s) this PR fixes:
Fixes #1372
Signed-off-by: Bruce Ma [email protected]