Questions tagged [appinsights]

198 questions
2
votes
1 answer

Azure App Insights, is there a way to query for thread count details?

this question is mostly for DevOps experts, in app insights. So I found I have an issue on my app, it seems some threads are being created and not released, causing the thread count to increase and ending at some point in the "CGI error", which…
Yogurtu
  • 2,656
  • 3
  • 23
  • 23
2
votes
1 answer

is it possible to point one asp.net core application to 2 app insights instances

i have a situation where i have bunch of already existing asp.net core apps pointed to to their specific app insights instances. i want all of them to point to another app insights to send a very specific type of logging data without breaking their…
Raas Masood
  • 1,475
  • 3
  • 23
  • 61
2
votes
1 answer

Azure Dasboards alert based on percentage

In Azure dashboards, is there any way we can trigger alerts based on percentage instead of counts?.. Example if total total failures in 20 minutes is 20%, then trigger alert than just cheking the counts of the failures? Here setting the count is…
2
votes
0 answers

Difference between trigger threshold and metric_trigger threshold in terraform

I was adding metric alerts to monitor a web api hosted in AKS and was looking azurerm_monitor_scheduled_query_rules_alert here. I could not tell the difference between the two thresholds. I am confused about the purpose and where each one applies…
RedRose
  • 555
  • 7
  • 27
2
votes
2 answers

How to setup Appinsights with azure search javascript sdk

From the Azure Search documentation I know that we have to get some search information to setup appinsights telemetry. The problem is: How do I get SearchID information from the @azure/search-documents SearchDocumentResult?
Diego
  • 55
  • 1
  • 4
2
votes
1 answer

Collect JavaScript console messages in App Insights

JavaScript console object provides many ways to output messages to a browser console: console.log console.error console.warn console.info console.trace By default Application Insights does not send console messages as telemetry to Azure Portal…
Alex S
  • 1,171
  • 1
  • 9
  • 25
2
votes
1 answer

Azure SQL dependency (based on EF Core 3.1.7) is not appearing in Application Map of App Insights

We have Azure functions based on .net Core 3.1. We use latest version of EntityFrameworkCore. It connects to Azure SQL to store/retrieve/query data. We are able to see logs for Azure SQL such as Opening connection, closing connection in Live Stream…
2
votes
1 answer

Application Insights Visual Studio integration not working for Console application (WebJob)

I have a console application we deploy as a WebJob in Azure. Application Insights is working, because the telemetry is send to Azure correctly. But the "Application Insights Search" window in Visual Studio (2019) is not picking up the telemetry…
2
votes
1 answer

log response body to application insight dependencies log

I want trace the response body of my httpclient requests in dependencies table Application Insight. My application runs with .NET framework 4.8 I created an Initializer to trace the Dependencies telemetry with the following code: public class…
2
votes
3 answers

Azure function app traces exhibiting strange behavior

I have 10+ azure function apps deployed. Out of them only one function app always writes a trace message "Executing HttpStatusCodeResult, setting HTTP status code 200" every 10 seconds. I can not find the source from where this log is coming. My…
DevMJ
  • 331
  • 1
  • 5
  • 17
2
votes
0 answers

Azure Functions Logging, get current scope properties

I'm using Azure Functions with Automatic Dependency Tracking disabled and manually tracking my dependencies. I also use the SDK provided ILogger for traces and metrics, and also heavily use the ILogger.BeginScope(...) to track details about…
Madushan
  • 6,977
  • 31
  • 79
2
votes
1 answer

Azure Functions missing rows in AppInsights

I need to log information from all invocations, successful or not, of a function app in Azure. I first tried just using log.LogInformation() and found that messages were not being written from all function invocations. Doing some research I got to…
scantrell
  • 111
  • 1
  • 6
2
votes
1 answer

Why does Application Insights write Nlog Error as Trace instead of exception?

I am using Microsoft.ApplicationInsights.NlogTarget to send metrics to application insights from my .Net Framework 4.7 console app with NLog as the logging framework. All the data gets sent OK, but exceptions that I log with _logger.Error("message",…
user5283666
1
vote
1 answer

Dynamically create individual columns for last 7 days in Kusto

From data gathered in Azure AppInsights, I was able to generate a report of click counts of custom events for the last 7 days using the following Kusto query. let usg_events = dynamic(["click_event"]); let mainTable24 = customEvents | where…
1
vote
2 answers

Error on application insights service when migrating my Angular app from v13 to v14

I am migrating an angular app from v13 to v14 and I keep getting this error on my app insights service after upgrading the packages: Error: src/app/core/services/app-insights.service.ts:19:22 - error TS2322: Type 'AngularPlugin' is not assignable to…
1
2
3
13 14