Azure application insights or log analytics

不羁的心 提交于 2019-12-21 14:58:35

问题


What is the use case for Azure application insights or log analytics?

I am using APIM and Azure Functions and want to perform logging for requests. Which one is the best fit, application insights or log analytics?

https://docs.microsoft.com/en-gb/azure/azure-monitor/overview

Update

In particular, any info on Azure application insights vs log analytics used for APIM?


回答1:


What used to be known as Application Insights and Log Analytics independent offerings - are now a part of Azure Monitor. We're actively merging both platforms.

For instance, Analytics exploration part is exactly the same (same backend, same UX, same capabilities, just different data schema). Alerts are the same. Some experiences are still different (for instance, app experiences such as Application Map).

Example: in Azure Monitor Overview (https://docs.microsoft.com/en-gb/azure/azure-monitor/overview):

"Log Analytics" is referred as a feature and not what used to be known as Log Analytics as a product. For instance, Application Insights resources provide the same "Log Analytics" feature.

For Azure Functions / APIM the native integration with Azure Monitor is through Application Insights.




回答2:


Azure function better to go with application insights and if you working with kubernetes cluster choose Log analytics work space




回答3:


Azure Functions offers built-in integration with Azure Application Insights to monitor functions.

So for azure function, you'd better use application insights, which is easy configure.

Details are here.



来源:https://stackoverflow.com/questions/55112648/azure-application-insights-or-log-analytics

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