在应用程序洞察中启用 Azure cosmos gremlin 请求日志记录

时间:2021-02-24 20:29:14

标签: azure azure-web-app-service azure-application-insights azure-monitoring azure-cosmosdb-gremlinapi

我有 Azure 应用服务。在 AppInsights 中跟踪针对其他 Azure 服务的请求(显示为“依赖项”)。但是,针对 Gremlin API 的请求并未出现在 AppInsights 中,如何实现?

1 个答案:

答案 0 :(得分:2)

document 所述

<块引用>
  1. “Application Insights”针对开发团队,以帮助您了解应用程序的执行情况以及如何 它正在被使用。
  2. 仅在使用 HTTP/HTTPS 时自动跟踪 Azure Cosmos DB。 Application Insights 不会捕获 TCP 模式。

如果您希望它显示有关 cosmos db 等其他服务的一些信息,您可以通过 http 请求调用它或使用该服务手动配置您的应用程序,请参阅此文档:Manually tracking dependencies