Questions tagged [appinsights]

198 questions
1
vote
0 answers

Azure AppInsights Distributed Tracing Issue

I am using Azure AppInsights in our FrontEnd (Angular app) and Backend API (.NET Core). We need to have distributed tracing to tie together the telemetry recorded in the tables - PageViews, Dependencies, Requests, Exceptions, etc. Now we see the…
1
vote
0 answers

How could I parse the json array in Kusto?

How could I parse the json array in Kusto? Here is what I tried: customEvents | where name == "myname" | project a = parse_json(customDimensions.Content) | extend b = a[0].Section; But as you can see the b still remains empty and never gets…
manymanymore
  • 2,251
  • 3
  • 26
  • 48
1
vote
0 answers

Adding telemetry properties without having to use an ITelemetryInitializer

I've found that in the application I've been set to work on, there's a TelemetryInitialier which is called at every web api call and adds some properties from the appsettings.json. Here's the defined class public class…
advapi
  • 3,661
  • 4
  • 38
  • 73
1
vote
1 answer

Log Application insights customMetrics once instead export_interval - python

I have a spark stream that reads data from an azure data lake, applies some transformations then writes into the azure synapse (DW). I wanna log some metrics for each batch processed. but I don't wanna duplicate logs from each batch. Is there any…
1
vote
1 answer

granular kusto query visualised

I am sending customMetric to azure app-insights about payment success - 0 if payment failed and 1 if payment was successful. So for I have this query: customMetrics | where name startswith "PaymentSuccess" | summarize event_count=count() by…
vmachacek
  • 530
  • 1
  • 11
  • 27
1
vote
1 answer

How to disable default azure functions logs

I'm curious if there's a way for overriding the loglevel of the azure function default or built-in logs. I've attached a screenshot below with some examples of the unwanted logs. I've found out that I can override the setting for my custom logs in…
1
vote
0 answers

How do I create a client for Azure App Insights?

I want to log to App Insights from Oracle database code. That is, pl/sql running within the database. Is there an API guide that I can use to create a logging client? I haven't been able to find anything thus far within the online documentation,…
Scott Swank
  • 664
  • 1
  • 6
  • 7
1
vote
1 answer

Select limited columns from App Insights log data while transferring to storage account using Diagnostic settings

I have configured a diagnostic setting in app insight to transfer telemetry data to storage account. I do not want to transfer/migrate user_authenticationId column from pageViews data. How can I prevent it from transferring to storage account using…
1
vote
2 answers

Why app insight generate _MS.links column for event hub dependency telemetry?

I added event hub to my application and App Insight started to emit telemetry with for event dependency. One of the column in this dependency is _MS.links causing downstream workflows to fail due to column name. Why app insight emits column with…
1
vote
1 answer

In azure application insight what does Data sampling (0% vs 100%) mean

I have come across lot of articles on data sampling in azure application insights. But not able to understand the actual meaning . As per my current understanding it 0% data sampling indicates azure application insight will not do any sampling and…
Tilak Raj
  • 135
  • 2
  • 6
1
vote
1 answer

Configure custom properties to be collected when tracking an exception in azure app insights

I'm using Azure App Insights to track exceptions in a React app. As stated in the docs and some other tutorials, thrown exceptions are automatically collected by app insights React SDK, which is wonderful. However, we want app insights to collect…
Pavindu
  • 2,684
  • 6
  • 44
  • 77
1
vote
1 answer

az func nodejs and appInsights not using same operation_id on dependency and exeptions

So i used a few days to find this solution to Azure Functions and Application Insights not using the same Operation Id and Parent Id on Dependency and Exception. Im posting this hoping that others will have use of it const appInsights =…
1
vote
1 answer

AppInsight Log errors not showing issue

I have configured Azure app insight to my web application. I have added code as below. catch (Exception serverEx) { _logger.LogError("hello world"); return…
AlexDemo
  • 141
  • 3
  • 14
1
vote
0 answers

Microsoft.ApplicationInsights GetMetric intermittently throw error

"Microsoft.ApplicationInsights" Version="2.10.0" public void GetAppMetric(string metricId, double metricValue) { string source = string.IsNullOrWhiteSpace(this.Store[Logging.Constants.Key]) ? …
n1k1
  • 51
  • 6
1
vote
1 answer

Can't we set Instrumentation Key on web.config instead of ApplicationInsights.Config

Instead of adding the Instrumentation Key or its connection string on the ApplicationInsights.config, Can't we add it in the web.config? For every different deployment, we need to set the Instrumentation key manually on the…
Dinesh
  • 411
  • 6
  • 19
1 2
3
13 14