@@ -276,6 +276,8 @@ func StartWorker(ctx context.Context, a *cli.App, cfg config.Configuration, inte
276
276
a .Licenser ,
277
277
featureFlag ,
278
278
net .LoggerOption (lo ),
279
+ net .TracerOption (a .TracerBackend ),
280
+ net .DetailedTraceOption (true ),
279
281
net .ProxyOption (cfg .Server .HTTP .HttpProxy ),
280
282
net .AllowListOption (cfg .Dispatcher .AllowList ),
281
283
net .BlockListOption (cfg .Dispatcher .BlockList ),
@@ -364,8 +366,8 @@ func StartWorker(ctx context.Context, a *cli.App, cfg config.Configuration, inte
364
366
attemptRepo ,
365
367
circuitBreakerManager ,
366
368
featureFlag ,
367
- a .TracerBackend ,
368
- ), newTelemetry )
369
+ a .TracerBackend ) ,
370
+ newTelemetry )
369
371
370
372
consumer .RegisterHandlers (convoy .CreateEventProcessor , task .ProcessEventCreation (
371
373
defaultCh ,
@@ -375,7 +377,10 @@ func StartWorker(ctx context.Context, a *cli.App, cfg config.Configuration, inte
375
377
eventDeliveryRepo ,
376
378
a .Queue ,
377
379
subRepo ,
378
- deviceRepo , a .Licenser ), newTelemetry )
380
+ deviceRepo ,
381
+ a .Licenser ,
382
+ a .TracerBackend ),
383
+ newTelemetry )
379
384
380
385
consumer .RegisterHandlers (convoy .RetryEventProcessor , task .ProcessRetryEventDelivery (
381
386
endpointRepo ,
@@ -388,8 +393,8 @@ func StartWorker(ctx context.Context, a *cli.App, cfg config.Configuration, inte
388
393
attemptRepo ,
389
394
circuitBreakerManager ,
390
395
featureFlag ,
391
- a .TracerBackend ,
392
- ), newTelemetry )
396
+ a .TracerBackend ) ,
397
+ newTelemetry )
393
398
394
399
consumer .RegisterHandlers (convoy .CreateBroadcastEventProcessor , task .ProcessBroadcastEventCreation (
395
400
broadcastCh ,
@@ -400,7 +405,9 @@ func StartWorker(ctx context.Context, a *cli.App, cfg config.Configuration, inte
400
405
a .Queue ,
401
406
subRepo ,
402
407
deviceRepo ,
403
- a .Licenser ), newTelemetry )
408
+ a .Licenser ,
409
+ a .TracerBackend ),
410
+ newTelemetry )
404
411
405
412
consumer .RegisterHandlers (convoy .CreateDynamicEventProcessor , task .ProcessDynamicEventCreation (
406
413
dynamicCh ,
@@ -410,7 +417,10 @@ func StartWorker(ctx context.Context, a *cli.App, cfg config.Configuration, inte
410
417
eventDeliveryRepo ,
411
418
a .Queue ,
412
419
subRepo ,
413
- deviceRepo , a .Licenser ), newTelemetry )
420
+ deviceRepo ,
421
+ a .Licenser ,
422
+ a .TracerBackend ),
423
+ newTelemetry )
414
424
415
425
if a .Licenser .RetentionPolicy () {
416
426
consumer .RegisterHandlers (convoy .RetentionPolicies , task .RetentionPolicies (rd , ret ), nil )
@@ -425,7 +435,10 @@ func StartWorker(ctx context.Context, a *cli.App, cfg config.Configuration, inte
425
435
eventDeliveryRepo ,
426
436
a .Queue ,
427
437
subRepo ,
428
- deviceRepo , a .Licenser ), newTelemetry )
438
+ deviceRepo ,
439
+ a .Licenser ,
440
+ a .TracerBackend ),
441
+ newTelemetry )
429
442
430
443
consumer .RegisterHandlers (convoy .MonitorTwitterSources , task .MonitorTwitterSources (a .DB , a .Queue , rd ), nil )
431
444
0 commit comments