我们如何检查 Azure APIM 的请求源

问题描述 投票:0回答:1

在“应用程序洞察”中出现一些与 APIM 相关的异常,但请求来源未知,请参阅下面的屏幕。 Exception table result Img1 Exception table result Img2

有什么方法我们可以追踪或了解如何获取请求源/从哪个服务 APIM 被调用。

我们可以追踪或了解如何获取请求源/从哪个服务 APIM 被调用。

azure logging apim
1个回答
0
投票

我通过以下方式在 APIM 中启用了 Application Insight -

enter image description here enter image description here enter image description here enter image description here

  • 然后我调用了 Echo API 和一个导入到 APIM 的函数应用程序。
  • 您也可以通过sdk版本来识别请求。
  • 我收到以下 Echo API 日志

enter image description here

  • 函数应用程序的日志

enter image description here

© www.soinside.com 2019 - 2024. All rights reserved.