10
Exposing Edge Function Metrics in the Prometheus-compatible Metrics Endpoint
Source: supabase/supabase#17269 · opened by @brettimus
Hello! So, [the Prometheus-compatible metrics endpoint]( is cool, and really useful. One thing that would be even _cooler_ is if that endpoint exposed metrics for edge functions as well. (I'm drawing inspiration from [this Reddit post]( Specifically, if the metrics endpoint exposed series that could help calculate: • rate of invocations • ratio of errors • latency I get the sense that exposing the request and error counts would be straightforward, though I know latency is a little tricky due to choosing the correct histogram buckets in Prometheus (or VictoriaMetrics, which I think you all are using at Supabase). I'm not sure if this is already in the works, but if not, I'd also like to use this thread to suggest naming conventions for the series and labels, which would be similar to how we record function-level metrics in [an open-source project]( I work on. Here's an example of a counter for function invocations that can track s…
No pledges yet. Be the first to back this.
Comments
Similar requests
Add a scoped, read-only metrics / monitoring API key (alternative to service_role)
7 votes · 0 comments
Enable Syncing of Vault and Edge Function Secrets
1 vote · 0 comments
Metrics, Prometheus etc.
3 votes · 0 comments
Edge Function runtime events
1 vote · 0 comments
Feature Request: Add Descriptions for Edge Functions
2 votes · 0 comments
No comments yet.