ccproxy.plugins.analytics.ingest¶
ccproxy.plugins.analytics.ingest
¶
AnalyticsIngestService
¶
Ingest access logs directly via SQLModel.
This service accepts a SQLAlchemy/SQLModel engine and writes AccessLog rows
without delegating to a storage-specific store_request API.
Source code in ccproxy/plugins/analytics/ingest.py
ingest
async
¶
Normalize payload and persist using SQLModel.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
log_data
|
dict[str, Any]
|
Access log fields captured by hooks |
required |
Returns:
| Type | Description |
|---|---|
bool
|
True on success, False otherwise |