🤖 Sync generated docs from sourcegraph/sourcegraph - #1883
🤖 Sync generated docs from sourcegraph/sourcegraph#1883sourcegraph-buildkite wants to merge 1 commit into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
39b8e84 to
bc22e86
Compare
bc22e86 to
7d56216
Compare
7d56216 to
d765981
Compare
d765981 to
80fb54e
Compare
…#1899) ## What Rewrites every link to this site that was written as an absolute URL (`https://sourcegraph.com/docs/…`, `http://sourcegraph.com/docs/…`, `https://docs.sourcegraph.com/…`) as a relative link (`/admin/config/site-config`), in 15 files. - 32 pointed at the current route: prefix dropped. - 31 pointed at a moved page and only worked through `src/data/redirects.ts`: now link straight to the destination. - 4 needed a hand fix: the `commands#commands-id-mode` and `features#shard-merging` anchors no longer exist, `github#github-com-rate-limits` became `#rate-limits`, and the deleted gRPC guide now links to its archived 5.3 page. ## Why Absolute links leave the Vercel preview and the local dev server, and hide moved pages behind redirects. #1858 makes `dev/check-links.mjs` fail PRs that add them; this PR clears the backlog so that check starts from zero. ## Verification `node dev/check-links.mjs --check-anchors --root <this branch>` with the checker from #1858: 0 absolute self-links left, and no new findings against `main` (317 → 250 pre-existing findings; the 67 removed are all self-links). ## Notes for reviewers - Bare URLs in prose and code blocks (e.g. the `See https://docs.sourcegraph.com/admin/observability/tracing` cells in `docs/cli/references/*`) are not links and are untouched; #1851 covers those. - `docs/admin/repo/perforce.mdx`, `docs/self-hosted/observability/alerts.mdx` and `dashboards.mdx` are synced from sourcegraph/sourcegraph (#1883); the same links need the same fix upstream or the next sync reverts them. - `docs/technical-changelog.mdx` holds 31 of the links and is retired by #1888; if that lands first, take the deletion. Co-authored-by: Amp <amp@ampcode.com>
80fb54e to
91d8a8e
Compare
❌ This PR introduces 26 broken link(s)OutboundYour PR includes links to pages or anchors that do not exist, or absolute links to this site.
Write links to this site as relative paths ( Reproduce locally with Adding a redirect in |
| # Private metadata allowlist | ||
|
|
||
| This document lists all telemetry events that are allowed to export specific `privateMetadata` fields (from within [telemetry event parameters](/admin/telemetry/protocol#telemetrygateway-v1-EventParameters)). | ||
| This document lists all telemetry events that are allowed to export specific `privateMetadata` fields (from within [telemetry event parameters](https://sourcegraph.com/docs/admin/telemetry/protocol#telemetrygateway-v1-EventParameters)). |
There was a problem hiding this comment.
https://sourcegraph.com/docs/admin/telemetry/protocol#telemetrygateway-v1-EventParameters: Absolute self-link; use "/admin/telemetry/protocol#telemetrygateway-v1-EventParameters" instead
| This document lists all telemetry events that are allowed to export specific `privateMetadata` fields (from within [telemetry event parameters](https://sourcegraph.com/docs/admin/telemetry/protocol#telemetrygateway-v1-EventParameters)). | |
| This document lists all telemetry events that are allowed to export specific `privateMetadata` fields (from within [telemetry event parameters](/admin/telemetry/protocol#telemetrygateway-v1-EventParameters)). |
|
|
||
| The only `metadata` we collect by default are non-sensitive numeric values. | ||
| To learn more, refer to the [telemetry documentation](/admin/telemetry). | ||
| To learn more, refer to the [telemetry documentation](https://sourcegraph.com/docs/admin/telemetry). |
There was a problem hiding this comment.
https://sourcegraph.com/docs/admin/telemetry: Absolute self-link; use "/admin/telemetry" instead
| To learn more, refer to the [telemetry documentation](https://sourcegraph.com/docs/admin/telemetry). | |
| To learn more, refer to the [telemetry documentation](/admin/telemetry). |
| This page contains the core schema for telemetry event data that gets exported from Sourcegraph. | ||
|
|
||
| To learn more, refer to our [telemetry documentation](/admin/telemetry). | ||
| To learn more, refer to our [telemetry documentation](https://sourcegraph.com/docs/admin/telemetry). |
There was a problem hiding this comment.
https://sourcegraph.com/docs/admin/telemetry: Absolute self-link; use "/admin/telemetry" instead
| To learn more, refer to our [telemetry documentation](https://sourcegraph.com/docs/admin/telemetry). | |
| To learn more, refer to our [telemetry documentation](/admin/telemetry). |
| If your alert isn't mentioned here, or if the next steps don't help, [contact us](mailto:support@sourcegraph.com) for assistance. | ||
|
|
||
| To learn more about Sourcegraph's alerting and how to set up alerts, see [our alerting guide](/self-hosted/observability/alerting). | ||
| To learn more about Sourcegraph's alerting and how to set up alerts, see [our alerting guide](https://sourcegraph.com/docs/admin/observability/alerting). |
There was a problem hiding this comment.
https://sourcegraph.com/docs/admin/observability/alerting: Absolute self-link to a moved page; use "/self-hosted/observability/alerting" instead
| To learn more about Sourcegraph's alerting and how to set up alerts, see [our alerting guide](https://sourcegraph.com/docs/admin/observability/alerting). | |
| To learn more about Sourcegraph's alerting and how to set up alerts, see [our alerting guide](/self-hosted/observability/alerting). |
| - **Kubernetes:** Check CPU usage of zoekt-webserver in the indexed-search pod, consider increasing CPU limits in the `indexed-search.Deployment.yaml` if regularly hitting max CPU utilization. | ||
| - **Docker Compose:** Check CPU usage on the Zoekt Web Server dashboard, consider increasing `cpus:` of the zoekt-webserver container in `docker-compose.yml` if regularly hitting max CPU utilization. | ||
| - This alert may indicate that your instance is struggling to process symbols queries on a monorepo, [learn more here](/admin/monorepo). | ||
| - This alert may indicate that your instance is struggling to process symbols queries on a monorepo, [learn more here](https://sourcegraph.com/docs/admin/monorepo). |
There was a problem hiding this comment.
https://sourcegraph.com/docs/admin/monorepo: Absolute self-link; use "/admin/monorepo" instead
| - This alert may indicate that your instance is struggling to process symbols queries on a monorepo, [learn more here](https://sourcegraph.com/docs/admin/monorepo). | |
| - This alert may indicate that your instance is struggling to process symbols queries on a monorepo, [learn more here](/admin/monorepo). |
| **Next steps** | ||
|
|
||
| - Ensure that your [`observability.alerts` configuration](/self-hosted/observability/alerting#setting-up-alerting) (in site configuration) is valid. | ||
| - Ensure that your [`observability.alerts` configuration](https://sourcegraph.com/docs/admin/observability/alerting#setting-up-alerting) (in site configuration) is valid. |
There was a problem hiding this comment.
https://sourcegraph.com/docs/admin/observability/alerting#setting-up-alerting: Absolute self-link to a moved page; use "/self-hosted/observability/alerting#setting-up-alerting" instead
| - Ensure that your [`observability.alerts` configuration](https://sourcegraph.com/docs/admin/observability/alerting#setting-up-alerting) (in site configuration) is valid. | |
| - Ensure that your [`observability.alerts` configuration](/self-hosted/observability/alerting#setting-up-alerting) (in site configuration) is valid. |
| @@ -4,7 +4,7 @@ | |||
|
|
|||
| This document contains a complete reference on Sourcegraph's available dashboards, as well as details on how to interpret the panels and metrics. | |||
|
|
|||
| To learn more about Sourcegraph's metrics and how to view these dashboards, see [our metrics guide](/self-hosted/observability/metrics). | |||
| To learn more about Sourcegraph's metrics and how to view these dashboards, see [our metrics guide](https://sourcegraph.com/docs/admin/observability/metrics). | |||
There was a problem hiding this comment.
https://sourcegraph.com/docs/admin/observability/metrics: Absolute self-link to a moved page; use "/self-hosted/observability/metrics" instead
| To learn more about Sourcegraph's metrics and how to view these dashboards, see [our metrics guide](https://sourcegraph.com/docs/admin/observability/metrics). | |
| To learn more about Sourcegraph's metrics and how to view these dashboards, see [our metrics guide](/self-hosted/observability/metrics). |
| @@ -16542,11 +16720,11 @@ max by (type) (ceil(rate(src_repo_perms_syncer_sync_errors_total[1m]))) | |||
| <p class="subtitle">Rate of users/repos scheduled for permissions sync</p> | |||
|
|
|||
| Indicates the per-minute rate at which users/repositories are scheduled for a permissions sync. | |||
| More about repository permissions synchronization [here](/admin/permissions/syncing#scheduling) | |||
| More about repository permissions synchronization [here](https://sourcegraph.com/docs/admin/permissions/syncing#scheduling) | |||
There was a problem hiding this comment.
https://sourcegraph.com/docs/admin/permissions/syncing#scheduling: Absolute self-link; use "/admin/permissions/syncing#scheduling" instead
| More about repository permissions synchronization [here](https://sourcegraph.com/docs/admin/permissions/syncing#scheduling) | |
| More about repository permissions synchronization [here](/admin/permissions/syncing#scheduling) |
| @@ -26272,7 +26628,7 @@ sum by(job) (scrape_samples_post_metric_relabeling{job!=""}) | |||
| A high value here indicates Prometheus rule evaluation is taking longer than expected. | |||
| It might indicate that certain rule groups are taking too long to evaluate, or Prometheus is underprovisioned. | |||
|
|
|||
| Rules that Sourcegraph ships with are grouped under `/sg_config_prometheus`. [Custom rules are grouped under `/sg_prometheus_addons`](/self-hosted/observability/metrics#prometheus-configuration). | |||
| Rules that Sourcegraph ships with are grouped under `/sg_config_prometheus`. [Custom rules are grouped under `/sg_prometheus_addons`](https://sourcegraph.com/docs/admin/observability/metrics#prometheus-configuration). | |||
There was a problem hiding this comment.
https://sourcegraph.com/docs/admin/observability/metrics#prometheus-configuration: Absolute self-link to a moved page; use "/self-hosted/observability/metrics#prometheus-configuration" instead
| Rules that Sourcegraph ships with are grouped under `/sg_config_prometheus`. [Custom rules are grouped under `/sg_prometheus_addons`](https://sourcegraph.com/docs/admin/observability/metrics#prometheus-configuration). | |
| Rules that Sourcegraph ships with are grouped under `/sg_config_prometheus`. [Custom rules are grouped under `/sg_prometheus_addons`](/self-hosted/observability/metrics#prometheus-configuration). |
| @@ -26296,7 +26652,7 @@ sum by(rule_group) (avg_over_time(prometheus_rule_group_last_duration_seconds[10 | |||
|
|
|||
| <p class="subtitle">Failed prometheus rule evaluations over 5m by rule group</p> | |||
|
|
|||
| Rules that Sourcegraph ships with are grouped under `/sg_config_prometheus`. [Custom rules are grouped under `/sg_prometheus_addons`](/self-hosted/observability/metrics#prometheus-configuration). | |||
| Rules that Sourcegraph ships with are grouped under `/sg_config_prometheus`. [Custom rules are grouped under `/sg_prometheus_addons`](https://sourcegraph.com/docs/admin/observability/metrics#prometheus-configuration). | |||
There was a problem hiding this comment.
https://sourcegraph.com/docs/admin/observability/metrics#prometheus-configuration: Absolute self-link to a moved page; use "/self-hosted/observability/metrics#prometheus-configuration" instead
| Rules that Sourcegraph ships with are grouped under `/sg_config_prometheus`. [Custom rules are grouped under `/sg_prometheus_addons`](https://sourcegraph.com/docs/admin/observability/metrics#prometheus-configuration). | |
| Rules that Sourcegraph ships with are grouped under `/sg_config_prometheus`. [Custom rules are grouped under `/sg_prometheus_addons`](/self-hosted/observability/metrics#prometheus-configuration). |
91d8a8e to
52f98f3
Compare
52f98f3 to
cda1eee
Compare
|
I'm working on unblocking this in |
This is an automated pull request, created by //doc:generated.push on sourcegraph/sourcegraph