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-23T17:52:42Z */}
```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-23T17:52:42Z */}
```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-23T17:52:42Z */}
```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-23T17:52:42Z */}
```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-23T17:52:42Z */}
```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-23T17:52:42Z */}
```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-23T17:52:42Z */}
```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-23T17:52:42Z */}
```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-23T17:52:42Z */}
```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-23T17:52:42Z */}
```json
{
// SSH cipher to use when cloning via SSH. Must be a valid choice from `ssh -Q cipher`.
Expand Down
2 changes: 1 addition & 1 deletion 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-23T17:52:42Z */}
```json
{

Expand Down
4 changes: 2 additions & 2 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-23T17:52:42Z */}
```json
{

Expand Down Expand Up @@ -709,7 +709,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
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-23T17:52:42Z */}
```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