Closed xumix closed 4 years ago
It depends on what environment you are using. It sound's like you want to use ASP.NET Core. In this case, you might want to use opentracing-contrib/csharp-netcore.
There is an example on how to add ignores here: https://github.com/opentracing-contrib/csharp-netcore/blob/master/samples/Shared/JaegerServiceCollectionExtensions.cs
@xumix Is this resolved with my answer? If yes, please close the ticket. Thanks :)
@xumix Is this resolved with my answer? If yes, please close the ticket. Thanks :)
Thanks! Looks like at the moment of opening the ticket there were no such option.
@xumix Is this resolved with my answer? If yes, please close the ticket. Thanks :)
Thanks! Looks like at the moment of opening the ticket there were no such option.
Try this. It is work for me to filter incoming requests.
services.Configure<AspNetCoreDiagnosticOptions>(options =>
{
options.Hosting.IgnorePatterns.Add(context=> context.Request.Path.Value.EndWith("api/status");
});
To filter ougoing requests u can use code from your first message.
Hi. Is there any way to configure client so that it would not report some incoming/outgoing requests? For example health checks or some service calls. Something like this: