I have an ASP .NET Core project integrated with Sentry:
public static IHostBuilder CreateHostBuilder(string[] args) =>
Host.CreateDefaultBuilder(args)
.ConfigureWebHostDefaults(webBuilder =>
{
webBuilder.UseStartup<Startup>();
webBuilder.UseSentry(options =>
{
options.Dsn = Environment.GetEnvironmentVariable("SENTRY_DSN");
options.Debug = true;
});
});
}
I can see all exceptions being logged as Issues in Sentry. I cannot see however, any transactions logged, even if I make plenty of REST API calls.
According to Sentry's documentation, this setup should be sufficient.