Method IsTracingEnabled(IRouteContext?)
Whether spans are opened for context: its RouteEngineOptions.EnableTelemetry.
true without a context — a component used on its own traces as before.
public static bool IsTracingEnabled(this IRouteContext? context)