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
..
2026-03-23 17:34:43 +00:00
2026-04-15 15:14:51 +02:00
2026-03-27 01:20:46 +11:00
2026-04-15 19:53:10 +01:00
2026-04-13 12:31:25 +01:00
2026-04-02 19:46:42 +02:00
2026-03-27 01:20:46 +11:00
2026-04-13 19:59:47 +02:00
2026-04-15 11:39:05 +01:00
2026-03-30 11:43:59 +00:00
2026-04-07 14:42:30 +02:00
2026-04-15 19:53:10 +01:00
2026-04-14 10:50:40 +02:00
2026-04-15 19:53:10 +01:00
2026-03-30 17:51:51 +11:00
2026-03-26 18:04:53 +11:00
2026-04-09 16:33:00 +02:00
2026-03-27 18:47:39 +11:00
2026-03-27 18:47:39 +11:00
2026-04-08 11:54:44 -04:00
2026-04-08 11:54:44 -04:00
2026-04-03 20:04:09 +02:00
2026-04-14 10:50:40 +02:00
2026-04-09 16:33:00 +02:00
2026-04-13 12:31:25 +01:00
2026-04-14 10:50:40 +02:00
2026-04-13 19:59:47 +02:00
2026-04-10 10:47:30 +01:00
2026-04-13 12:31:25 +01:00
2026-04-09 13:47:54 +02:00
2026-03-25 14:09:24 +00:00
2026-03-25 14:09:24 +00:00
2026-04-13 12:31:25 +01:00
2026-04-13 12:31:25 +01:00
2026-04-13 12:31:25 +01:00
2026-04-16 00:13:15 +10:00
2026-03-23 17:34:43 +00:00
2026-04-14 16:56:17 +01:00