Questions tagged [azure-application-insights]

For programming questions about Microsoft's Azure Application Insights, which is a monitoring service for deployed live applications, allowing collection of availability, performance, usage, and other diagnostic data. It supports web services, Windows Store apps, and Windows Phone 8 apps.

Application Insights lets you monitor your deployed live applications. It supports web services, web apps, and device apps, across a variety of languages and device ecosystems. Application Insights allows for collection of data around availability, performance, usage, and diagnostics.

Application Insights is part of Microsoft Azure Monitor, which is Microsoft's offering for monitoring applications and infra, in Azure cloud or On-Prem.

For .NET and .NET Core technologies, Application Insights SDKs are available as nuget packages (available from nuget.org), or by functionality built into Visual Studio 2013 (Update 3 and later).

SDKs for other technologies and languages are available on Microsoft's GitHub page.

3791 questions
1
vote
1 answer

How to get the IP address of caller from Azure API Management and Application Insights

Our infrastructure consists of a Azure HTTP triggers which receive client REST calls via Azure API Management Service. We use Application Insights for logging all throughout. However, the client_IP field always comes up as 0.0.0.0. The following…
1
vote
1 answer

Azure App Service Plan Overview shows different CPU usage than Application Insights Live Metrics

I have an Azure App Service Plan (tier P1V2) that contains a number of App Services. Each of the App Services is attached to an Application Insights instance. The App Service Plan Overview shows a CPU usage summary of 100%, but Application Insights…
1
vote
1 answer

How to corelate the UserId and User_Id from AppCenter

Is there a way to get the User_Id generated by AppCenter via the nuget? Based on this comment there are two types of user id's in AppCenter. The one with SetUser, I'm already using, but after exporting data in AppInsights, it looks like the queries…
1
vote
1 answer

How to get scoped information in AppInsights via NLog?

Consider the following code in a method where an ILogger<> is injected in the constructor: using (_logger.BeginScope("Requesting {page} for {identification}", page, identification)) { if (identification == null) { var test = "Test…
321X
  • 3,153
  • 2
  • 30
  • 42
1
vote
1 answer

What is the default logLevel threshold in Azure Functions?

It's clear how to override log levels in host.json: Configure the trace level for logging Configuring Log Level for Azure Functions What is the default value though if it's not set explicitly? A link to documentation would be appreciated for…
Max Ivanov
  • 5,695
  • 38
  • 52
1
vote
1 answer

How to add Application Insights to existing QnAMaker app

I have an existing QnAMaker app which presumably was created without AppInsights. I need to add one to get some logs and analytics. How can I do this?
xakpc
  • 1,709
  • 13
  • 27
1
vote
2 answers

Remove customDimensions items from Application Insights when using opencensus-python

In the documentation on how to use opencensus-python to submit traces to Azure Application Insights, it's spelled out how to add additional information to the customDimensions field. That is, import logging from opencensus.ext.azure.log_exporter…
1
vote
0 answers

Azure App Service crash due to StackOverflowException in MicrosoftInstrumentationEngine_x86.dll

We are experiencing random Azure App Service crashes, multiple times a day. Every time the application crashes the App Service is restarted. The application is an ASP.NET MVC 5 application running .NET Framework 4.7. Crash monitoring is enabled and…
1
vote
1 answer

Azure V1 functions not logging any requests to App Insights

I'm not sure if I'm missing anything here, but what I'm doing is pretty simple & OOB thingy. I have created a dotnet azure function app(which by default creates as v3), changed the configuration to V1 and created a new http trigger function. When I…
1
vote
1 answer

Application Insight not all logs are recording

Recently to find Production issues, I used Application insight and created logs using Telemetry Trace. So, I'm using currently two separate keys one for Dev and one for SIT environment. randomly few logs were missing, I’m not sure what is the issue,…
MadhaviTix
  • 21
  • 1
  • 4
1
vote
1 answer

App insights common logging utility service - Valid pattern?

At the moment I have about 10 microservices in my domain model. Each microservice includes the app insights sdk and the logs just push to app insights. I have a customer of mine who has specifically requested that all microservices should go through…
Richie
  • 4,989
  • 24
  • 90
  • 177
1
vote
0 answers

Azure ML pipeline runs slowly due to AppInsights

I have set up an Azure ML pipeline with a single Python script step. Provided that the compute has already been spun up, initially the pipeline took around 2 minutes with an executionlogs.txt like so: [2020-09-23 22:36:14Z] Experiment:…
1
vote
1 answer

how to exclude exceptions from azure function's appinsight?

We have this host.json file in our azure function: { "version": "2.0", "functions": [ "xxx" ], "logging": { "applicationInsights": { "samplingExcludedTypes": "Request", "samplingSettings": { "isEnabled": true } …
daxu
  • 3,514
  • 5
  • 38
  • 76
1
vote
1 answer

How to calculate duration between two consecutive requests in the same session in Kusto

I'm trying to calculate the time span between two requests/pageViews in Application Insights. The goal is to calculate the time spent on a page. I know that AI has the autoTrackPageVisitTime setting, but this is not turned on, unfortunately. My…
1
vote
1 answer

Azure availability test fired when disabled

Did anyone else experience an issue with disabling Azure availability test before running CI/maintenance when the test continues sending requests and raising alerts, even though it was disabled? We're disabling our tests with PowerShell: $WebTests =…