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

Get the exception easily with Azure app insight using python flask

I had tried the code below for getting the exception in https://learn.microsoft.com/en-us/azure/azure-monitor/app/opencensus-python from opencensus.ext.azure.log_exporter import AzureLogHandler logger = logging.getLogger(__name__) # TODO: replace…
KW Li
  • 13
  • 3
1
vote
2 answers

application insights instrumental key when move to new subscription?

I'm moving application insight recourses to a new subscription in azure. Question is will instrumental key and Connection String change when moving? /Martin
Martin
  • 11
  • 1
1
vote
1 answer

Azure Microservices Performance Insights - Collective Performance Counter Reporting

I have around 10 microservice applications in .net, all hosted on Azure ServiceFabric. These applications are setup in a sequence for example API call to Application 1 > stores data in cosmos > sends message to Application 2 Application 2 >…
Rohit Patel
  • 459
  • 2
  • 14
1
vote
0 answers

No SQL dependency tracking when running .NET services on Service Fabric

We have migrated almost all our cloud services (classic Azure) to Service Fabric, but there is still one thing missing in our new setup and that's the automatic SQL dependency tracking. In Azure Cloud Services I installed the AI agent according to…
Ramon de Klein
  • 5,172
  • 2
  • 41
  • 64
1
vote
1 answer

Why unable to use Application Insights with Azure Function?

I'm recreating an Azure Function in a different Resource Group. Specifics: OS: Linux Runtime: Python Region: South Central US Plan: App Service Plan (Premium V2 P2v2) Note: This App Service Plan is used by another Function App as…
ericOnline
  • 1,586
  • 1
  • 19
  • 54
1
vote
1 answer

How to conditionally disable Application Insights in ASP.NET Core?

I'm trying to avoid the service locator pattern in ASP.NET Core when conditionally including Application Insights in my ASP.NET Core application, the reason for this is I want to completely disable Applications Insights during development. Service…
Jonas
  • 3,155
  • 5
  • 35
  • 55
1
vote
1 answer

C# Azure Functions and Application Insights - LogError not showing exception

I'm having some trouble with Application Insights when running a C# v3 Function App. Everything is setup within Azure to use Application insights, as per the instructions. Within the host.json file, I've included the following settings: "logging":…
Phil S
  • 642
  • 8
  • 19
1
vote
1 answer

Quarkus: MDC is not exposed in Azure Application Insights

how do I get the MDC information to show up in Azure Insights. Currently I only see it in the trace log. I am using: Quarkus 1.13.0.Final Application Insights 3.0 I have inserted the Application Insights according to these instructions => Java…
matt-rock
  • 133
  • 2
  • 14
1
vote
1 answer

Log Application Insight custom dimensions using serilog

I would like to enrich the serilog trace message with some customized information (for example the user role, the business solution..) and I would like to see those properties into the Application Insight "Custom Dimension" field. I tried to look…
1
vote
1 answer

Which API should be used for querying Application Insights trace logs?

Our ASP.NET Core app logs trace messages to App Insights. We need to be able to query them and filter by some customDimentions. However, I have found 3 APIs and am not sure which one to use: App Insights REST API Azure Log Analytics REST API Azure…
1
vote
1 answer

How to split current item (string) in Azure Application Insights - Kusto Query Language

I'm doing a custom dashboard in Azure Insights, and I'd like to display Exceptions type. In order to do so, I need to split an outerMessage column. I know that there is a split() function, but I don't know how to use it with current item. Any idea…
Lukasz Dynowski
  • 11,169
  • 9
  • 81
  • 124
1
vote
2 answers

Save log queries across different application insights instances

In Azure Application Insights Logs, I can save custom queries into the "query explorer", but they are saved per Application Insights instance. I want to use the same query in a different AI Logs. Note I don't want to query data across AI instances,…
jhyot
  • 3,733
  • 1
  • 27
  • 44
1
vote
1 answer

How do I change the role name of a nodejs app services in application insights from "Web"?

I have two nodejs app services both connected to a single ApplicationInsights resource in Azure. They both post events successfully, however when I click "Application Map" they are both shown under a single "Web" node, rather than two separate…
mpr
  • 3,250
  • 26
  • 44
1
vote
1 answer

What exactly is a "message" in terms of application insights data?

I'm trying to fine tune my application insights cost, it's currently about 80% of the cost of running my service. When I look at the "usage and estimated costs" charts I can see most of my data volume is "message" but I can't find any information on…
Liam
  • 27,717
  • 28
  • 128
  • 190
1
vote
1 answer

How to export Azure Kubernetes logs to Storage account or view old pod logs from Applications insights?

In AKS, how to view a deleted pod logs for tracing purposes? Incase of failed logs too would like to store or export the logs. I have application insights enabled but only the logs of pods currently running can be viewed from there. I am looking for…