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

Azure Application Insights for Android

Im trying to implemenet app insights in my android app I have tried using this in y Application class AppCenter.setLogLevel(Log.VERBOSE); AppCenter.start((Application) getApplicationContext(), "{df2331b5-fcc9-4c3a-9971-2f4aabad120b}",…
1
vote
1 answer

Is it possible to query Kusto cluster to setup a monitoring alert on Application Insights?

I want to create an alert rule on Application insight based on the results of a query on kusto table. Essentially, would want to run a query against kusto table on Application Insights
1
vote
0 answers

Python opencensus flask set request-id header as set in FlaskMiddleware/AzureLogHandler

I'm using Azure Application Insights for my logging. I'm trying to set up an environment that all my logs have the same trace-id/request-id for visibility. In the documentation for logging requests, by using the following code: from flask import…
sheldonzy
  • 5,505
  • 9
  • 48
  • 86
1
vote
1 answer

NLog ApplicationInsightsTarget unable to read application insights key from appsettings.json

I am trying to read the application insights instrumentation key from appsettings.json file in my ASP.NET Core 3.1 Web Application but all my tries went in vain so far as the target is still showing as unconfigured. If I add the key directly in…
UBK
  • 232
  • 4
  • 15
1
vote
1 answer

How to set the minimum loglevel with serilog's application insights sink

I'm using Serilog to log to application insights, but I am only getting the log levels warning, error, and critical to be logged. In appsettings.json, I have the minimum loglevel set to verbose, and this logs everything with the file and console…
Don Chambers
  • 3,798
  • 9
  • 33
  • 74
1
vote
1 answer

Application Insights has metrics and dependencies but no Information Traces

I have an ASP net 5. I can't see my custom Traces, but I can see Metrics and Dependencies I thought that it was a problem with LogLevel, but seems I can't spot the right settings: Startup.cs public void ConfigureServices(IServiceCollection…
Carlos Garcia
  • 2,771
  • 1
  • 17
  • 32
1
vote
1 answer

OutOfMemoryException after adding Microsoft ApplicationInsights Telemetry

We have recently added telemetry to our website (we have been running one that is being added automagically by the Microsoft Azure portal), but now I have implemented page views and the whole mechanism with configuration file nugets and such. Then…
1
vote
3 answers

CorrelationId is Null when using serilog enricher nuget package

I wanted to populate a value for correlationId to my applicationInsights . Right now the value is null. I have installed the serilog.enrichers.correlationId nuget package and have services.AddHTTPContextAccessor in my startup.cs file, but still the…
1
vote
1 answer

How to configure Azure Application Insights for Asp.Net Core 5.0 to send only 4% of Requests and 100% of Exceptions?

When I use the Data sampling settings on Azure portal — it really works: reduces the amount of data ingestion. It logs only 4% of the successful requests and this is good. However it logs only 4% of the all exceptions. And this is bad. Because I…
Vadim Loboda
  • 2,431
  • 27
  • 44
1
vote
2 answers

AKS Container Insights: How to list not ready pods?

I'm using Azure Container Insights for an AKS cluster and want to filter some logs using Log Analytics and Kusto Query Language. I do it to provide a convenient dashboard and alerts. What I'm trying to achieve is list only not ready pods. Listing…
1
vote
1 answer

Application Insight Correlation in Blazor Server App

Is Application Insight working properly in Blazor server app? I have multiple application in .net core, all application logging data properly only I see an issue with BlazorServerApp. Sometimes, It will log page request sometimes it won't.…
Pankaj Rawat
  • 4,037
  • 6
  • 41
  • 73
1
vote
1 answer

Azure functions is not loggin all the traces in AppInsights

I have an Azure Function App with multiples functions connected with Application Insights. For some reason that I don't know sometimes, some requests and traces get lost and it's like they never happen, but I can see the data in our DB and also in…
1
vote
1 answer

how to find instance region in azure application insights

we have multiple app service instances from different regions sending logs into the same application insights instance, and when looking at the logs for application insights i get the "cloud_RoleInstance" that shows the instance name, but i cant…
1
vote
1 answer

Is it possible to get windows event logs into application insights?

We have application insights running in our application (on premise and hosted in azure) and we are sending telemetry without issues, different resources, regular data, pageViews, exceptions, traces etc, recently I was asked to increase the…
1
vote
1 answer

Why are release annotations automatically created in my release pipelines?

I noticed that release annotations are now added for a couple of our Application Insights instances when we execute our release pipelines. We have not done any of the things mentioned in the article. Where are those annotations coming from? It seems…