Pipeline.Monitoring.Performance (pipeline v0.0.1)
View SourcePerformance monitoring and metrics collection for pipeline execution.
Provides real-time performance tracking, memory usage monitoring, bottleneck identification, and performance optimization recommendations.
Summary
Functions
Check if performance thresholds are being exceeded.
Returns a specification to start this module under a supervisor.
Get current performance metrics.
Start performance monitoring for a pipeline.
Record step completion event.
Record step failure event.
Record step start event.
Stop performance monitoring and return final metrics.
Types
@type metric_value() :: number()
@type metrics() :: %{ memory_usage: metric_value(), cpu_usage: metric_value(), execution_time: metric_value(), step_count: non_neg_integer(), error_count: non_neg_integer() }
Functions
Check if performance thresholds are being exceeded.
Returns a specification to start this module under a supervisor.
See Supervisor
.
Get current performance metrics.
Start performance monitoring for a pipeline.
Record step completion event.
Record step failure event.
Record step start event.
Stop performance monitoring and return final metrics.