Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/ai/models.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ This reference lists the models currently used by [Sourcegraph AI features](/ai)
| Model | Used by |
| --------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| GPT-5.6 Luna | Change request file grouping, Deep Search compaction, [Code Finder](/api/mcp#code-finder), [Diff Tour](/diff-tour), Agentic Batch Changes workspace analysis, Agentic Batch Changes schema help |
| Claude Sonnet 5 | [Deep Search](/deep-search) |
| Claude Sonnet 5.5 | [Deep Search](/deep-search) |
| GPT-6 Luna | Deep Search categorization, Deep Search answer summaries, Deep Search titles, Agentic Batch Changes titles, Agentic Batch Changes categorization, Agentic Batch Changes diagnostics, Coding agent low Finder, Coding agent medium Finder, Coding agent high Finder |
| GPT-5.4 Nano | [Smart Hover](/code-navigation/smart-hover) |
| Gemini 3.5 Flash-Lite | [Query Assist](/code-search/query-assist), Agentic Batch Changes repository search |
Expand Down
41 changes: 39 additions & 2 deletions docs/self-hosted/observability/alerts.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3225,6 +3225,43 @@ Generated query for critical alert: `max((max(src_codeintel_commit_graph_fast_pa

<br />

## worker: codeintel_uploads_writing_duration

<p class="subtitle">maximum time a processed SCIP upload has been waiting for the destination writer</p>

**Descriptions**

- <span class="badge badge-warning">warning</span> worker: 3600s+ maximum time a processed SCIP upload has been waiting for the destination writer for 15m0s
- <span class="badge badge-critical">critical</span> worker: 86400s+ maximum time a processed SCIP upload has been waiting for the destination writer for 15m0s

**Next steps**

- Check that the worker runs the codeintel-destination-writer job, and its logs for write or promotion errors.
- Check that the worker can reach the codeintel destination bundle store and the code intelligence database.
- Check the codeintel-db dashboard for resource saturation.
- More help interpreting this metric is available in the [dashboards reference](dashboards#worker-codeintel_uploads_writing_duration).
- **Silence this alert:** If you are aware of this alert and want to silence notifications for it, add the following to your site configuration and set a reminder to re-evaluate the alert:

```json
"observability.silenceAlerts": [
"warning_worker_codeintel_uploads_writing_duration",
"critical_worker_codeintel_uploads_writing_duration"
]
```

<sub>*Managed by the Sourcegraph Code Understanding team.*</sub>

<details>
<summary>Technical details</summary>

Generated query for warning alert: `max((max(src_codeintel_uploads_writing_max_age_seconds)) &gt;= 3600)`

Generated query for critical alert: `max((max(src_codeintel_uploads_writing_max_age_seconds)) &gt;= 86400)`

</details>

<br />

## worker: src_repoupdater_max_sync_backoff

<p class="subtitle">time since oldest sync</p>
Expand Down Expand Up @@ -7535,9 +7572,9 @@ Generated query for critical alert: `max((max(src_workerutil_queue_duration_seco
<details>
<summary>Technical details</summary>

Generated query for warning alert: `max((sum(increase(src_agent_runs_total{stop_reason="max_input_tokens",workload="batch_change_agent"}[1h]))) &gt; 0)`
Generated query for warning alert: `max((sum(increase(src_agent_runs_total{agent="main",stop_reason="max_input_tokens",workload="batch_change_agent"}[1h]))) &gt; 0)`

Generated query for critical alert: `max((sum(increase(src_agent_runs_total{stop_reason="max_input_tokens",workload="batch_change_agent"}[1h]))) &gt; 3)`
Generated query for critical alert: `max((sum(increase(src_agent_runs_total{agent="main",stop_reason="max_input_tokens",workload="batch_change_agent"}[1h]))) &gt; 3)`

</details>

Expand Down
Loading
Loading