Does anyone know how to (or if it possible) to access these metrics for each activity run shown under "Details" in the Azure Portal?
The initial plan was to use the .NET SDK but none of these metrics seems to be included. This is what I have managed to find so far.
var datasliceRunListResponse = client.DataSliceRuns.List(
_resourceGroupName,
dataFactoryName,
Dataset_Destination,
new DataSliceRunListParameters()
{
DataSliceStartTime = PipelineActivePeriodStartTime.ConvertToISO8601DateTimeString()
}
);
foreach (DataSliceRun run in datasliceRunListResponse.DataSliceRuns)
{
Console.WriteLine("Status: \t\t{0}", run.Status);
Console.WriteLine("DataSliceStart: \t{0}", run.DataSliceStart);
Console.WriteLine("DataSliceEnd: \t\t{0}", run.DataSliceEnd);
Console.WriteLine("ActivityId: \t\t{0}", run.ActivityName);
Console.WriteLine("ProcessingStartTime: \t{0}", run.ProcessingStartTime);
Console.WriteLine("ProcessingEndTime: \t{0}", run.ProcessingEndTime);
Console.WriteLine("ErrorMessage: \t{0}", run.ErrorMessage);
Console.WriteLine("Has logse: \t\t{0}", run.HasLogs.ToString());
Console.WriteLine("Id: \t\t\t{0}", run.Id);
Console.WriteLine("Log uri: \t{0}", run.LogUri);
Console.WriteLine("Properties: \t{0}", run.Properties.Count);
}