FeatureFuel
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.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests