Questions tagged [appinsights]

198 questions
0
votes
0 answers

Azure web app throws exception in Application Insights: "Merging of ETL Files has failed"

I see a recurring exception in my App Insights for our Web App.The source is Application Insights profiler I followed these 2 links for the solution: https://github.com/microsoft/ApplicationInsights-dotnet/issues/1438 Azure web apps throws error…
Trupti
  • 108
  • 2
  • 14
0
votes
1 answer

Azure app insights are not working after the application is being deployed to Azure App Service

Azure app insights are not working after the application is being deployed to Azure App Service but it's totally looking good on the local. I have added the Instrumentation key on ApplicationInsights.config file that's being provided by the Azure…
Dinesh
  • 411
  • 6
  • 19
0
votes
1 answer

A way to configure InitialSamplingPercentage in ASP.NET Core?

I'm setting up AppInsights on an on-premise server. There is a setting InitialSamplingPercentage in asp.net configs for AppInsights, Is there an analog in Aps.Net Core? I set up my appInsights like this: In Configure: var builder =…
0
votes
1 answer

Why is Azure function Invocation Id empty?

I am trying to fetch invocation id of an Azure Function using the app insights query: requests | project id, operation_Name, operation_Id, cloud_RoleName, invocationId=customDimensions['InvocationId'] | where cloud_RoleName =~…
Deepak
  • 2,660
  • 2
  • 8
  • 23
0
votes
1 answer

Microsoft-ApplicationInsights-AspNetCore ERROR: Exception in Command Processing for EventSource Microsoft-ApplicationInsights-AspNetCore

I am using .net core 3.1 function app and implemented app insight. Error is logging good and I am able to see it in azure portal app insight but receiving below error when trying to log information. AI (Internal):…
winterishere
  • 350
  • 1
  • 5
  • 21
0
votes
2 answers

How to log exception to appinsights using serilog?

Net core application. I am trying to log exceptions but this is not working as expected. Below is my configuration Program.cs public static void Main(string[] args) { Log.Logger = new…
Mr Perfect
  • 585
  • 8
  • 30
0
votes
1 answer

Advance Kusto Queries for Workbook

I am working on writting some queries which will help users visualize some metrics in Appinsight workbook. I have written some queries which has some parameters based on which it filters and grouping them by metrics name to get graphs for each of…
0
votes
1 answer

Error while trying to filter for curly brace in kql query azure

let tracesfailed = traces | where message has 'Response : \{' in the above snippet the app insights is giving error for trying to filter for the curly brace but I want to only filter for those messages which have 'Response : {' in their body
0
votes
1 answer

Querying multiple application insights resources with REST API

I'm trying to query two different application insight instances (instance A and B) trough the REST API. I'm using postman to send a GET http request to the API and followed the answer in this post, which was aiming towards the same goal, join…
0
votes
0 answers

Error "Attempted to get a metric series by specifying 2 dimension(s), but this metric has 3 dimensions" with Get-Metric method of telemetry client

string source = string.IsNullOrEmpty(this.logger.PStore[Constants.CurrentKey]) ? "NA" : this.logger.PStore[Constants.CurrentKey]; string cId = string.IsNullOrEmpty(this.logger.Store[Constants.CId]) ? "NA" :…
0
votes
0 answers

@typescript-eslint/no-unsafe-assignment - Unsafe assignment of an `any` value

I use app insights library in my angular project. And I use eslint to lint the code which really helps find some weird bugs: @Injectable({ providedIn: "root" }) export class AppInsightsService { appInsights: ApplicationInsights; constructor()…
AlexB
  • 4,167
  • 4
  • 45
  • 117
0
votes
1 answer

Azure Application Insights sampling changed sampling rate

One of our azure function v3 apps went from 200mb of app insight ingestion to ~18gb. We did not add any additional logging statements, change any sdks, or trigger any additional function executions. We do not specify an app insights sdk in our…
mluker
  • 702
  • 8
  • 26
0
votes
1 answer

ApplicationInsight not getting telemetry from AKS pods

In Application insight and dashboards, we are getting telemetry from the API manager APIS. But in the same App insight we are not getting telemtry from the backend applications which is running in AKS pods and connected using instarumentation key as…
0
votes
1 answer

application insights traces query doesn't work from azure cli command

I would like to execute my application insights traces from my vscode's azure cli command. I could get all details with the below command. az monitor app-insights query --app myappinsight1 --analytics-query traces --resource-group myRG But I need…
0
votes
1 answer

Logging in AppInsights using PowerShell in Azure Functions

I am trying log to feed logs from Azure Functions to AppInsight somethings similar to: log.LogInformation($"C# function processed: {myQueueItem}"); This actually provides me with a customdimension property in AppInsights. Is there a way to do…