Files
neon/proxy/src
Conrad Ludgate d4dc86f8e3 proxy: more connection metrics (#5464)
## Problem

Hard to tell 
1. How many clients are connected to proxy
2. How many requests clients are making
3. How many connections are made to a database

1 and 2 are different because of the properties of HTTP.

We have 2 already tracked through `proxy_accepted_connections_total` and
`proxy_closed_connections_total`, but nothing for 1 and 3

## Summary of changes

Adds 2 new counter gauges.

*
`proxy_opened_client_connections_total`,`proxy_closed_client_connections_total`
- how many client connections are open to proxy
*
`proxy_opened_db_connections_total`,`proxy_closed_db_connections_total`
- how many active connections are made through to a database.

For TCP and Websockets, we expect all 3 of these quantities to be
roughly the same, barring users connecting but with invalid details.

For HTTP:
* client_connections/connections can differ because the client
connections can be reused.
* connections/db_connections can differ because of connection pooling.
2023-10-10 16:33:20 +01:00
..
2023-10-05 07:30:28 +01:00
2023-08-17 12:05:54 +01:00
2023-07-04 14:54:59 +01:00
2023-05-15 23:45:04 +02:00
2023-07-17 15:53:01 +01:00
2023-06-02 21:03:12 +03:00
2023-08-10 17:49:24 +01:00
2023-08-31 14:30:25 +03:00
2023-09-28 11:38:26 +01:00
2023-08-31 14:30:25 +03:00
2023-08-30 15:14:03 +01:00
2022-07-04 23:46:37 +03:00