public static IApplicationBuilder UseJaegerSharp(this IApplicationBuilder builder, JaegerOptions jaegerOptions) { return(builder.UseMiddleware <JaegerSharpMiddleware>(jaegerOptions)); }
public JaegerSharpMiddleware(RequestDelegate next, ILogger <JaegerSharpMiddleware> logger, JaegerOptions jaegerOptions = null) { _next = next; _jaegerOptions = jaegerOptions; _logger = logger; }