无法将应用程序数据分析设置保存到API [英] Unable to save application Insights settings to API

查看:77
本文介绍了无法将应用程序数据分析设置保存到API的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在一个APIM实例中,我无法从应用程序Insights中保存某些设置.
例如,我选中前端请求",单击保存,然后在右上角显示一条消息,指出已成功保存.但是当我回到设置时,该选项处于未选中状态.在应用程序见解中,我看不到请求,因此证明了设置 未保存.
还是要针对AI解决此问题?

In one instance of APIM, I'm unable to save some settings from the application Insights.
Example, I check "Frontend Request", hit save, then in the right corner a message says it was successfully saved, But when i get back to the settings the option in unchecked. In application insights I can't see the requests, so this proves the setting was not saved.
Anyway to workaround it for AI?

推荐答案

如果您不选择采样(%)",则会获得该体验.和"正文的第一个字节(最多1024个)"设置为默认值0.请将它们分别设置为100%和1024,您应该开始看到请求被记录 在应用程序见解中.请参考以下图片或 文档.希望对您有所帮助.
You get that experience if you leave the "Sampling (%)" and "First bytes of Body (max 1024)" to default 0. Please set these to 100% and 1024 respectively and you should start seeing the requests getting logged in application insights. Please refer following image or this documentation. Hope that helps.


这篇关于无法将应用程序数据分析设置保存到API的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆