【发布时间】:2018-08-23 19:42:42
【问题描述】:
我非常喜欢应用程序洞察力,我在 nodeJs 应用程序中使用它。 这就是我在 express.js 中的内容
const appInsights = require('applicationinsights')
appInsights.setup()
.setAutoDependencyCorrelation(true)
.setAutoCollectRequests(true)
.setAutoCollectPerformance(true)
.setAutoCollectExceptions(true)
.setAutoCollectDependencies(true)
.setAutoCollectConsole(true)
.setUseDiskRetryCaching(true)
.start();
一切正常。但我希望某些特定请求不会发送到应用洞察
我在 kubernetes 集群中运行应用程序并配置了 Liveness 和 Readiness Probe(对此端点进行了很多请求),但是对这些端点的请求也被发送到应用程序洞察力,这不是我想要的因为它正在炸毁应用程序洞察帐户。
【问题讨论】:
标签: node.js azure azure-application-insights