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/admin/code-hosts/aws-codecommit.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ AWS CodeCommit connections support the following configuration options, which ar

{/* SCHEMA_SYNC_START: admin/code_hosts/aws_codecommit.schema.json */}
{/* WARNING: This section is auto-generated during releases. Do not edit manually. */}
{/* Last updated: 2026-01-22T04:55:03Z */}
{/* Last updated: 2026-01-29T07:18:06Z */}
```json
{
// REQUIRED:
Expand Down
2 changes: 1 addition & 1 deletion docs/admin/code-hosts/azuredevops.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ Azure DevOps connections support the following configuration options, which are

{/* SCHEMA_SYNC_START: admin/code_hosts/azuredevops.schema.json */}
{/* WARNING: This section is auto-generated during releases. Do not edit manually. */}
{/* Last updated: 2026-01-22T04:55:03Z */}
{/* Last updated: 2026-01-29T07:18:06Z */}
```json
// Authentication alternatives: token OR windowsPassword

Expand Down
2 changes: 1 addition & 1 deletion docs/admin/code-hosts/bitbucket-cloud.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ Bitbucket Cloud connections support the following configuration options, which a

{/* SCHEMA_SYNC_START: admin/code_hosts/bitbucket_cloud.schema.json */}
{/* WARNING: This section is auto-generated during releases. Do not edit manually. */}
{/* Last updated: 2026-01-22T04:55:03Z */}
{/* Last updated: 2026-01-29T07:18:06Z */}
```json
{
// The workspace access token to use when authenticating with Bitbucket Cloud.
Expand Down
2 changes: 1 addition & 1 deletion docs/admin/code-hosts/bitbucket-server.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ Bitbucket Server / Bitbucket Data Center connections support the following confi

{/* SCHEMA_SYNC_START: admin/code_hosts/bitbucket_server.schema.json */}
{/* WARNING: This section is auto-generated during releases. Do not edit manually. */}
{/* Last updated: 2026-01-22T04:55:03Z */}
{/* Last updated: 2026-01-29T07:18:06Z */}
```json
// Authentication alternatives: token OR password

Expand Down
2 changes: 1 addition & 1 deletion docs/admin/code-hosts/gerrit.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ Gerrit connections support the following configuration options, which are specif

{/* SCHEMA_SYNC_START: admin/code_hosts/gerrit.schema.json */}
{/* WARNING: This section is auto-generated during releases. Do not edit manually. */}
{/* Last updated: 2026-01-22T04:55:03Z */}
{/* Last updated: 2026-01-29T07:18:06Z */}
```json
{
// If non-null, enforces Gerrit repository permissions. This requires that there is an item in the [site configuration json](https://sourcegraph.com/docs/admin/config/site_config#auth-providers) `auth.providers` field, of type "gerrit" with the same `url` field as specified in this `GerritConnection`.
Expand Down
2 changes: 1 addition & 1 deletion docs/admin/code-hosts/github.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ GitHub connections support the following configuration options, which are specif

{/* SCHEMA_SYNC_START: admin/code_hosts/github.schema.json */}
{/* WARNING: This section is auto-generated during releases. Do not edit manually. */}
{/* Last updated: 2026-01-22T04:55:03Z */}
{/* Last updated: 2026-01-29T07:18:06Z */}
```json
// Authentication alternatives: token OR gitHubAppDetails OR externalAccount OR useRandomExternalAccount

Expand Down
2 changes: 1 addition & 1 deletion docs/admin/code-hosts/gitlab.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ See [Internal rate limits](/admin/code-hosts/rate-limits#internal-rate-limits).

{/* SCHEMA_SYNC_START: admin/code_hosts/gitlab.schema.json */}
{/* WARNING: This section is auto-generated during releases. Do not edit manually. */}
{/* Last updated: 2026-01-22T04:55:03Z */}
{/* Last updated: 2026-01-29T07:18:06Z */}
```json
{
// If non-null, enforces GitLab repository permissions. This requires that there be an item in the `auth.providers` field of type "gitlab" with the same `url` field as specified in this `GitLabConnection`.
Expand Down
2 changes: 1 addition & 1 deletion docs/admin/code-hosts/gitolite.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ To connect Gitolite to Sourcegraph:

{/* SCHEMA_SYNC_START: admin/code_hosts/gitolite.schema.json */}
{/* WARNING: This section is auto-generated during releases. Do not edit manually. */}
{/* Last updated: 2026-01-22T04:55:03Z */}
{/* Last updated: 2026-01-29T07:18:06Z */}
```json
{
// A list of repositories to never mirror from this Gitolite instance. Supports excluding by exact name ({"name": "foo"}).
Expand Down
2 changes: 1 addition & 1 deletion docs/admin/code-hosts/other.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ Repositories must be listed individually:

{/* SCHEMA_SYNC_START: admin/code_hosts/other_external_service.schema.json */}
{/* WARNING: This section is auto-generated during releases. Do not edit manually. */}
{/* Last updated: 2026-01-22T04:55:03Z */}
{/* Last updated: 2026-01-29T07:18:06Z */}
```json
{
// A list of repositories to never mirror by name after applying repositoryPathPattern. Supports excluding by exact name ({"name": "myrepo"}) or regular expression ({"pattern": ".*secret.*"}).
Expand Down
2 changes: 1 addition & 1 deletion docs/admin/code-hosts/phabricator.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ The Sourcegraph instance's site admin must [update the `corsOrigin` site config

{/* SCHEMA_SYNC_START: admin/code_hosts/phabricator.schema.json */}
{/* WARNING: This section is auto-generated during releases. Do not edit manually. */}
{/* Last updated: 2026-01-22T04:55:03Z */}
{/* Last updated: 2026-01-29T07:18:06Z */}
```json
{
// SSH cipher to use when cloning via SSH. Must be a valid choice from `ssh -Q cipher`.
Expand Down
4 changes: 2 additions & 2 deletions docs/admin/config/settings.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Settings options and their default values are shown below.

{/* SCHEMA_SYNC_START: admin/config/settings.schema.json */}
{/* WARNING: This section is auto-generated during releases. Do not edit manually. */}
{/* Last updated: 2026-01-22T04:55:03Z */}
{/* Last updated: 2026-01-29T07:18:06Z */}
```json
{

Expand All @@ -41,7 +41,7 @@ Settings options and their default values are shown below.
// Whether to show alerts for major and minor version updates. Alerts for patch version updates will be shown if `alerts.showPatchUpdates` is true.
"alerts.showMajorMinorUpdates": true,

// Whether to show alerts for patch version updates. Alerts for major and minor version updates will be shown if `alerts.showMajorMinorUpdatess` is true.
// Whether to show alerts for patch version updates. Alerts for major and minor version updates will be shown if `alerts.showMajorMinorUpdates` is true.
"alerts.showPatchUpdates": true,

// Whether to run global searches over all repositories. On instances with many repositories, this can lead to issues such as: low quality results, slow response times, or significant load on the Sourcegraph instance. Defaults to true.
Expand Down
19 changes: 10 additions & 9 deletions docs/admin/config/site-config.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ All site configuration options and their default values are shown below.

{/* SCHEMA_SYNC_START: admin/config/site.schema.json */}
{/* WARNING: This section is auto-generated during releases. Do not edit manually. */}
{/* Last updated: 2026-01-22T04:55:03Z */}
{/* Last updated: 2026-01-29T07:18:06Z */}
```json
{

Expand Down Expand Up @@ -177,6 +177,9 @@ All site configuration options and their default values are shown below.
// Disable periodically fetching git contents for existing repositories.
"disableAutoGitUpdates": false,

// Disable fetching changelog posts from the external Sourcegraph changelog API. Useful for airgapped environments.
"disableChangelog": false,

// Disable the feedback survey
"disableFeedbackSurvey": false,

Expand Down Expand Up @@ -430,7 +433,7 @@ All site configuration options and their default values are shown below.

"modelConfiguration": null,

// Notifications recieved from Sourcegraph.com to display in Sourcegraph.
// Notifications received from Sourcegraph.com to display in Sourcegraph.
// Other example values:
// - {
// "key": "2023-03-10-my-key",
Expand Down Expand Up @@ -695,7 +698,7 @@ All site configuration options and their default values are shown below.
]
},

// IP allowlist for access to the Sourcegraph instance. If set, only requests from these IP addresses will be allowed. By default client IP is infered connected client IP address, and you may configure to use a request header to determine the user IP.
// IP allowlist for access to the Sourcegraph instance. If set, only requests from these IP addresses will be allowed. By default client IP is inferred connected client IP address, and you may configure to use a request header to determine the user IP.
"auth.allowedIpAddress": {
"clientIpAddress": null,
"enabled": false,
Expand All @@ -709,7 +712,7 @@ All site configuration options and their default values are shown below.
"auth.enableUsernameChanges": false,

// Enables OAuth 2.0 Dynamic Client Registration (RFC 7591) for the Sourcegraph identity provider. When enabled, OAuth clients can self-register programmatically instead of requiring manual pre-configuration. Required for MCP clients and other applications that use dynamic registration for authorization.
"auth.idpDynamicClientRegistrationEnabled": false,
"auth.idpDynamicClientRegistrationEnabled": true,

// The config options for account lockout
// Other example values:
Expand Down Expand Up @@ -762,7 +765,7 @@ All site configuration options and their default values are shown below.
],

// The maximum duration of a user session, after which it expires and the user is required to re-authenticate. The default is 90 days. Must be at least 1 hour. There is typically no need to set this, but some users may have specific internal security requirements.
// The string format is that of the Duration type in the Go time package (https://golang.org/pkg/time/#ParseDuration). E.g., "720h", "43200m", "2592000s" all indicate a timespan of 30 days.
// The string format is that of the Duration type in the Go time package (https://golang.org/pkg/time/#ParseDuration). E.g., "720h", "43200m", "2592000s" all indicate a time span of 30 days.
// Other example values:
// - "168h"
"auth.sessionExpiry": "2160h",
Expand All @@ -779,7 +782,7 @@ All site configuration options and their default values are shown below.
// Other example values:
// - {
// "*": [
// "myorg1"
// "org1"
// ]
// }
"auth.userOrgMap": null,
Expand Down Expand Up @@ -831,7 +834,6 @@ All site configuration options and their default values are shown below.
// "accessToken": "abc123",
// "chatModel": "chat",
// "completionModel": "code-completion",
// "enabled": true,
// "perUserDailyLimit": 100,
// "provider": "openai"
// }
Expand Down Expand Up @@ -952,7 +954,7 @@ All site configuration options and their default values are shown below.
// Maximum number of git clone processes that will be run concurrently per gitserver to update repositories. <= 0 means disabled.
"gitMaxConcurrentCleanups": 5,

// Maximum number of git clone processes that will be run concurrently per gitserver to update repositories. Note: the global git update scheduler respects gitMaxConcurrentClones. However, we allow each gitserver to run upto gitMaxConcurrentClones to allow for urgent fetches. Urgent fetches are used when a user is browsing a PR and we do not have the commit yet.
// Maximum number of git clone processes that will be run concurrently per gitserver to update repositories. Note: the global git update scheduler respects gitMaxConcurrentClones. However, we allow each gitserver to run up to gitMaxConcurrentClones to allow for urgent fetches. Urgent fetches are used when a user is browsing a PR and we do not have the commit yet.
"gitMaxConcurrentClones": 5,

// Record git operations that are executed on configured repositories.
Expand Down Expand Up @@ -1013,7 +1015,6 @@ All site configuration options and their default values are shown below.
// "logo": "https://example.com/logo_dark.png",
// "symbol": "https://example.com/search_symbol_dark_24x24.png"
// },
// "disableSymbolSpin": true,
// "favicon": "https://example.com/favicon.ico",
// "light": {
// "logo": "https://example.com/logo_light.png",
Expand Down
2 changes: 1 addition & 1 deletion docs/admin/repo/perforce.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ With this setting, Sourcegraph will ignore any rules with a host other than `*`,

{/* SCHEMA_SYNC_START: admin/code_hosts/perforce.schema.json */}
{/* WARNING: This section is auto-generated during releases. Do not edit manually. */}
{/* Last updated: 2026-01-22T04:55:03Z */}
{/* Last updated: 2026-01-29T07:18:06Z */}
```json
{
// If non-null, enforces Perforce depot permissions.
Expand Down
105 changes: 105 additions & 0 deletions docs/self-hosted/observability/alerts.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6835,6 +6835,111 @@ Generated query for critical alert: `min((sum by (app) (up{app=~".*otel-collecto

<br />

## deepsearch: deepsearch_questions_in_flight_growth

<p class="subtitle">rate of growth of in-flight questions over 1h</p>

**Descriptions**

- <span class="badge badge-warning">warning</span> deepsearch: 1+ rate of growth of in-flight questions over 1h for 30m0s
- <span class="badge badge-critical">critical</span> deepsearch: 1+ rate of growth of in-flight questions over 1h for 1h0m0s

**Next steps**

- Check for questions that are never stopping.
- Check for slow LLM responses or tool execution times.
- Review `deepsearch_question_processing_duration` for processing time trends.
- More help interpreting this metric is available in the [dashboards reference](dashboards#deepsearch-deepsearch_questions_in_flight_growth).
- **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_deepsearch_deepsearch_questions_in_flight_growth",
"critical_deepsearch_deepsearch_questions_in_flight_growth"
]
```

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

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

Generated query for warning alert: `max((max(deriv(src_deepsearch_questions_in_flight[1h]))) &gt; 1)`

Generated query for critical alert: `max((max(deriv(src_deepsearch_questions_in_flight[1h]))) &gt; 1)`

</details>

<br />

## deepsearch: deepsearch_question_processing_error_rate

<p class="subtitle">question processing error rate over 5m</p>

**Descriptions**

- <span class="badge badge-warning">warning</span> deepsearch: 10%+ question processing error rate over 5m for 10m0s
- <span class="badge badge-critical">critical</span> deepsearch: 20%+ question processing error rate over 5m for 10m0s

**Next steps**

- Check frontend logs for `Worker failed to process question` errors.
- Review LLM stream errors in the `LLM streaming` panel below.
- Check for upstream LLM provider issues.
- More help interpreting this metric is available in the [dashboards reference](dashboards#deepsearch-deepsearch_question_processing_error_rate).
- **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_deepsearch_deepsearch_question_processing_error_rate",
"critical_deepsearch_deepsearch_question_processing_error_rate"
]
```

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

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

Generated query for warning alert: `max((sum(rate(src_deepsearch_question_processing_errors_total{operation="question"\}[5m])) / (sum(rate(src_deepsearch_question_processing_total\{operation="question"}[5m])) &gt; 0) * 100) &gt; 10)`

Generated query for critical alert: `max((sum(rate(src_deepsearch_question_processing_errors_total{operation="question"\}[5m])) / (sum(rate(src_deepsearch_question_processing_total\{operation="question"}[5m])) &gt; 0) * 100) &gt; 20)`

</details>

<br />

## deepsearch: deepsearch_llm_stream_fatal_errors

<p class="subtitle">fatal LLM stream errors over 5m</p>

**Descriptions**

- <span class="badge badge-warning">warning</span> deepsearch: 20+ fatal LLM stream errors over 5m

**Next steps**

- Check frontend logs for `fatal error in LLM stream`.
- More help interpreting this metric is available in the [dashboards reference](dashboards#deepsearch-deepsearch_llm_stream_fatal_errors).
- **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_deepsearch_deepsearch_llm_stream_fatal_errors"
]
```

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

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

Generated query for warning alert: `max((sum(increase(src_deepsearch_question_processing_errors_total{operation="llm_stream_fatal"}[5m]))) &gt; 20)`

</details>

<br />

## background-jobs: error_percentage_by_method

<p class="subtitle">percentage of operations resulting in error by method</p>
Expand Down
Loading