Skip to main content

Module analytics

Module analytics 

Source
Expand description

Request analytics middleware.

AnalyticsMiddleware records tracked requests after the response is produced, running session activity, velocity-based scanner detection, behavioural bot scoring, and analytics-event capture on the process’s BackgroundTasks so the request path is never blocked on persistence and shutdown drains every pending write.

Copyright (c) systemprompt.io — Business Source License 1.1. See https://systemprompt.io for licensing details.

Re-exports§

pub use events::AnalyticsEventParams;

Modules§

detection
Behavioral bot detection input collection over fingerprint history.
events
Request-analytics event emission.

Structs§

AnalyticsMiddleware