Closed Falco20019 closed 4 years ago
@yurishkuro As #118 is solved now, I would like to finally trigger this change.
you may need to squash all the commits to fix the DCO
I squash and merge them using admin rights, so I don’t care about DCO upfront. I just make sure that I care about the warning and have it in the squashed :)
I will integrate your suggestions and merge it later today. Thanks again for the great input!
Which problem is this PR solving?
Short description of the changes
This is a breaking change in a couple of aspects.
Configuration.SenderConfiguration.DefaultSenderResolver
,RemoteReporter.Builder.Build()
will result inNoopSender
instead ofUdpSender
Jaeger
NuGET package will resolve correctlyThis solution is similar to how it was solved in Java.
Things taken into account
I tried to avoid having to
Configuration.SenderConfiguration.DefaultSenderResolver
by using reflection. This works for .NET Framework 4.7 and .NET Core 2.1, but did not work with ASP.NET Core 2.1. The main problem is, that ASP.NET Core did not include the assembly in the AppDomain since it was not called directly from code.Another option would have been to use something like a
Jaeger.Initialize()
method that could be offered by the regularJaeger
package, but focusing on just a central default seemed like the most straight-forward and cleaner solution.