Metrics are gathered with normal priority. That can have performance impact on core of the application.
What is the new behavior?
Lower priority of the metrics gathering process to not interfere with core of the application. This may cause some irregularities in gathered metrics, but at the same time it should reduce performance fluctuations of Supabase core.
What kind of change does this PR introduce?
Performance improvement.
What is the current behavior?
Metrics are gathered with normal priority. That can have performance impact on core of the application.
What is the new behavior?
Lower priority of the metrics gathering process to not interfere with core of the application. This may cause some irregularities in gathered metrics, but at the same time it should reduce performance fluctuations of Supabase core.