azure-application-insights

Application Insight Analytics Pivot

孤人 提交于 2019-12-13 03:49:39
问题 Is there a way to pivot in Azure Application insight analytic queries? SQL has a Pivot Keyword, can similar be achieved in Application insight Analytics? When I run the below query I get exceptions and count, but I would like to see a day on day trending exceptions | where timestamp >= ago(24h) | extend Api = replace(@"/(\d+)",@"/xxxx", operation_Name) | summarize count() by type | sort by count_ desc | limit 10 | project Exception = type, Count = count_ I am looking for something below day

Setup data used by Azure Log Analytics with Azure Fucntions

╄→尐↘猪︶ㄣ 提交于 2019-12-13 03:18:01
问题 I have questions on setting up data used Azure Log Analytics for Azure Functions. I cannot see options related to setting up Log Analytics or see information about it within Azure Functions. But I can open Log Analytics where I can enter query to return data. I created a Log Analytics Workspace, but am not sure if it is useful for Azure Functions with Log Analytics. Questions 1 What data is Log Analytics based on by default? 2 Do I need to specify or turn on the logging data Log Analytics is

Application Insights page view code gives me client side errors

有些话、适合烂在心里 提交于 2019-12-12 18:23:25
问题 When I go into the Azure Application Insights resource for my Dev web app, and go to view Usage, I see a link that says 'Learn how to collect page view data'. The link gives me the code below. var appInsights = window.appInsights || function (config) { function r(config) { t[config] = function () { var i = arguments; t.queue.push(function () { t[config].apply(t, i) }) } } var t = { config: config }, u = document, e = window, o = "script", s = u.createElement(o), i, f; for (s.src = config.url

what does AWAIT_TIME exactly mean in the Azure profiler?

瘦欲@ 提交于 2019-12-12 10:38:01
问题 I am looking at my performance profile of one of my slowest requests, and I see an AWAIT_TIME of more than 6 seconds, but I am not able to get any more information regarding it. How do I figure out what exactly the process is "waiting on"? 回答1: From Azure's documentation: Waiting (AWAIT_TIME) AWAIT_TIME indicates the code is waiting for another task to complete. This typically happens with C# 'await' statement. When the code does a C# 'await', the thread unwinds and returns control to the

Managing Application Insights Cookies

一笑奈何 提交于 2019-12-12 08:23:48
问题 I'm wondering how application insights work with cookies because I'll like to understand user and session tracking, so I've been researching and... Here is a brief introduction about the theory: Whenever Application Insights SDK get a request that doesn’t have application insights user tracking cookie (set by Application Insights JS snippet) it will set this cookie and start a new session. (from apmtips ) 2. UserTelemetryInitializer updates the Id and AcquisitionDate properties of User

Azure Application Insights, how to change daily cap by Azure CLI

最后都变了- 提交于 2019-12-12 04:06:52
问题 I'm trying to change daily cap for data transfer for all my Application Insights on Azure. Is there any way to change it for all of them? I can't find how to do it by using Azure CLI. Thank you. 回答1: You can change the daily cap with the Azure PowerShell cmdlet Set-AzureRmApplicationInsightsDailyCap. Login-AzureRmAccount Set-AzureRmContext -SubscriptionName "Your Sub Name" function Set-DailyCap { $AI = Get-AzureRmApplicationInsights | Select ResourceGroupName, Name $AI | foreach { write

Application Insights Trace Listener with azure functions

北城余情 提交于 2019-12-12 04:06:47
问题 I have a bunch of services which emit System.Diagnostics.Trace.* trace messages and when hosted via webapi, I simply include the Microsoft.ApplicationInsights.TraceListener package and my traces are collected in app insights. However, part of the setup requires a web.config file to tell the trace listener to listen and flush like: <system.diagnostics> <sources> <source name="TraceLogging" switchName="Verbose"> <listeners> <add name="appinsights" type="Microsoft.ApplicationInsights

Asp.Net Core and Application Insight in VS2017 - multiple environments

烂漫一生 提交于 2019-12-12 04:00:06
问题 Prior VS2017, it was possible to setup Application Insight integration into an Asp.NET Core application in the code. In VS2017, it is only possible using the IDE(Connected Services) as the "Microsoft.ApplicationInsights.AspNetCore"(2.0.0.) does not offer builder.AddApplicationInsightsSettings(developerMode: true); extension anymore. All the related resources does not work for VS2017(ie https://github.com/Microsoft/ApplicationInsights-aspnetcore/wiki/Getting-Started). When using new VS2017

Can I funnel Application Insight browser telemetry through a custom domain?

末鹿安然 提交于 2019-12-12 03:07:27
问题 Is it possible to funnel traffic from Application Insights (the javascript-driven browser telemetry) through a custom domain for adblock purposes? We'd like our telemetry to be allowed/blocked based on our own domains rather than Microsoft's domains. Ultimately, this is for business software and we're having some difficulties that AI is meant to help us support our customers with but because so many of our customers have adblock software in place, it's becoming increasingly difficult to

Azure Application Insight: Custom data not recorded when Timestamp or StartTime is set

允我心安 提交于 2019-12-12 02:38:16
问题 I found a strange issue while sending data using custom code. No data appeared in the browser until I figured out it had something to do with how I send it. If I manually set the StartTime or Timestamp of a Telemetry class the data never shows up. In the code below, only the event with name "None" shows up. Widening the time range of the filter in the browser dashboard does not help. Is it not possible to send historical data to application insights with a custom datetime stamp? I need it