Commit b300c22
committed
feat(server): add gateway capacity metrics and optional HPA
Expose per-replica supervisor sessions, pending relay capacity, relay
rejections and claim latency, and outbound peer request outcomes and
latency. Use bounded labels and Prometheus histograms for the new latency
metrics while preserving existing summary metrics.
Add an optional Helm HPA with external-database and resource validation,
conservative scale-down defaults, and support for custom metrics. Keep
certificate hook pods outside gateway workload selectors.
Document per-pod scraping, scaling limits and upgrade behavior, and add a
task for PostgreSQL-backed server tests. Ensure legacy test configuration
always uses the selected disposable database, with a regression check in
the standard test suite.
Part of #3528
Signed-off-by: Emilien Macchi <emacchi@redhat.com>1 parent fde79f1 commit b300c22
25 files changed
Lines changed: 2630 additions & 68 deletions
File tree
- .agents/skills/helm-dev-environment
- crates/openshell-server
- src
- tests
- deploy/helm/openshell
- ci
- templates
- tests
- docs
- kubernetes
- observability
- skills/debug-openshell-cluster
- tasks
- scripts
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
449 | 449 | | |
450 | 450 | | |
451 | 451 | | |
| 452 | + | |
452 | 453 | | |
453 | 454 | | |
454 | 455 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
51 | 70 | | |
52 | 71 | | |
53 | 72 | | |
| |||
0 commit comments