feat: add TraceLayer for HTTP service and improve metrics

- Add TraceLayer to HTTP server for request tracing
- Implement system metrics for process monitoring
- Optimize init_telemetry method for better resource management
- Add graceful shutdown handling for telemetry components
- Fix GracefulShutdown ownership issues with Arc wrapper
This commit is contained in:
houseme
2025-04-24 18:22:59 +08:00
parent 92319f190c
commit ef597fff31
19 changed files with 600 additions and 536 deletions
Generated
-1
View File
@@ -525,7 +525,6 @@ version = "0.4.19"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "06575e6a9673580f52661c92107baabffbf41e2141373441cbcdc47cb733003c"
dependencies = [
"brotli",
"bzip2",
"flate2",
"futures-core",