Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions internal/metrics/register.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,8 @@ func (r *Runner) newOptions() (registerOptions, error) {
newOpts.pullOptions.disable = true
} else {
newOpts.pullOptions.disable = false
restclient.RegisterClientMetricsWithoutRequestTotal(metricsserver.Registry)
// Workqueue metrics are already registered in controller-runtime. Use another registry.
reg := prometheus.NewRegistry()
restclient.RegisterClientMetricsWithoutRequestTotal(reg)
workqueue.RegisterMetrics(reg)
newOpts.pullOptions.registry = metricsserver.Registry
newOpts.pullOptions.gatherer = prometheus.Gatherers{
Expand Down
1 change: 1 addition & 0 deletions release-notes/current.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ new features: |
Added Gateway Listeners to the xDS listener metadata.

bug fixes: |
Fixed an issue that controller panic when reloading configuration.

# Enhancements that improve performance.
performance improvements: |
Expand Down