mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-27 21:07:05 -05:00
Create rate-limit-metrics edge function
Add an edge function rate-limit-metrics to expose metrics via API, including authentication guards, CORS headers, and multiple query endpoints for recent metrics, stats, and function/user/IP-specific data. Integrates with new metrics and auth helpers and uses existing rate limiter.
This commit is contained in:
@@ -85,3 +85,6 @@ verify_jwt = false
|
||||
|
||||
[functions.scheduled-maintenance]
|
||||
verify_jwt = false
|
||||
|
||||
[functions.rate-limit-metrics]
|
||||
verify_jwt = true
|
||||
|
||||
Reference in New Issue
Block a user