Performance monitoring for ExUtcp operations.
Tracks performance metrics, identifies bottlenecks, and provides alerts.
Summary
Functions
Returns a specification to start this module under a supervisor.
Gets performance statistics for a specific operation.
Checks for performance alerts based on thresholds.
Gets performance summary for all operations.
Measures the execution time of a function and emits telemetry.
Measures connection performance.
Measures search performance.
Measures tool call performance.
Records a custom performance metric.
Starts the performance monitor.
Types
Functions
Returns a specification to start this module under a supervisor.
See Supervisor.
Gets performance statistics for a specific operation.
Checks for performance alerts based on thresholds.
@spec get_performance_summary() :: %{ operations: map(), system: map(), alerts: [map()], timestamp: integer(), status: atom() }
Gets performance summary for all operations.
Measures the execution time of a function and emits telemetry.
Measures connection performance.
Measures search performance.
Measures tool call performance.
@spec record_custom_metric(String.t(), metric_type(), metric_value(), map()) :: :ok
Records a custom performance metric.
Starts the performance monitor.