Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
347 views
in Technique[技术] by (71.8m points)

Is there any way we can capture ADF data flow activity logs?

I was trying to log the data flow activity information by using the data flow activity's output object which has a key named 'metrics' which contains 'RowsRead' and 'RowsWritten' but sometimes when data flow activity insert data into database, the metrics show 'NULL' value although records were read and written into database.

question from:https://stackoverflow.com/questions/65932762/is-there-any-way-we-can-capture-adf-data-flow-activity-logs

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

Yes you can do that in ADF

You can create a parameterized stored procedure to do this activity.

Then call that Stored Procedure in ADF pipeline to store the logs in Database.

You can follow this link to know how to develop that Stored Procedure and invoke the same in your ADF pipeline

Thanks!


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...