Skip to content

Commit 1c2286b

Browse files
committed
feat(gateway): add readiness probe metrics and test-only store close
Emit Prometheus readiness metrics for database probes (healthy gauge and outcome-labeled latency histogram) with coverage in health HTTP tests. Restrict Store::close behind test support cfg to prevent accidental runtime pool shutdown under live traffic. Signed-off-by: Adrien Langou <alangou@nvidia.com>
1 parent 0797fef commit 1c2286b

13 files changed

Lines changed: 574 additions & 33 deletions

crates/openshell-server/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ nix = { workspace = true }
9191

9292
[features]
9393
dev-settings = ["openshell-core/dev-settings"]
94+
test-support = []
9495

9596
[dev-dependencies]
9697
hyper-rustls = { version = "0.27", default-features = false, features = ["native-tokio", "http1", "tls12", "logging", "ring", "webpki-tokio"] }

0 commit comments

Comments
 (0)