如何将管道运行时持续时间导出到CSV

发布于 2025-02-07 10:35:23 字数 532 浏览 2 评论 0 原文

我想将每个管道的运行时持续时间导出到CSV。如何完成或实现? 以下是安排的管道,运行到结束,我可以使用“导出csv”按钮来获取这些管道的持续时间,但是每个执行管道都有很多单独的作业(在此示例中,请使用p_weekly_rv_load_1),以及如何获得所有这些详细信息这些单独的作业在p_weekly_rv_load中运行!到csv

” 中的所有作业

I want to export my runtime duration of the each pipeline to CSV. How can this be done or achieved?
The below is scheduled Pipeline which run to end, i can use the the Export CSV button to get duration of these pipelines but each execute pipeline got so many individual jobs(In this example will take P_Weekly_RV_Load_1) and how can I get those details of all those individual jobs run in p_weekly_RV_Load_! to csv

Triggered Pipeline jobs

P_Weekly_RV_Load_1 - All jobs in that

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

月野兔 2025-02-14 10:35:23

导航到ADF中的监视视图,单击“管道运行”,然后单击“调试”。在右上角,您会看到“导出到CSV”。

Navigate to the Monitoring view in ADF, click on "Pipeline runs" and then "Debug". On the top right you'll see "Export to CSV".

enter image description here

情丝乱 2025-02-14 10:35:23

当您说单个工作时,我假设您的意思是活动在管道内部运行。当前的活动水平细节未导出到CSV,仅导出了管道详细信息。

要捕获活动级别的详细信息,有几个选项:

  1. 使用诊断设置,并将活动运行发送到存储,日志分析或事件中心。参见关于如何进行设置。
  2. 使用REST,PowerShell等使用SDK来查询活动运行终点并以编程方式导出数据。参见 https:// https:// .microsoft.com/en-us/rest/api/datafactory/activation-runs/by pipeline-run 作为例子。

When you say individual jobs I am assuming you mean the activity runs inside of a pipeline. Currently activity level detail is not exported to CSV, just the pipeline details.

To capture activity level detail there are a couple of options:

  1. Use diagnostics settings and send the Activity Runs to storage, Log Analytics, or Event Hubs. See https://learn.microsoft.com/en-us/azure/data-factory/monitor-configure-diagnostics/ on how to set this up.
  2. Use the SDKs via REST, Powershell, etc. to query the activity run endpoints and export the data programmatically. See https://learn.microsoft.com/en-us/rest/api/datafactory/activity-runs/query-by-pipeline-run as an example.
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文