pub struct ArchaeologyEngine { /* private fields */ }Expand description
Execution archaeology — compare, analyze, and diagnose executions.
Implementations§
Source§impl ArchaeologyEngine
impl ArchaeologyEngine
pub fn new() -> Self
Sourcepub fn record_fingerprint(&mut self, fp: ExecutionFingerprint)
pub fn record_fingerprint(&mut self, fp: ExecutionFingerprint)
Store an execution fingerprint.
Sourcepub fn compare(
&self,
exec_a: &str,
exec_b: &str,
) -> WorkflowResult<ExecutionComparison>
pub fn compare( &self, exec_a: &str, exec_b: &str, ) -> WorkflowResult<ExecutionComparison>
Compare two executions.
Sourcepub fn detect_anomalies(&self, workflow_id: &str) -> Vec<Anomaly>
pub fn detect_anomalies(&self, workflow_id: &str) -> Vec<Anomaly>
Detect anomalous executions for a workflow.
Sourcepub fn bottlenecks(&self, workflow_id: &str) -> Vec<Bottleneck>
pub fn bottlenecks(&self, workflow_id: &str) -> Vec<Bottleneck>
Identify bottleneck steps across executions.
Sourcepub fn get_fingerprints(&self, workflow_id: &str) -> Vec<&ExecutionFingerprint>
pub fn get_fingerprints(&self, workflow_id: &str) -> Vec<&ExecutionFingerprint>
Get fingerprints for a workflow.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ArchaeologyEngine
impl RefUnwindSafe for ArchaeologyEngine
impl Send for ArchaeologyEngine
impl Sync for ArchaeologyEngine
impl Unpin for ArchaeologyEngine
impl UnsafeUnpin for ArchaeologyEngine
impl UnwindSafe for ArchaeologyEngine
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more