In an attempt to log time spent on SQL Server queries in an ASP.NET Core web application I've been using the following code, having subscribed to all ...DiagnosticListeners... in some middleware and using the ...Observable... below. ...I'm not sure this i...