Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What's Application Insights Telemetry (unconfigured) doing?

I'm running an MVC app in VS 2015. During debug mode, everything is work just fine until when I try to create new user.

The create form works also the save button. But the new data is not showing in the index but the new edit/details/delete is the index.

The output tell: Application Insights Telemetry (reconfigured):

{"name":"Microsoft.ApplicationInsights.Dev.PerformanceCounter","time":"2016-04-20T10:41:44.1380123+08:00","tags":{"ai.internal.sdkVersion":"1.2.3.490","ai.device.roleInstance":"KL-PT-049.icarasia.local","ai.application.ver":"Unknown","ai.device.type":"PC","ai.device.id":"KL-PT-049.icarasia.local","ai.device.oemName":"Hewlett-Packard","ai.device.model":"HP ProBook 4440s","ai.device.network":"Wireless80211","ai.device.language":"en-MY"},"data":{"baseType":"PerformanceCounterData","baseData":{"ver":2,"categoryName":"Processor","counterName":"% Processor Time","instanceName":"_Total","value":23.789436340332,"properties":{"DeveloperMode":"true"}}}}

I wonder is there any relation between create user and application insight telemetry? Thanks

Click here for picture

like image 383
Botski Avatar asked Apr 20 '16 02:04

Botski


People also ask

What is telemetry in application Insights?

Application Insights telemetry model defines a way to correlate telemetry to the operation of which it's a part. For example, a request can make a SQL Database calls and recorded diagnostics info. You can set the correlation context for those telemetry items that tie it back to the request telemetry.

How do I disable Insights telemetry app?

It is enabled by default. To disable it within Visual Studio, you may want to use the actual Visual Studio settings to disable it. To disable it go to “TOOLS –> Options –> Projects and Solutions –> Web Projects” and check “Disable local Application Insights for Asp.Net Core web projects.”

Where do we see your Azure app Insights telemetry?

Web in the Solution Explorer and select Application Insights | Open Application Insights Portal. The portal opens on a view of the telemetry from your app. Click on Server response time.

What is Azure application Insights?

Application Insights is an extension of Azure Monitor and provides Application Performance Monitoring (also known as “APM”) features. APM tools are useful to monitor applications from development, through test, and into production in the following ways: Proactively understand how an application is performing.


1 Answers

No, it is not related. You enabled Application Insights by installing nuget nuget packages but you did not configure it by providing an instrumentation key.

So in debug Application Insights telemetry is collected (in your case it is a performance counter) but it is not sent anywhere.

Application Insights Hub in VS 2015 listens to these events and provides nice UI for analyzing the events (View ->Other Windows->Application Insights Search).

If you like insights that provides you should create Azure resource and add iKey to application insights config (Getting Started). If you do not find it useful - uninstall nuget packages.

like image 195
Anastasia Black Avatar answered Sep 25 '22 17:09

Anastasia Black