sysown/proxysql

[Question] Does ProxySQL Provide Metrics for User Maximum Connections and Current Connection Usage?

psujit775 opened this issue · 2 comments

ProxySQL 2.1 and later versions include a built-in Prometheus exporter, exposing relevant ProxySQL metrics.

In ProxySQL, we can limit the maximum connections per user or per host group.

Does ProxySQL expose any metrics that can indicate the maximum connections for a user or a host group? Similarly, is there any metric that can provide the current connections used by the user or a host group?

Use Case:

I want to raise an alert if a user or host group has used 80% of their defined max_connections.

Hi @psujit775
Interesting timing...
See #4529

Thanks for the consideration @renecannao . I'll close this and follow #4529