azure-application-insights

Azure Resource Template Dependencies / Application Insights

南笙酒味 提交于 2019-12-19 06:05:32
问题 I have a chicken and egg problem deploying Application Insights with my web application to Azure. In the ARM template, the Application Insights module is dependent upon the web site for the application id (see dependencies in the ARM templates below). On the other hand, in order to fully instrument the web application, I need the instrumentation key from the Application Insights Module. How does one get around this? Application Insights View From the Portal ARM Template for Web App ARM

Azure Application Insights Alerts work only once

无人久伴 提交于 2019-12-19 05:34:22
问题 I am testing Azure Application Insights alert functionality. It seems to be either buggy or I don't know how to use it. If I create a new alert, based on the metric 'Server Exceptions', it seems to work once then never again. Once it fires, it seems to go into a state of 'Active' where there is an orange triangle with an !. See the image below. I created a new one, that I haven't triggered, and as can be seen in the image it has a green circle with a tick. This sort of implies to me that an

Azure Application Insights Alerts work only once

眉间皱痕 提交于 2019-12-19 05:33:03
问题 I am testing Azure Application Insights alert functionality. It seems to be either buggy or I don't know how to use it. If I create a new alert, based on the metric 'Server Exceptions', it seems to work once then never again. Once it fires, it seems to go into a state of 'Active' where there is an orange triangle with an !. See the image below. I created a new one, that I haven't triggered, and as can be seen in the image it has a green circle with a tick. This sort of implies to me that an

Add Azure Application Insights Status Monitor from command line

若如初见. 提交于 2019-12-18 17:23:50
问题 http://azure.microsoft.com/en-us/documentation/articles/app-insights-monitor-performance-live-website-now/ I have a few sites hosted on a VM on azure that is deployed with Cloud Service Webroles. Have anyone seen examples of installing the status monitor from code or command line? Goal is to add IIS sites automaticly to Azure App Insight without logging into remote desktop as shown in the link above. 回答1: We ran into this issue also and wrote a script, which should plug into the existing

Using Application Insights with ILoggerFactory

╄→尐↘猪︶ㄣ 提交于 2019-12-18 13:12:21
问题 I'm trying to log exceptions to Application Insights. I succeeded in doing this by calling TelemetryClient.TrackException directly. However, I would like to abstract away from this in my code in case I'd want to log to other platforms in the future, so I would like to stick to only the ILogger interface. I found that you can use ILoggerFactory.AddApplicationInsights (as implemented here) but no matter what I did, I don't see the logs showing up in ApplicationInsights with this. Below is my

Remove Application Insight from application on Visual Studio 2013

微笑、不失礼 提交于 2019-12-17 17:32:20
问题 On Visual Studio I added application insight to a project which creates a ApplicationInsights.config and not sure what other files were added to the project. Thing is, doing right click and press Add Application Insight was pretty straight forward. Now I'm looking with no success a way to remove the application insight for that project. How can I achieve that ? On production server, using DebugView, I see the telemetry logs, even after shutting down the Application Monitor Services on the

Adding custom properties for each request in Application Insights metrics

主宰稳场 提交于 2019-12-17 10:38:11
问题 I d'like to add custom properties to metrics taken by Application Insights to each request of my app. For example, I want to add the user login and the tenant code, such as I can segment/group the metrics in the Azure portal. The relevant doc page seems to be this one : Set default property values But the example is for an event (i.e. gameTelemetry.TrackEvent("WinGame"); ), not for an HTTP request : var context = new TelemetryContext(); context.Properties["Game"] = currentGame.Name; var

Change location of Application Insights?

最后都变了- 提交于 2019-12-14 01:13:20
问题 Would it be possible to change the location of my Application Insights service without having to delete and recreate it? Now that it is in RTM, new regions (such as North Europe) are now supported. 回答1: It is not possible to move the apps around the new region, unfortunately. Microsoft can manually move them for you if you contact the support, but this will mean you will lose the history. 来源: https://stackoverflow.com/questions/40655870/change-location-of-application-insights

How to add the instrumentation key in Windows Dev Center Dashboard / Usage page to Azure Portal?

耗尽温柔 提交于 2019-12-13 05:38:28
问题 I have published an app to Windows Store. Subscribed to Azure. It seems I can only deploy/create new Application Insights resource. How to add/link the instrumentation key found in Windows Dev Center App Analytics / Usage page to Azure Portal / Application Insights? 回答1: If you follow the standard getting started flow for Application Insights. Use the InstrumentationKey that the AI portal provides. Specify the iKey in the ApplicationInsights.config file. If the key is in the .config file, the

Problems adding insights to Owin based project

萝らか妹 提交于 2019-12-13 04:27:19
问题 I have been trying to add Azure application insights to a few projects. The whole experience was seamless with a .net core app. However, when I tried to update the Cloud role name property, that is where I could not find a lot for an OWIN based app. I want the name of the bubble in Insights Application Map to appear what I set in this property (My API for example) but it keeps resorting to the resource name that I have for this resource in Azure (my-azure-api). After scouring through most