【问题标题】:Implementing distributed tracing in Azure [closed]在 Azure 中实现分布式跟踪 [关闭]
【发布时间】:2020-12-03 19:56:09
【问题描述】:

我们正在使用逻辑应用、API 和 Azure Functions 的组合在 Azure 中构建集成。我们对从源到目的地的事务进行端到端跟踪,即分布式跟踪。我们需要能够跟踪自定义字段,例如 orderId。任何关于如何最好地实现这一点的建议、文章、示例、视频的指针都非常感谢。

【问题讨论】:

标签: azure logging monitoring azure-logic-apps distributed-tracing


【解决方案1】:

我想你可以考虑使用Application Insights

它具有无代码和基于代码的模式,并且可以自动跟踪请求/依赖等。您还可以使用built-in method跟踪任何自定义字段。

而且 azure 功能很容易与应用洞察集成,请参阅here 了解更多详情。

对于web api,你可以很方便的使用内置的方法或者使用code-based或者code-less来监控。

【讨论】:

    【解决方案2】:

    我对此进行了更多研究。我相信使用 Azure Monitor 是一种方法,如下所述:https://github.com/MicrosoftDocs/azure-docs/blob/master/articles/logic-apps/monitor-logic-apps-log-analytics.md。此处概述的内容非常好,因为它解释了设置 Azure Monitor 所需的步骤。 Azure Monitor 结合以下文章中描述的与自定义属性的端到端关联应该可以满足我的需求:https://yourazurecoach.com/2018/08/05/end-to-end-correlation-across-logic-apps/

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2015-12-14
      • 2014-01-17
      • 2022-01-19
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-12-18
      相关资源
      最近更新 更多