systemprompt-analytics 0.1.21

Analytics module for systemprompt.io - session tracking, metrics, and reporting
Documentation
mod ai_provider;
mod anomaly_detection;
mod behavioral_detector;
pub mod bot_keywords;
pub mod detection;
mod extractor;
mod providers;
mod service;
mod session_cleanup;
mod throttle;
mod user_agent;

pub use ai_provider::AnalyticsAiSessionProvider;
pub use anomaly_detection::{
    AnomalyCheckResult, AnomalyDetectionService, AnomalyEvent, AnomalyLevel, AnomalyThresholdConfig,
};
pub use behavioral_detector::{
    BEHAVIORAL_BOT_THRESHOLD, BehavioralAnalysisInput, BehavioralAnalysisResult,
    BehavioralBotDetector, BehavioralSignal, SignalType,
};
pub use extractor::SessionAnalytics;
pub use service::{AnalyticsService, CreateAnalyticsSessionInput};
pub use session_cleanup::SessionCleanupService;
pub use throttle::{EscalationCriteria, ThrottleLevel, ThrottleService};