windows phone - What are the minimum capabilities for Application Insights to work? -
i'm trying application insights added existing project, flags following capabilities:
<capability name="id_cap_location" /> <capability name="id_cap_networking" /> <capability name="id_cap_phonedialer" /> <capability name="id_cap_map" />
i've added call in app's constructor to:
windowsappinitializer.initializeasync();
and of course, i've checked applicationinsights.config file check instrumentationkey matches shown on portal.
do need add additional capabilities allow these work, i'm not seeing show on azure portal subscription, , i'm not seeing in debug output suggest diagnostics being attempted sent?
the required capability appears id_cap_networking
.
one other thing watch out for; when using ui associate applciation insights add include schema in applicationinsights.config file, stops working.
so, instead of:
<?xml version="1.0" encoding="utf-8"?> <applicationinsights> <instrumentationkey xmlns="http://schemas.microsoft.com/applicationinsights/2013/settings">xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx</instrumentationkey> </applicationinsights>
it should more like:
<?xml version="1.0" encoding="utf-8"?> <applicationinsights> <instrumentationkey>xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx</instrumentationkey> </applicationinsights>
Comments
Post a Comment