242 questions
0
votes
0
answers
34
views
Intermittent Issue with App Insights not logging Custom Dimensions
We have some wrappers written around the ILogger that translate name-value pairs into custom dimensions. We've been using this code for years and have struggled with intermittent issues where ...
0
votes
1
answer
121
views
Azure App insights daily cap reached without data?
We have Azure App insights with 4 GB set as a daily cap. And it started to report that the daily cap is reached regularly.
At the same time, based on a query for ingestion we see that only 2.5 GB of ...
0
votes
0
answers
31
views
How to authenticate a user when reporting a custom_event using python in appinsight
I am trying to trigger a custom event in a python application to record a system action linked to a specific user.
Our front end application provides a user_Id and user_AuthenticatedId to app insight ...
0
votes
2
answers
323
views
How to find failed workflow in standard logic app with KQL
I have a standard Logic app and multiple workflows (various system integrations, SI1, SI2 & etc.). I would like to create a dashboard according to SI1, SI2 and so on, and can leverage it to ...
0
votes
1
answer
90
views
AppInsight not showing details for 408 response code
I have an AppInsights that works perfectly, but this morning I see a 408 response code in the Failures section. My problem is that I'm not able to see the details or why this is happening.
If I click ...
0
votes
1
answer
77
views
Logs Not Flowing from Function App deployed under ASE to its own Application Insights
We are experiencing an issue where logs are not flowing from our Azure Function App to Application Insights. The Function App has been deployed under an App Service Environment (ASE), and the ...
0
votes
1
answer
148
views
Azure function app logs stop outputting to app insights inside new thread
I have a C# function app which runs a very long operation, and a pipeline which invokes it with the AzureFunction@1 task. The way to use this task is to start the function actual work in a new thread, ...
0
votes
2
answers
502
views
KQL question - Creating an azure alert when the exception count is higher than usual
I'm new to Azure App insights and I'm creating an azure alert based on app insights logs. I have a simple KQL query here which returns a result when the exception count is above 10. I'm looking for ...
0
votes
1
answer
298
views
Azure AppInsights ignores LogLevel other namespaces
I'm trying to setup Logging in my Azure Function App so that Azure App Insights only displays Information Level logs for a specific namespace, "TestNamespace" and its sub-namespaces, like &...
0
votes
2
answers
190
views
Some logs don't reach appinsights with isolated function app
I got a C# Azure function app and it uses an ILogger to log to app insight.
Until recently, the function app was implemented using .NET 6 and everything was fine. I then converted it to use .NET 8 and ...
0
votes
1
answer
66
views
Logs for Retry of DataLakeClienteOptions
I'm using Data Lake Storage with retry options.
My service is connected to appinsights and it uses a Azure Function.
Is there a way to query for retries of Data Lake Storage? Does it log automatically?...
0
votes
1
answer
132
views
Add-AzMetricAlertRuleV2 - Getting Not found error
I am trying to create alerts for databases in Azure using Add-AzMetricAlertRuleV2 command , but approach is working for other resources types like ASP , app services. not working with databases . can ...
2
votes
1
answer
226
views
Polly based retry logs intermittently not showing up in App Insights for Windows Azure Function
We have a Windows Azure function where we have Polly implemented as -
public async Task<T> ExecuteTaskWithRetryAsync<T>(int maxRetryAttempts, int delayBetweenFirstRetryInSeconds, string ...
0
votes
1
answer
91
views
Trace/Event Telemetry not Correlate to Request/Dependency Telemetry
I followed the instructions hereApp Insights to write custom telemetry
But I see that the trace does not work as the document said that they share the same operation ID
Along with setting an ...
2
votes
1
answer
355
views
Kusto query for time between records by group in one result list
I have a Debezium instance reading CDC events from a database for several different tables and publishing those messages to the same Kafka/Azure Event Hubs topic. A scaled-out service consumes these ...
1
vote
0
answers
232
views
Azure Service Bus: Time Spent in Queue is Large
We have a .NET process where the process is subscribing to the Topic. One of the common observations is that the Time Spent in Queue is large.
Azure Service Bus is running with 2 Messaging Units. The ...
0
votes
1
answer
119
views
AppInsights - Summarize by count() show result in grid even if 0
Hello I have a query like this:
customEvents
| where name in ("event1", "event2")
| summarize count() by name
And the thing is that when event2 has no results in the timerange it ...
0
votes
1
answer
391
views
App Insights ITelemetryInitializer / ITelemetryProcessor Not Working When Application Deployed to App Service
I'm attempting to include our application user ID in the app insights events that we send. This is a .Net Core web application. I've tried using both ITelemetryInitializer and ITelemetryProcessor.
...
1
vote
1
answer
191
views
How to disable adaptive sampling while passing instrumentationKey in AddApplicationInsightsTelemetryWorkerService()
Currently what I did in startup class is:
services.AddApplicationInsightsTelemetryWorkerService(<MyAppInsightsInstrumentationKey>);
According to official example, to disable adaptive sampling ...
1
vote
1
answer
84
views
azure logging wrapper import from another file - not working
i'm having some issues with a logging wrapper i createed. the repo structure is this one:
├───auth
│ └───auth_handler.py
└───logger.py
inside the auth_handler i have some functions that are used by ...
2
votes
3
answers
1k
views
Change the default Application Insights log level in a Spring Boot app
By default, Azure's Application Insights only captures events at the INFO level and above. I want to change the default level to INFO in a Spring Boot app. I tried to achieve this by adding the ...
0
votes
1
answer
48
views
How to get values for session_isFirst using application insights query
Azure Application Insights continues export data json contains following fields,
"context": {
"session": {
"id": "5JMv4",
"isFirst"...
1
vote
0
answers
86
views
Otel PropagatedSpan(NoOp) is created for HTTP requests with sampled traceflag
I have a spring boot application using otel sdk 1.23.1, and using the AppInsight agent (v3.4.16). When a HTTP request with a traceparent with sampled flag (e.g. 00-155346606a87c80bab0c375534b1155e-...
0
votes
1
answer
2k
views
How to use Azure application insight in Typescript
How to use Azure application insight in Typescript .The already available solutions are for Angular which isn't working for me.
I tried the solution for angular , it didn't work. i used a 3rd party ...
1
vote
0
answers
433
views
Azure AppInsight - Where is my custom attributes?
I am using OpenTelemetry, and trying to add a custom attribute to the current Span, and I can see the attribute (user.name, user.role) is showing as part of the trace:
// This is a sample trace coming ...