Add health endpoint

This commit is contained in:
Alexander
2026-06-30 20:26:06 +02:00
parent 9eb537dfa4
commit 601c466ce4
5 changed files with 414 additions and 0 deletions
Generated
+39
View File
@@ -1720,7 +1720,9 @@ dependencies = [
"tokio",
"tokio-stream",
"tonic",
"tonic-health",
"tonic-prost",
"tonic-reflection",
"tracing",
"tracing-appender",
"tracing-subscriber",
@@ -2096,6 +2098,15 @@ dependencies = [
"syn 2.0.118",
]
[[package]]
name = "prost-types"
version = "0.14.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f94967dc7688f3054c7fac87473ffae4cc4c3904800e2d9f5b857246d8963b0a"
dependencies = [
"prost",
]
[[package]]
name = "ptr_meta"
version = "0.1.4"
@@ -3220,6 +3231,7 @@ dependencies = [
"futures-core",
"pin-project-lite",
"tokio",
"tokio-util",
]
[[package]]
@@ -3294,6 +3306,19 @@ dependencies = [
"tracing",
]
[[package]]
name = "tonic-health"
version = "0.14.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fcfab99db777fba2802f0dfa861d1628d1ae916fb199d29819941f139ae85082"
dependencies = [
"prost",
"tokio",
"tokio-stream",
"tonic",
"tonic-prost",
]
[[package]]
name = "tonic-prost"
version = "0.14.6"
@@ -3305,6 +3330,20 @@ dependencies = [
"tonic",
]
[[package]]
name = "tonic-reflection"
version = "0.14.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "acccd136a4bf19810a1fde9c74edc6129b42a66b44d0c1c8aaa67aeb49a146a7"
dependencies = [
"prost",
"prost-types",
"tokio",
"tokio-stream",
"tonic",
"tonic-prost",
]
[[package]]
name = "tower"
version = "0.5.3"