Files
codex/codex-rs/core/src
T
Abhinav d9c71d41a9 Add OTEL metrics for hook runs (#18026)
# Why
We already emit analytics for completed hook runs, but we don't have
matching OTEL metrics to track hook volume and latency.

# What
- add `codex.hooks.run` and `codex.hooks.run.duration_ms`
- tag both metrics with `hook_name`, `source`, and `status`
- emit the metrics from the completed hook path

Verified locally against a dummy OTLP collector

---------

Co-authored-by: Codex <noreply@openai.com>
d9c71d41a9 ยท 2026-04-16 21:30:38 +00:00
History
..
2026-04-15 19:18:38 -07:00
2026-04-14 14:26:10 -07:00
2026-04-15 19:18:38 -07:00
2026-04-11 13:52:17 -07:00
2026-04-14 14:26:10 -07:00
2026-04-14 14:26:10 -07:00