Closed elonmallin closed 3 years ago
@elonmallin Please add the following line before calling Configuration.FromIConfiguration
:
Configuration.SenderConfiguration.DefaultSenderResolver = new SenderResolver(loggerFactory)
.RegisterSenderFactory<ThriftSenderFactory>();
On more information about why this was changed, have a look at the main README or https://github.com/jaegertracing/jaeger-client-csharp/blob/master/src/Jaeger.Core/Senders/README.md#notice.
Thanks @Falco20019 that works! Guess I missed that page when searching the repo for NoopSender, was trying to dig a bit in the code instead xP Cheers
Requirement
We're using Jaeger and set it up with
Configuration.FromIConfiguration
which worked in v0.3.6 but updating to v0.4.2 we just get theNoopSender
. Is it not possible anymore to use it with the below config to get theUdpSender
?According to this old issue it seems like it should be possible: https://github.com/jaegertracing/jaeger-client-csharp/issues/116#issuecomment-510174145
We use the Configuration class so thought it would work? I'm not really finding any info on this except explicitly setting the sender which we don't really want since the
Configuration.FromIConfiguration
gave us all the goodies of considering the configuration we pass in for free. We're using .NET Core (3.1) which the comment mentions has this problem.Problem
The
Configuration.FromIConfiguration
seems to just give us aNoopSender
even when the config we pass in is supposed to setup theUdpSender
.