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 Windows Dev Center should pick up the key as part of the ingestion / publishing process.




回答2:


As one of the comments indicated, you can use these instructions to add Application Insights Nuget to your application and insert the instrumentation key in code or in ApplicationInsights.config file.

However please note that while you can still use Application Insights for Windows Store apps, we are recommending that you onboard to this Nuget and start using HockeyApp for Windows Store apps:



来源:https://stackoverflow.com/questions/35192951/how-to-add-the-instrumentation-key-in-windows-dev-center-dashboard-usage-page

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!