This topic describes monitoring metrics related to client connections in an OBProxy cluster.
client
Definition
The number of connections established between an OBProxy cluster and the client at the current point in time.
Description
| Metric | Metric name | Unit |
|---|---|---|
| client | current_session_client | N/A |
Calculation expression
sum(odp_current_session{sessionType="client",@LABELS}) by (@GBLABELS)
client_connections_usage
Definition
The ratio between the value of the client metric to that of the client_max_connections parameter.
Description
| Metric | Metric name | Unit |
|---|---|---|
| client_connections_usage | client_connection_used_percent | % |
Calculation expression
100 * sum(odp_current_session{sessionType="client",@LABELS}) by (@GBLABELS) / sum(obproxy_client_max_connections{@LABELS}) by (@GBLABELS)