Skip to content
Merged
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
7 changes: 0 additions & 7 deletions docs/admin/config/site-config.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -713,13 +713,6 @@ All advanced configuration options and their default values are shown below.

"tls.external": null,

// ⚠️ DEPRECATED: DEPRECATED: This setting has no effect.
// DEPRECATED: This setting has no effect.
// Valid options: "release", "none"
// Other example values:
// - "none"
"update.channel": "release",

// Configuration for logging incoming webhooks.
// Other example values:
// - {
Expand Down
38 changes: 36 additions & 2 deletions docs/self-hosted/observability/alerts.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3237,6 +3237,7 @@ Generated query for critical alert: `(min((sum(src_worker_jobs{job=~"^worker.*",
- Check whether the codeintel commit graph updater worker is running and healthy.
- Check worker logs for commit graph update failures.
- Inspect codeintel commit graph freshness and upload processing panels for related backlog or errors.
- Check the commit graph fast path reporter error panel: while the reporter fails, these values are the last ones it computed successfully.
- More help interpreting this metric is available in the [dashboards reference](/self-hosted/observability/dashboards#worker-codeintel_commit_graph_fast_path_oldest_missing_upload_age_seconds).
- **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:

Expand All @@ -3252,9 +3253,42 @@ Generated query for critical alert: `(min((sum(src_worker_jobs{job=~"^worker.*",
<details>
<summary>Technical details</summary>

Generated query for warning alert: `max((max(src_codeintel_commit_graph_fast_path_oldest_missing_upload_age_seconds{job=~"^worker.*"\} and on (instance, job) (increase(src_codeintel_commit_graph_fast_path_reporter_total\{job=~"^worker.*"}[15m]) &gt; 0)) or on () vector(0)) &gt; 21600)`
Generated query for warning alert: `max((max(src_codeintel_commit_graph_fast_path_oldest_missing_upload_age_seconds{job=~"^worker.*"\} and on (instance, job) ((increase(src_codeintel_commit_graph_fast_path_reporter_total\{job=~"^worker.*"\}[15m]) &gt; 0) or on (instance, job) (increase(src_codeintel_commit_graph_fast_path_reporter_errors_total\{job=~"^worker.*"}[15m]) &gt; 0))) or on () vector(0)) &gt; 21600)`

Generated query for critical alert: `max((max(src_codeintel_commit_graph_fast_path_oldest_missing_upload_age_seconds{job=~"^worker.*"\} and on (instance, job) (increase(src_codeintel_commit_graph_fast_path_reporter_total\{job=~"^worker.*"}[15m]) &gt; 0)) or on () vector(0)) &gt; 259200)`
Generated query for critical alert: `max((max(src_codeintel_commit_graph_fast_path_oldest_missing_upload_age_seconds{job=~"^worker.*"\} and on (instance, job) ((increase(src_codeintel_commit_graph_fast_path_reporter_total\{job=~"^worker.*"\}[15m]) &gt; 0) or on (instance, job) (increase(src_codeintel_commit_graph_fast_path_reporter_errors_total\{job=~"^worker.*"}[15m]) &gt; 0))) or on () vector(0)) &gt; 259200)`

</details>

<br />

## worker: codeintel_commit_graph_fast_path_reporter_errors_total

<p class="subtitle">commit graph fast path reporter operation errors every 30m</p>

**Descriptions**

- <span class="badge badge-warning">warning</span> worker: 0+ commit graph fast path reporter operation errors every 30m

**Next steps**

- Failures mean the commit graph fast path panels and alerts above are not being refreshed and show the last successfully computed values.
- Check worker logs for errors from the CodeIntel.CommitGraphFastPathReporter operation. The missing uploads query runs with a 60s statement timeout, so on large instances the most likely failure is the query timing out against the scip_uploads, scip_nearest_uploads and scip_nearest_uploads_links tables.
- Check codeintel-db health and the commit graph updater, which writes the tables the reporter reads.
- Learn more about the related dashboard panel in the [dashboards reference](/self-hosted/observability/dashboards#worker-codeintel_commit_graph_fast_path_reporter_errors_total).
- **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_commit_graph_fast_path_reporter_errors_total"
]
```

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

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

Generated query for warning alert: `max((sum(increase(src_codeintel_commit_graph_fast_path_reporter_errors_total{job=~"^worker.*"}[30m]))) &gt; 0)`

</details>

Expand Down
Loading
Loading