feat(metrics): wire instrumentation through queue, handlers, middleware
This commit is contained in:
@@ -21,7 +21,7 @@ func (c *counterExec) Execute(_ context.Context, _ discovery.Job) error {
|
||||
|
||||
func TestWorker_RunsExactlyOneAtATime(t *testing.T) {
|
||||
exec := &counterExec{}
|
||||
q := updater.NewQueue(exec)
|
||||
q := updater.NewQueue(exec, nil)
|
||||
q.Start(context.Background())
|
||||
defer q.Stop()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user