Questions tagged [appinsights]
198 questions
30
votes
1 answer
Why is the App Insight LogLevel in appsettings being ignored?
We use ILogger in an ASP.NET Core 3.1 website, using the Microsoft.ApplicationInsights.AspNetCore package, version 2.14. We are trying to enable the logging of informational messages into App Insight, e.g., _logger.LogInformation("info here").
In…

Paul Mrozowski
- 6,604
- 9
- 34
- 47
6
votes
1 answer
Why do app insights transaction details have gaps
I'm trying to discover why some of my function responses are taking 2+ seconds every so often and I've noticed that on these requests the app insights End-to-end transaction details there are large gaps between each dependency call, which is where…

ayrton clark
- 83
- 6
4
votes
0 answers
How to prevent Application Insights from formatting date strings
We are currently using the .Net Microsoft.ApplicationInsights package and sending some custom events to application insights. The problem is, that application insights is formatting date string.
We are sending the following data to Application…

Jannik Breuer
- 41
- 2
4
votes
4 answers
Log custom object in Application Insights from Function App ILogger (C#)
I have a C# .NET Core Azure Function App, and I am using the ILogger to send logs to Application Insights. This is working well so far.
Function header:
public static void Run([TimerTrigger("0 30 * * * *")] TimerInfo myTimer, ILogger log,…

Alex
- 139
- 1
- 7
4
votes
2 answers
why does app insights need to be turned on manually after automated release?
Why doesn't app insights turn on automatically after the release?
After executing the automated release, I'm getting this when navigating to app insights in the portal:
Here's how I've defined this in my ARM template:
{
"type":…

Alex Gordon
- 57,446
- 287
- 670
- 1,062
4
votes
0 answers
How to get Custom Metrics from Azure app-insight in Prometheus server?
Because set alert rule in Azure is too expensive, I want set alert rule in Prometheus instead.
However, is there any way to expose the metrics on Azure(app insight) to Prometheus server?
(I already have some application running on Azure now and have…

Ricky Parker
- 133
- 2
- 8
4
votes
2 answers
Tracking hangfire background jobs with app insights
I have set up app insights in Asp.net core application. All my web api requests are tracked on app insights and if I have any failures I can simply find them in Failures section.
However, I have also Hangfire background jobs running and if they are…

Deivydas Voroneckis
- 1,973
- 3
- 19
- 40
4
votes
0 answers
Capturing graql apollo query execution time in query result
I have been trying to capture graphql http query execution time in the query result. I found a solution to use "apollo-link-logger" but this will only log it to console and does not attach it to the query resultgs.
What I am trying is I need to log…

user13308247
- 41
- 1
4
votes
1 answer
What would happen to Application Insight when a Azure region goes down. Will Application insight still be accessible
What would happen to Application Insight when a Azure region goes down. Will Application insight still be accessible??? as we rely on telemetry data.

Narenkv
- 51
- 1
3
votes
1 answer
Application insight open telemetry attributes not showing
I have a nestjs application with open telemetry setup using the AzureMonitorTraceExporter. (v1.0.0-beta.10).
Internally we're using Prisma ORM with auto instrumentation in order to trace our db calls.
When viewing traces through jaeger locally all…

hparquet
- 41
- 3
3
votes
2 answers
Get Other columns based on max of one column in Kusto
I am trying to write a Kusto query to find record who has max value in column grouped by another column but also requires 3rd(remaining) columns with it.
Let there be three columns A(timestamp) B(impvalue: number) and C (anothervalue:string).
I…

Allen Harris
- 53
- 5
3
votes
1 answer
ILogger logs to app insights locally but not on azure
The following code work on my machine locally. That means all log statements are in app insights after some minutes...
When I deploy the application with Publish as Webjob all gets deployed BUT there are no log statement of the triggered webjob…

HelloWorld
- 4,671
- 12
- 46
- 78
3
votes
1 answer
Is there a way to log the values from the Data dictionary of an exception in .net core ILogger interface?
If I log an exception with some key/value pairs added to Data, those values do not get logged. They would be really helpful for diagnosis of the issue in some cases but I can't see any way to configure that.
For example, the following console…

Simon Vane
- 1,914
- 3
- 19
- 23
3
votes
1 answer
client_Browser field is always empty in App Insights
For all requests in App Insights the property client_Browser is empty for some reason.
How can I make App insights populate client_Browser column?

Yoda
- 17,363
- 67
- 204
- 344
3
votes
1 answer
How to do inner joins using Kusto query language on AppInsights
I'm using the following query to get the operationId values from the requests that failed with 400 using AppInsights:
requests
| project timestamp, id, operation_Name, success, resultCode, duration, operation_Id, cloud_RoleName,…

Ignacio Soler Garcia
- 21,122
- 31
- 128
- 207