add names for workqueues to gather controller latency/depth metrics

This commit is contained in:
deads2k
2016-08-22 14:15:45 -04:00
parent 0f8869d308
commit 4317173d3f
13 changed files with 15 additions and 15 deletions

View File

@@ -143,7 +143,7 @@ func newReplicationManager(eventRecorder record.EventRecorder, podInformer frame
},
burstReplicas: burstReplicas,
expectations: controller.NewUIDTrackingControllerExpectations(controller.NewControllerExpectations()),
queue: workqueue.NewRateLimitingQueue(workqueue.DefaultControllerRateLimiter()),
queue: workqueue.NewNamedRateLimitingQueue(workqueue.DefaultControllerRateLimiter(), "replicationmanager"),
garbageCollectorEnabled: garbageCollectorEnabled,
}