@@ -249,11 +249,7 @@ func (jr *jReceiver) startAgent(host component.Host) error {
249
249
}
250
250
jr .agentProcessors = append (jr .agentProcessors , processor )
251
251
252
- jr .settings .Logger .Info ("Starting UDP server for Binary Thrift" ,
253
- zap .String ("kind" , "receiver" ),
254
- zap .String ("name" , "jaegerreceiver" ),
255
- zap .String ("endpoint" , jr .config .AgentBinaryThrift .Endpoint ),
256
- )
252
+ jr .settings .Logger .Info ("Starting UDP server for Binary Thrift" , zap .String ("endpoint" , jr .config .AgentBinaryThrift .Endpoint ))
257
253
}
258
254
259
255
if jr .config .AgentCompactThrift .Endpoint != "" {
@@ -275,11 +271,7 @@ func (jr *jReceiver) startAgent(host component.Host) error {
275
271
}
276
272
jr .agentProcessors = append (jr .agentProcessors , processor )
277
273
278
- jr .settings .Logger .Info ("Starting UDP server for Compact Thrift" ,
279
- zap .String ("kind" , "receiver" ),
280
- zap .String ("name" , "jaegerreceiver" ),
281
- zap .String ("endpoint" , jr .config .AgentCompactThrift .Endpoint ),
282
- )
274
+ jr .settings .Logger .Info ("Starting UDP server for Compact Thrift" , zap .String ("endpoint" , jr .config .AgentCompactThrift .Endpoint ))
283
275
}
284
276
285
277
jr .goroutines .Add (len (jr .agentProcessors ))
@@ -293,11 +285,7 @@ func (jr *jReceiver) startAgent(host component.Host) error {
293
285
if jr .config .AgentHTTPEndpoint != "" {
294
286
jr .agentServer = httpserver .NewHTTPServer (jr .config .AgentHTTPEndpoint , & notImplementedConfigManager {}, metrics .NullFactory , jr .settings .Logger )
295
287
296
- jr .settings .Logger .Info ("Starting HTTP server for Jaeger Agent" ,
297
- zap .String ("kind" , "receiver" ),
298
- zap .String ("name" , "jaegerreceiver" ),
299
- zap .String ("endpoint" , jr .config .AgentHTTPEndpoint ),
300
- )
288
+ jr .settings .Logger .Info ("Starting HTTP server for Jaeger Agent" , zap .String ("endpoint" , jr .config .AgentHTTPEndpoint ))
301
289
302
290
jr .goroutines .Add (1 )
303
291
go func () {
@@ -407,11 +395,7 @@ func (jr *jReceiver) startCollector(ctx context.Context, host component.Host) er
407
395
return err
408
396
}
409
397
410
- jr .settings .Logger .Info ("Starting HTTP server for Jaeger Collector" ,
411
- zap .String ("kind" , "receiver" ),
412
- zap .String ("name" , "jaegerreceiver" ),
413
- zap .String ("endpoint" , jr .config .HTTPServerConfig .Endpoint ),
414
- )
398
+ jr .settings .Logger .Info ("Starting HTTP server for Jaeger Collector" , zap .String ("endpoint" , jr .config .HTTPServerConfig .Endpoint ))
415
399
416
400
jr .goroutines .Add (1 )
417
401
go func () {
@@ -436,11 +420,7 @@ func (jr *jReceiver) startCollector(ctx context.Context, host component.Host) er
436
420
437
421
api_v2 .RegisterCollectorServiceServer (jr .grpc , jr )
438
422
439
- jr .settings .Logger .Info ("Starting gRPC server for Jaeger Collector" ,
440
- zap .String ("kind" , "receiver" ),
441
- zap .String ("name" , "jaegerreceiver" ),
442
- zap .String ("endpoint" , jr .config .GRPCServerConfig .NetAddr .Endpoint ),
443
- )
423
+ jr .settings .Logger .Info ("Starting gRPC server for Jaeger Collector" , zap .String ("endpoint" , jr .config .GRPCServerConfig .NetAddr .Endpoint ))
444
424
445
425
jr .goroutines .Add (1 )
446
426
go func () {
0 commit comments