Cian Johnston
d7439a9de0
feat: add Prometheus metrics for chatd subsystem (#24371)
Adds 7 Prometheus metrics to the chatd subsystem and introduces typed
`ActivityBumpReason` for deadline bump attribution.
| Metric | Type | Labels |
|--------|------|--------|
| `coderd_chatd_chats` | Gauge | `state` (streaming, waiting) |
| `coderd_chatd_message_count` | Histogram | `provider` |
| `coderd_chatd_prompt_size_bytes` | Histogram | `provider` |
| `coderd_chatd_tool_result_size_bytes` | Histogram | `provider`,
`tool_name` |
| `coderd_chatd_ttft_seconds` | Histogram | `provider` |
| `coderd_chatd_compaction_total` | Counter | `provider`, `result` |
| `coderd_chatd_steps_total` | Counter | `provider` |
> 🤖
2026-04-15 19:53:10 +01:00
..
2025-12-15 17:41:47 +00:00
2026-01-22 10:43:13 +04:00
2026-04-15 19:53:10 +01:00
2026-04-06 20:43:49 +02:00
2026-02-02 13:53:02 +01:00
2026-02-06 16:08:59 +00:00
2026-04-10 09:34:11 -06:00
2026-04-09 10:07:50 +00:00
2026-04-08 13:03:18 +00:00
2026-04-07 12:25:32 -06:00
2025-12-09 13:03:02 +02:00