• Tan Le's avatar
    Audit operations spanning across multiple calls · be9b7cd7
    Tan Le authored
    This change allows instrumentation of operation that:
    - Results in multiple audit events
    - Involves deep synchronous calls through its abstraction
    
    This instrumentation comprises of two main components:
    - `Audit::Auditor` wraps the operation for audit instrumentation. It
    uses `Audit::EventQueue` to store an in-memory audit event
    - `Auditable` mixin to push audit events in `Audit::EventQueue`
    be9b7cd7
auditable_spec.rb 955 Bytes