Questions tagged [appinsights]

198 questions
0
votes
1 answer

Grafana, how to choose which column for axis in Timechart?

I am using Grafana to perform a Log to Metric query using an Azure Data Explorer datasource, that gives me a result like this as a table: This comes from this query: Log | where $__timeFilter(TIMESTAMP) | where eventId == 666 | summarize count()…
FoxDeploy
  • 12,569
  • 2
  • 33
  • 48
0
votes
0 answers

How do I access Telemetry Headers in Service Fabric Controller?

I am able to examine Request Headers at my Service Fabric Controller entry point by specifying the following method signature: public async Task Copy([FromHeader] TelemetryHeaders headers) where TelemetryHeaders is defined as: …
0
votes
0 answers

How to wrap all telemetry logs with Correlation Context?

I have a nodeJS application that listens to Azure ServiceBus and would like to correlate all my logs under the same operationId for each message that it handles. Because this is not a HttpRequest nor am I running an Azure Function app, I believe I…
0
votes
1 answer

Metrics / HTTP requests/responses are not showing up in Azure Application Insights dashboard for my nodejs express app

Currently using Azure App insights in a NodeJS app (specifically a Remix app using Express). After initializing the library, I am not seeing metrics show up on my Application Insights Dashboard nor the "Performance" tab I've verified that the…
0
votes
0 answers

Unable to log appinsight with serilog using managed identity/AD service principle

With the local authentication I am able to log using serilog in app insight. But when I disabled the local authendication and try using service principal I am not able to log, Let me know what I am missing. Code snippet(Working code: With local auth…
Neltech101
  • 29
  • 4
0
votes
1 answer

What is the difference between the TelemetryConfiguration.CreateDefault and the new TelemetryConfiguration()?

What is the difference between the TelemetryConfiguration.CreateDefault and the new TelemetryConfiguration()? I am talking about the types from the Microsoft.ApplicationInsights.Extensibility namespace. Both seem to work the same.
manymanymore
  • 2,251
  • 3
  • 26
  • 48
0
votes
2 answers

How to create a static instance of TelemetryClient for application insights logging in Azure Functions

I am trying to implement appinsights logging in my application and I cannot create an instance of TelemetryClient as it is deprecated in .net core apps. Now I am using below method to log data in azure functions. startup.cs file public class Startup…
0
votes
1 answer

In Azure Monitor for Application Insights how do you make a bar chart by day in Kusto?

In Azure Monitor for Application Insights how do you make a bar chart using a search term where the results are grouped by day? If you have large logs in Application Insights but want to print a bar chart where they are grouped by day using the…
0
votes
0 answers

Track time on page per user with application insights

We have a requirement to track time on page per user and also the duration it took to load that page with application insights. We tried to use autoTrackPageVisitTime property to track the time and PageView to get the duration but PageVisitTime is…
0
votes
1 answer

Azure Workbook - Dropdown multiple selection int

I have have setup a parameter of type dropdown to be able to select the log level like this: Then I try to use it in my query like this: But I have the following error because he is not able to cast it as int apparently. After that they are…
Kapoue
  • 847
  • 2
  • 11
  • 15
0
votes
1 answer

how to identify filename and code line from error message?

Newbie question: I'm getting the following error message in AppInsights from an Ionic webapp in production Uncaught (in promise): TypeError: Cannot read properties of null (reading 'length') TypeError: Cannot read properties of null (reading…
JavierC
  • 147
  • 1
  • 11
0
votes
0 answers

Export Request_Response of HttpInstrumentation to DB

In my asp.net core app, using Opentelemetry and exporting it to AppInsights. Due to GDPR,instead of exporting the API request_response with Data to AppInsights I would like to add it to DB. Any Solution, how can we do that?
akshayslodha
  • 37
  • 1
  • 8
0
votes
1 answer

How does application insights know logged in user's id (authenticatedUserId)

I am using the following package in my angular application which is integrated with Okta sign in. package name: "@microsoft/applicationinsights-web" package is for azure app insights. I can see that it logs the telemetry along with User's oktaId…
user2716454
  • 144
  • 4
0
votes
1 answer

Exceptions are no longer shown in StackTrace in Application Insights Azure after switching from Instrumentation Key to Connection String

I found today that using Instrumentation Key in Application Insights will be deprecated in future. Microsoft recommends switching to Connection String. The issue is that if I'm trying to switch to ConnectionString, the exception are no longer shown…
0
votes
1 answer

AppInsights see response to requests

Is there a way to see the response to a request in the logs generated through appinsights? I’ve got several apis, and I can see the client making the calls when querying the requests table, I can see the status of the request but I can’t see what…
John
  • 175
  • 1
  • 10