diff --git a/self-host/customize-deployment/configure-prometheus-metrics-for-self-hosted-lightdash.mdx b/self-host/customize-deployment/configure-prometheus-metrics-for-self-hosted-lightdash.mdx index 22507a89..d555c791 100644 --- a/self-host/customize-deployment/configure-prometheus-metrics-for-self-hosted-lightdash.mdx +++ b/self-host/customize-deployment/configure-prometheus-metrics-for-self-hosted-lightdash.mdx @@ -149,8 +149,9 @@ These metrics track the performance of the AI agent: | `ai_agent_stream_response_duration_ms` | histogram | AI agent stream response time in milliseconds | | | `ai_agent_stream_first_chunk_ms` | histogram | AI agent time to first chunk (any type) | | | `ai_agent_ttft_ms` | histogram | AI agent time to first token (TTFT) | `model`, `mode` | -| `ai_repofs_github_tree_duration_ms` | histogram | Duration of the repoShell GitHub Git Trees fetch (repo listing, once per run) in milliseconds | | +| `ai_repofs_github_tree_duration_ms` | histogram | Duration of the AI agent's GitHub Git Trees fetch (per-repo file listing, on first descent into a mount) in milliseconds | | | `ai_repofs_github_file_duration_ms` | histogram | Duration of a per-file GitHub Contents read in milliseconds | `outcome` (`found`, `missing`, `error`) | +| `ai_repofs_github_requests_total` | counter | Count of AI agent GitHub API requests by kind | `kind` (`tree`, `file`, `search`, `list`) | | `ai_writeback_sandbox_create_duration_ms` | histogram | Duration of AI writeback E2B sandbox create/resume in milliseconds | | | `ai_writeback_compile_duration_ms` | histogram | Duration of in-sandbox `lightdash compile` during AI writeback in milliseconds | `status` | | `ai_writeback_run_duration_ms` | histogram | End-to-end AI writeback run duration in milliseconds | `status` |