簡體   English   中英

從 Azure 數據工廠 v2 將自定義消息記錄到 Azure Monitor 或 App Insights

[英]Logging custom message to Azure Monitor or App Insights from Azure Data Factory v2

我們需要將自定義消息從數據工廠(包括管道)記錄到 Azure Monitor 或 AppInsights。 例如,流水線運行驗證,需要記錄文件名超過長度的文件的驗證錯誤,並繼續運行流水線的 rest。

可以從 Azure 監視器查看日志記錄。

任何的想法?

AppInsights中提取數據並在Azure 數據工廠中運行 AppInsights 查詢。 您可以在 ADF 中使用Web 活動在執行主要活動后調用 Application Insights REST API。

或者

您可以使用Azure Monitor而不是 Application Insights。

更多詳細信息,請參考此文檔:

https://www.ben-morris.com/using-azure-data-factory-with-the-application-insights-rest-api/

https://learn.microsoft.com/en-gb/azure/azure-monitor/logs/data-collector-api

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM