mirror of
https://github.com/andwati/telecom-platform.git
synced 2026-11-20 19:18:46 +00:00
feat: Add HTTP health check endpoints with Redis and eBPF status validation for packet-gateway
- Add axum, serde, serde_json, and chrono dependencies to Cargo.toml - Add health_port CLI argument (defaults to 8081) - Add /health endpoint returning basic health status - Add /health/live endpoint for liveness checks (always returns alive if service is running) - Add /health/ready endpoint for readiness checks with Redis connectivity and eBPF attachment validation - Add AtomicBool to track eBPF attachment status across
This commit is contained in:
@@ -16,6 +16,10 @@ tracing = { workspace = true }
|
||||
tracing-subscriber = { workspace = true }
|
||||
dotenv = { workspace = true }
|
||||
clap = { version = "4.5", features = ["derive"] }
|
||||
axum = "0.8.9"
|
||||
serde = { version = "1.0", features = ["derive"] }
|
||||
serde_json = "1.0"
|
||||
chrono = "0.4"
|
||||
|
||||
[[bin]]
|
||||
name = "packet-gateway"
|
||||
|
||||
Reference in New Issue
Block a user