Skip to main content

Module services

Module services 

Source
Expand description

Service layer.

Orchestrators on top of the repository layer. Hosts the AnalyticsService, anomaly/behavioural detectors, request extractors, and provider integrations consumed by the API and CLI.

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

Modules§

ai_crawler_keywords
Static keyword list and matcher for known AI training / search crawlers.
bot_keywords
Static keyword list and matcher used to flag well-known bot user-agents.
detection
Static lookup tables and predicates for spam-referrer, datacenter-IP and high-risk-country detection used by the analytics ingestion pipeline.

Structs§

AnalyticsAiSessionProvider
AnalyticsService
AnomalyCheckResult
AnomalyDetectionService
AnomalyEvent
AnomalyThresholdConfig
BehavioralAnalysisInput
BehavioralAnalysisResult
BehavioralBotDetector
BehavioralSignal
SessionAnalytics
A single HTTP request reduced to the signals the session pipeline records.
SessionAnalyticsBuilder
headers is the only required input; every enrichment source (URI for UTM/landing-page, GeoIP reader, content-routing classifier, resolved caller IP) is opt-in via a with_* setter.
SessionCleanupService

Enums§

AnomalyLevel
SignalType

Constants§

BEHAVIORAL_BOT_THRESHOLD