azure-application-insights

Application Insights and Azure Stream Analytics Query a custom JSON property

谁都会走 提交于 2021-02-06 13:58:06
问题 I am trying to read my Application Insights export into a SQL Table using stream analytics. These are Custom and Metric events I'm trying to capture so part of the JSON is the "name" of the custom or metric event (e.g. TestMethod1) and the JSON looks like this: { "metric": [ ], "internal": .. host of other json data... "context": { "custom": { "metrics": [ { "TestMethod1": { "value": 42.8207, "count": 1.0, "min": 42.8207, "max": 42.8207, "stdDev": 0.0 } } ] } } } Using analytics Sql like

Disable EF Core Migration verification query

无人久伴 提交于 2021-02-05 08:18:13
问题 I'm running an asp.net core 2.1.4 web application with entity framework core 2.1.4 using code first. The migration and seed are done on application startup. I've noticed a couple of EF queries checking for checking the migration history on every call: Executed DbCommand (47ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT OBJECT_ID(N'[__EFMigrationsHistory]'); Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT OBJECT_ID(N'[_

Disable EF Core Migration verification query

倾然丶 夕夏残阳落幕 提交于 2021-02-05 08:18:06
问题 I'm running an asp.net core 2.1.4 web application with entity framework core 2.1.4 using code first. The migration and seed are done on application startup. I've noticed a couple of EF queries checking for checking the migration history on every call: Executed DbCommand (47ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT OBJECT_ID(N'[__EFMigrationsHistory]'); Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT OBJECT_ID(N'[_

Dashboards on custom application using application insights

浪子不回头ぞ 提交于 2021-01-29 18:57:58
问题 We have a lot of applications that throws custom logs to application insights. I would like to make a dashboard where I can see if each application is running or throwing exceptions etc. I have tried looking around in log analytics and it does not seem to have a connector to Application insights. Can anyone provide with some information to start on? Should I use Monitor, Log Analytics or Sentinel for this task and how do you get started with custom application insights logs. 回答1: Application

How can I save some custom qna maker data in azure app insights?

我的未来我决定 提交于 2021-01-29 11:40:56
问题 I have set up an Azure Bot with Luis and QnA Maker (in C#, Bot Framework v4). I want to query the App Insights and get information about the questions asked together with their answer. I followed the answers here: How to get the Qna Maker "Q" from Analytics Application Insights?, and I was able to get them, but I need an additional field for storing the user role (it would be perfect if I could store it in the customDimension field). I have followed the documentation from https://docs

Application Insights' Application Map doesn't show dependency calls

回眸只為那壹抹淺笑 提交于 2021-01-29 03:51:32
问题 We have added Application Insights to an Asp.Net 4.5.1 application deployed to an Azure Web App Service. It calls the database both using Entity Framework and SqlCommands. Application Insights is added both with javascript and in the backend. The javascript tracking is working, as can be seen both from calls tracked with Fiddler and the report data showing in the Azure portal. Requests to the web server are also shown in the reports but the Application Map chart doesn't show any dependency

Query from PowerBI to AI suddenly fails with (502): Bad Gateway

人盡茶涼 提交于 2021-01-29 03:16:49
问题 In Power BI (Desktop) we use a Power BI Query (M) to get data from Application Insights Analytics. We published the Power BI Report to Power BI online configured with a daily refresh. It worked fine until it stopped working on 25-1-2017 (UTC). The error we get is: DataSource.Error: Web.Contents failed to get contents from '.....' (502): Bad Gateway This is the complete error: DataSource.Error: Web.Contents failed to get contents from 'https://management.azure.com/subscriptions/<subscriptionId

Application Insights and Tags

偶尔善良 提交于 2021-01-29 03:16:20
问题 I have 2 applications (asp.net) with Application Insights integrated. In the portal I have created 2 tags: App1 = 1, App2 = 1 (one tag for each app). But what is the next step? How do I add the tags into the ApplicationInsights.config, so that each app sends its tag? 回答1: That's not where tags are for. They are there to organize your Azure resources, see https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-group-using-tags. Resource Manager enables you to logically organize

How can I retrieve through an API *Live Metrics* of Microsoft Application Insights

夙愿已清 提交于 2021-01-28 08:21:07
问题 I monitor the execution of an Azure function using the Live Metrics Stream management UI as seen below: Some of these metrics can be retrieved through the Application Insights REST API. However, metrics concerning overall health data, or Servers data, return a null value. For example,the performanceCounters/processCpuPercentage endpoint produces the following output when probed: HTTP/1.1 200 content-type: application/json; charset=utf-8 { "value": { "start": "2018-10-16T11:20:37.366Z", "end":

Import data from one Azure Application Insight to another Application Insight

て烟熏妆下的殇ゞ 提交于 2021-01-28 03:10:36
问题 I know, it's possible to export data from an App Insight account. Is it possible to import data (telemetry) into App insights account from another App insights account? 回答1: There's no way to import from one to another. you could by exporting it, swapping out the ikey and sending it again, but it's probably not worth that extra work. but even doing that has limitations on how "old" the data can be (you can't export 30 days and import and get 30 days in the new resource. any data more than