feat: add opt-in hotpath profiling (#5488)

* feat: add opt-in hotpath profiling

Co-Authored-By: heihutu <heihutu@gmail.com>

* test: fix vault kms client construction

Co-Authored-By: heihutu <heihutu@gmail.com>

---------

Co-authored-by: heihutu <heihutu@gmail.com>
This commit is contained in:
houseme
2026-07-31 01:49:19 +08:00
committed by GitHub
parent 1d3ba1eb8b
commit 7051a5ce41
18 changed files with 113 additions and 52 deletions
+13 -2
View File
@@ -53,18 +53,29 @@ pyroscope = ["rustfs-obs/pyroscope"]
# Tokio runtime telemetry. Requires `--cfg tokio_unstable`; use `make build-profiling`.
dial9 = ["rustfs-obs/dial9"]
hotpath = [
"dep:hotpath",
"hotpath/hotpath",
"hotpath/tokio",
"hotpath/futures",
"hotpath/async-channel",
"hotpath/crossbeam",
"hotpath/parking_lot",
"hotpath/reqwest-0-13",
"rustfs-ecstore/hotpath",
"rustfs-filemeta/hotpath",
"rustfs-rio/hotpath",
]
hotpath-alloc = [
"hotpath/hotpath-alloc",
"rustfs-ecstore/hotpath-alloc",
"rustfs-filemeta/hotpath-alloc",
"rustfs-rio/hotpath-alloc",
]
[lints]
workspace = true
[dependencies]
hotpath = { workspace = true, optional = true }
hotpath.workspace = true
# RustFS Internal Crates
rustfs-heal = { workspace = true }
rustfs-audit = { workspace = true }