supabase / supavisor

A cloud-native, multi-tenant Postgres connection pooler.
https://supabase.github.io/supavisor/
Apache License 2.0
1.65k stars 54 forks source link

ft: improve socket metrics gathering #378

Closed hauleth closed 5 days ago

hauleth commented 5 days ago

What kind of change does this PR introduce?

Performance improvement.

What is the current behavior?

We fetch all statistics about socket while we are interested only in 2 values.

What is the new behavior?

Fetch only used values.