【问题标题】:Does the ITelemetryChennel with the ServerTelemetryChannel concept exist in the Azure Application Insights Analytics SDK for nodejs?用于 nodejs 的 Azure Application Insights Analytics SDK 中是否存在具有 ServerTelemetryChannel 概念的 ITelemetryChennel?
【发布时间】:2019-10-14 15:31:15
【问题描述】:

In this question,关于 Azure Application Insights Analytics,它回答了有关管理日志输出以及将这些日志或“遥测”传回 Azure 云服务的相关 Azure 通信的问题。

但是,ITelemetryChannel 类中存在的 ServerTelemetryChannel 似乎不属于 nodejs sdk。

问题变成了,因此该功能不属于节点 sdk 的一部分吗?如果是这样,是否有类似功能的解决方法?

【问题讨论】:

    标签: node.js azure azure-application-insights azure-monitoring telemetry


    【解决方案1】:

    根据this code,似乎有一个选项可以在 AI node.js SDK 中重试本地保存的遥测数据:

    public setDiskRetryMode(value: boolean, resendInterval?: number, maxBytesOnDisk?: number) {
    

    这个选项好像是on by default:

    let _isDiskRetry = true;
    

    【讨论】:

      猜你喜欢
      • 2018-08-16
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-01-08
      • 1970-01-01
      • 1970-01-01
      • 2018-01-05
      • 1970-01-01
      相关资源
      最近更新 更多