[英]Add Application Insight to a existing Azure Service Fabric cluster
自過去 4 個月以來,我們一直在研究 Azure Service Fabric,但現在決定使用 AppInsight 為其建立統一的日志記錄基礎結構,我們如何將 AppInsight 密鑰添加到現有的 Service Fabric 群集
我是這樣做的,使用Visual Studio 2017 :
不幸的是,現在並沒有那么簡單。
Build 2017 中顯示的 Application Insights 支持仍處於預覽階段。 它包含兩個您必須安裝的 nuget 預覽包,您需要將集群更新到最新版本。 請繼續關注目前顯示的這個repo
將 Service Fabric 與 Application Insights 結合使用
我們正在更新此存儲庫,以演示如何將 Service Fabric 與 Application Insights 結合使用。 完成的 repo 還沒有准備好,請在接下來的幾天內回來查看!
可以在此處找到有關 setup 和 nuget 包的更多信息:
此存儲庫生成以下兩個 nuget 包:
Microsoft.ApplicationInsights.ServiceFabric.Native - 用於 Service Fabric 的本機可靠服務。 Microsoft.ApplicationInsights.ServiceFabric - 用於來賓可執行文件和來賓容器服務(提升和轉移場景)。
在此之前,您可以查看此存儲庫以獲得完整的(手動)Application Insights 集成。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.