PipelineMetrics class
ETL family — class
Collects per-node runtime metrics for an ETL pipeline run.
Members
| Member | Kind | Description |
|---|---|---|
List<NodeRunMetrics> Nodes | Property | Gets or sets the nodes. |
DateTime? StartedAt | Property | Gets or sets the started at. |
DateTime? CompletedAt | Property | Gets or sets the completed at. |
bool IsRunning | Property | Gets or sets the is running. |
TimeSpan TotalElapsed | Property | Gets or sets the total elapsed. |
void Start() | Method | Marks the start of a pipeline run. |
void Complete() | Method | Marks the end of a pipeline run. |
NodeRunMetrics Record(string nodeName, int rowsIn, int rowsOut, TimeSpan elapsed, string status = "Completed") | Method | Records a completed node execution. |
int Measure(string nodeName, int rowsIn, Func<int> action) | Method | Measures a node action and records its metrics. Returns the action's row count. |
void Reset() | Method | Clears all metrics and timing. |
string Summary() | Method | Human-readable metrics report. |