Does Sentry automatic “Performance Queries” in Asp.Net work?

I’m trying to capture the SQL Server queries in my web app’s backend with Sentry. It’s a very large and old application so switching to Core or manually adding Spans isn’t an option but based on the documentation it sounds like it should automatically capture them by adding a few options in the Sentry Init. I’ve followed the documentation closely and experimented with several other options that supposedly aren’t needed like AddDiagnosticSourceIntegration() all with no luck.

Is this a Sentry feature that isn’t supported in older Asp.Net 4.8 apps? If it is supported, does anyone know where a good working example might exist?

  • As this is more about capturing SQL Server queries than web requests, does the application you’re instrumenting use Entity Framework or does it use something else to communicate with SQL Server?

    – 

Leave a Comment