An unofficial package to add AWS service calls to MiniProfiler traces.
Although I work on the AWS .NET team this is not an AWS project. This is a personal side project so Do not report issues with this library on AWS repositories.
To enable MiniProfiler in an ASP.NET Core application follow this tutorial https://miniprofiler.com/dotnet/AspDotNetCore
To add AWS service calls to the trace add a call to AddAWSSDK
after calling AddMiniProfiler
public void ConfigureServices(IServiceCollection services)
{
...
services
.AddMiniProfiler()
.AddAwsSdk();
...
}
For applications that are not using Microsoft.Extensions.DependencyInjection to enable MiniProfiler the Register.RegisterWithSdk()
is used.
NormDev.MiniProfiler.AWS.Register.RegisterWithSdk()