Health monitoring: - gitserver: /health endpoint on port 8021 (DB + Redis ping) - git-hook: hyper health server on port 8083 with /health - email-worker: hyper health server on port 8084 with /health - K8s probes updated to httpGet for all three services Metrics (via /metrics endpoint): - git-hook: hook_tasks_total/success/failed/locked/retried/exhausted, hook_sync_branches/tags_changed_total - email: email_queued/consumed/sent/failed_total, email_validation_skipped/build_errors/send_attempts_total
32 lines
929 B
TOML
32 lines
929 B
TOML
[package]
|
|
name = "git-hook"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
authors.workspace = true
|
|
description.workspace = true
|
|
repository.workspace = true
|
|
readme.workspace = true
|
|
homepage.workspace = true
|
|
license.workspace = true
|
|
keywords.workspace = true
|
|
categories.workspace = true
|
|
documentation.workspace = true
|
|
|
|
[dependencies]
|
|
tokio = { workspace = true, features = ["full"] }
|
|
git = { workspace = true }
|
|
observability = { workspace = true }
|
|
db = { workspace = true }
|
|
config = { workspace = true }
|
|
tracing = { workspace = true }
|
|
tracing-subscriber = { workspace = true, features = ["json"] }
|
|
anyhow = { workspace = true }
|
|
clap = { workspace = true, features = ["derive"] }
|
|
tokio-util = { workspace = true }
|
|
hyper = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
sea-orm = { workspace = true }
|
|
metrics-exporter-prometheus = "0.13"
|
|
chrono = { workspace = true, features = ["serde"] }
|
|
reqwest = { workspace = true }
|