Conrad Ludgate
897cffb9d8
auth_broker: fix local_proxy conn count ( #9593 )
...
our current metrics for http pool opened connections is always negative
:D oops
2024-10-31 14:57:55 +00:00
Folke Behrens
92d5e0e87a
proxy: clear lib.rs of code items ( #9479 )
...
We keep lib.rs for crate configs, lint configs and re-exports for the binaries.
2024-10-23 08:21:28 +02:00
Conrad Ludgate
b8304f90d6
2024 oct new clippy lints ( #9448 )
...
Fixes new lints from `cargo +nightly clippy` (`clippy 0.1.83 (798fb83f
2024-10-16)`)
2024-10-18 10:27:50 +01:00
Ivan Efremov
22d8834474
proxy: move the connection pools to separate file ( #9398 )
...
First PR for #9284
Start unification of the client and connection pool interfaces:
- Exclude the 'global_connections_count' out from the get_conn_entry()
- Move remote connection pools to the conn_pool_lib as a reference
- Unify clients among all the conn pools
2024-10-17 13:38:24 +03:00
Folke Behrens
f14e45f0ce
proxy: format imports with nightly rustfmt ( #9414 )
...
```shell
cargo +nightly fmt -p proxy -- -l --config imports_granularity=Module,group_imports=StdExternalCrate,reorder_imports=true
```
These rust-analyzer settings for VSCode should help retain this style:
```json
"rust-analyzer.imports.group.enable": true,
"rust-analyzer.imports.prefix": "crate",
"rust-analyzer.imports.merge.glob": false,
"rust-analyzer.imports.granularity.group": "module",
"rust-analyzer.imports.granularity.enforce": true,
```
2024-10-16 15:01:56 +02:00
Folke Behrens
54d1185789
proxy: Unalias hyper1 and replace one use of hyper0 in test ( #9324 )
...
Leaves one final use of hyper0 in proxy for the health service,
which requires some coordinated effort with other services.
2024-10-09 12:44:17 +02:00
Conrad Ludgate
8cd7b5bf54
proxy: rename console -> control_plane, rename web -> console_redirect ( #9266 )
...
rename console -> control_plane
rename web -> console_redirect
I think these names are a little more representative.
2024-10-07 14:09:54 +01:00
Conrad Ludgate
94a5ca2817
proxy: auth broker ( #8855 )
...
Opens http2 connection to local-proxy and forwards requests over with
all headers and body
closes https://github.com/neondatabase/cloud/issues/16039
2024-09-30 20:43:45 +01:00