SGTM Usage Aggregate Daily Edge Function
Scheduled cron job that aggregates access log metrics into daily usage records. Runs once per day to process the previous day's data.
POST /sgtm_usage_aggregate_daily
None - Typically called by cron scheduler
sgtm_usage_aggregate_daily_window
Tables touched:
200 - "OK" on success
500 - "Error" on RPC failure
Fileoverview
SGTM Usage Aggregate Daily Edge Function
Scheduled cron job that aggregates access log metrics into daily usage records. Runs once per day to process the previous day's data.
Endpoint
POST /sgtm_usage_aggregate_daily
Auth
None - Typically called by cron scheduler
Remarks
sgtm_usage_aggregate_daily_windowRPC functionTables touched:
Returns
200 - "OK" on success
Returns
500 - "Error" on RPC failure