gitdataai/apps/git-hook/src
ZhenYi 468007177f
Some checks are pending
CI / Rust Lint & Check (push) Waiting to run
CI / Rust Tests (push) Waiting to run
CI / Frontend Lint & Type Check (push) Waiting to run
CI / Frontend Build (push) Blocked by required conditions
fix(hooks,email): add describe_counter! to pre-register metrics
Hook tasks and email metrics were missing from /metrics because
describe_counter! was never called before install_recorder(), so
unincremented counters were not exported. Room metrics appeared
because RoomMetrics::new() already described them.

- apps/git-hook: describe 8 hook_tasks_*/hook_sync_* counters
- apps/email: describe 8 email_* counters
- both: add metrics = "0.22" as direct dependency
2026-04-26 00:42:59 +08:00
..
args.rs init 2026-04-15 09:08:09 +08:00
main.rs fix(hooks,email): add describe_counter! to pre-register metrics 2026-04-26 00:42:59 +08:00