mod failure_store;
mod metrics;
mod replay;
#[cfg(test)]
mod tests;
pub use failure_store::{WebhookFailureRecord, failure_store_path};
pub use metrics::{WebhookDiagnostics, diagnostics_snapshot};
pub use replay::{ReplayCandidate, ReplayReport, ReplaySelector, replay_failed_deliveries};
pub(crate) use metrics::{
note_delivery_failure, note_delivery_success, note_dropped_message, note_enqueue_success,
note_queue_dequeue, note_retry_attempt, note_retry_requeue, set_queue_capacity,
};
#[cfg(test)]
pub(crate) use tests::{
load_failure_records_for_tests, persist_failed_delivery_for_tests,
reset_webhook_metrics_for_tests, update_replay_counts_for_tests,
write_failure_records_for_tests,
};