tagged [azure-application-insights]

How does the hard-coded ApplicationInsightsResourceId impact the gathering of AI data from resources in varying production levels?

How does the hard-coded ApplicationInsightsResourceId impact the gathering of AI data from resources in varying production levels? I have an application to which I am trying to add in Azure Applicatio...

20 Jun at 09:12

Using Application Insights with Unit Tests?

Using Application Insights with Unit Tests? I have an MVC web app, and I'm using Simple Injector for DI. Almost all my code is covered by unit tests. However, now that I've added some telemetry calls ...

Log4Net with Application Insights

Log4Net with Application Insights I am trying to configure my azure asp.net website to send log4net traces to Azure Application Insights. I can see in my azure console page views etc, hence I know tha...

Using Application Insights with ILoggerFactory

Using Application Insights with ILoggerFactory I'm trying to log exceptions to Application Insights. I succeeded in doing this by calling `TelemetryClient.TrackException` directly. However, I would li...

Profiler BLOCKED_TIME in IdentityServer4/Newtonsoft.Json

Profiler BLOCKED_TIME in IdentityServer4/Newtonsoft.Json I'm having issues that the /connect/introspect endpoint of my IdentityServer is sometimes really slow (10 seconds for one call). As you can see...

Unable to resolve service for type 'Microsoft.Extensions.Logging.ILogger' while attempting to activate 'Controller'

Unable to resolve service for type 'Microsoft.Extensions.Logging.ILogger' while attempting to activate 'Controller' I am trying to implement Application Insights logging. Here is my startup Under conf...

What's the difference between APPINSIGHTS_INSTRUMENTATIONKEY configured by Azure and ApplicationInsights:InstrumentationKey?

What's the difference between APPINSIGHTS_INSTRUMENTATIONKEY configured by Azure and ApplicationInsights:InstrumentationKey? There is some confusion in the Application Insight configuration. It can be...

How do I enable Application Insights server telemetry on WebApi project that uses OWIN?

How do I enable Application Insights server telemetry on WebApi project that uses OWIN? We are having a bunch of problems (read long response times) with a couple of projects in production and wanted ...

Could not load file or assembly 'Microsoft.AspNet.TelemetryCorrelation' or one of its dependencies. The system cannot find the file specified

Could not load file or assembly 'Microsoft.AspNet.TelemetryCorrelation' or one of its dependencies. The system cannot find the file specified I have two web applications under IIS 7 (local Windows 10 ...

NLog with Application Insights - logging exceptions as an exception instead of a trace

NLog with Application Insights - logging exceptions as an exception instead of a trace Currently I am using a .NET Core Web Application built using Service Stack. Logging is currently provided by usin...

How to properly set up Azure Functions logging, live metrics, and app insights with dependency injection

How to properly set up Azure Functions logging, live metrics, and app insights with dependency injection About a month ago, I noticed that some of the monitoring functionality in the old Azure Functio...

Managing Application Insights Cookies

Managing Application Insights Cookies I'm wondering how application insights work with cookies because I'll like to understand user and session tracking, so I've been researching and... Here is a brie...

.NET Core 6 - How to get an ILogger instance without Dependency Injection in Program.cs during Startup

.NET Core 6 - How to get an ILogger instance without Dependency Injection in Program.cs during Startup I've updated the content of my original question as I was starting to cause some confusion amongs...