Azure Data Factory Pipeline Duration Metric

Stephens, Dave 1 Reputation point
2022-03-02T18:52:06.893+00:00

Please add the ability to Metrics to show the Pipeline Duration for Azure Data Factories. This would be a key item to diagnosing long runtimes for alerts and dashboards.

Thanks!
Dave

Azure AI Metrics Advisor
Azure AI Metrics Advisor
An Azure artificial intelligence analytics service that proactively monitors metrics and diagnoses issues.
80 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
9,601 questions
{count} votes

2 answers

Sort by: Most helpful
  1. AaronHughes 391 Reputation points
    2022-03-07T09:00:02.973+00:00

    in terms of the copy activity you can use

    @activity('Copy Activity').output.copyDuration

    in terms of full duration of the pipeline you can use

    @pipeline().TriggerTime

    and set a end time with the audit collection point - by passing your audit parameters over to a TSQL Proc and used getutcdate() for example to set the end time and cal the duration using the triggertime internal variable

    1 person found this answer helpful.
    0 comments No comments

  2. PRADEEPCHEEKATLA-MSFT 77,751 Reputation points Microsoft Employee
    2022-03-07T07:12:02.273+00:00

    Hello @Stephens, Dave ,

    Thanks for the question and using the MS Q&A platform.

    Unfortunately, Azure Data Factory Pipeline Duration Metric is not available at this moment.

    Appreciate if you could share the feedback on our ADF feedback channel. Which would be open for the user community to upvote & comment on. This allows our product teams to effectively prioritize your request against our existing feature backlog and gives insight into the potential impact of implementing the suggested feature.

    These are the supported metrics available to log in Diagnostic setting:

    180558-image.png

    For more details, refer to Configure diagnostic settings and a workspace.

    Hope this will help. Please let us know if any further queries.

    ------------------------------

    • Please don't forget to click on 130616-image.png or upvote 130671-image.png button whenever the information provided helps you. Original posters help the community find answers faster by identifying the correct answer. Here is how
    • Want a reminder to come back and check responses? Here is how to subscribe to a notification
    • If you are interested in joining the VM program and help shape the future of Q&A: Here is how you can be part of Q&A Volunteer Moderators