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