How to Monitor Performance of Message Consumer Applications
I have developed a background service in .NET 8.0 which is responsible for receiving messages from an Azure Service Bus queue. The Program.cs has Application Insights configured as you can see in the code snippet below.
Is it possible to see in Application Insights the average response time of my background service? In the Performance section I can only see response times from API calls.
services.AddApplicationInsightsTelemetryWorkerService(new ApplicationInsightsServiceOptions
{
ConnectionString = "InstrumentationKey=...",
EnableAdaptiveSampling = false
});
Any guidance will be much appreciated!