azure-application-insights

Application Insights for WPF Application

♀尐吖头ヾ 提交于 2019-11-28 17:34:33
There is a WPF application written in Visual Studio. Can I add Application Insights to this WPF app? I would like to know how many times a button/tile is clicked. Since there are multiple installations of the same application, I would like to know which button was clicked how many times from which user/installation. Can this be done with Application Insights? Thanks Avanti While not listed as a supported app type this means there isn't default telemetry data collected/sent to application insights nor is there support for adding AI/creating an application insights resource. That being said it

Azure Microsoft Insights API 2016-09-01 Error while collecting Metrics

大憨熊 提交于 2019-11-28 14:42:13
Please help me to understand why from last few days Azure Microsoft Insights API 2016-09-01 is giving the following error { "code": "BadRequest", "message": "only conditions of the form '<name> eq <value>' are allowed, where <name> = 'timeGrain', 'startTime', 'endTime', 'name.value', 'aggregationType', 'debugRegion' : ( name.value eq 'Disk Write Bytes' ) and timeGrain eq duration'PT5M' and startTime eq 2017-10-25T13:27:49.620 0000 and endTime eq 2017-10-25T13:32:49.620 0000 " } few days back it was working fine Old working URL---> https://management.azure.com/subscriptions/452529bb-083b-411a

Application insights track metric is not working?

扶醉桌前 提交于 2019-11-28 10:08:27
问题 I followed up this question: Application insights for wpf application and created console application, where I am using application insights like this: var telemetry = new TelemetryClient(); telemetry.TrackEvent("My event"); telemetry.TrackMetric("Test Metric", 13); telemetry.TrackTrace("Simple log message"); telemetry.TrackException(new Exception()); Everything works and data is sent to Azure, except TrackMetric. Metric is not available neither in metrics explorer, neither in diagnostic

Remove Application Insight from application on Visual Studio 2013

爱⌒轻易说出口 提交于 2019-11-28 03:44:32
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 server. Any help is appreciated, I want to completely get rid of application insight on that application.

Adding custom properties for each request in Application Insights metrics

情到浓时终转凉″ 提交于 2019-11-27 12:05:45
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 gameTelemetry = new TelemetryClient(context); gameTelemetry.TrackEvent("WinGame"); My questions : What is

Application Insights for WPF Application

拟墨画扇 提交于 2019-11-27 10:21:37
问题 There is a WPF application written in Visual Studio. Can I add Application Insights to this WPF app? I would like to know how many times a button/tile is clicked. Since there are multiple installations of the same application, I would like to know which button was clicked how many times from which user/installation. Can this be done with Application Insights? Thanks Avanti 回答1: While not listed as a supported app type this means there isn't default telemetry data collected/sent to application

Disable application insights in debug

﹥>﹥吖頭↗ 提交于 2019-11-27 03:08:46
How can I disable application insights automatically when using a debug configuration and enable it only on release? Is it possible to do this without creating another instrumentation key only for debug? I have trackevent statements scattered all over the code, enclosing them inside a debug preprocessor check is not an ideal solution. My current solution is to set the Build Action of the ApplicationInsights.config file to None so that it's not copied to the project's output directory, but this isn't a process that can be automated based on the active build configuration. There is a Developer

Disable application insights in debug

谁说胖子不能爱 提交于 2019-11-26 12:37:47
问题 How can I disable application insights automatically when using a debug configuration and enable it only on release? Is it possible to do this without creating another instrumentation key only for debug? I have trackevent statements scattered all over the code, enclosing them inside a debug preprocessor check is not an ideal solution. My current solution is to set the Build Action of the ApplicationInsights.config file to None so that it\'s not copied to the project\'s output directory, but