Skip to content

Commit 6873854

Browse files
🤖 Sync generated docs from sourcegraph/sourcegraph (#2070)
This is an automated pull request, created by //doc:generated.push on sourcegraph/sourcegraph Co-authored-by: Buildkite <buildkite@sourcegraph.com>
1 parent e0e2310 commit 6873854

2 files changed

Lines changed: 12 additions & 128 deletions

File tree

‎docs/self-hosted/observability/alerts.mdx‎

Lines changed: 0 additions & 124 deletions
Original file line numberDiff line numberDiff line change
@@ -4257,70 +4257,6 @@ Generated query for warning alert: `max((max_over_time(cadvisor_container_memory
42574257

42584258
<br />
42594259

4260-
## worker: provisioning_container_cpu_usage_short_term
4261-
4262-
<p class="subtitle">container cpu usage total (5m maximum) across all cores by instance</p>
4263-
4264-
**Descriptions**
4265-
4266-
- <span class="badge badge-warning">warning</span> worker: 90%+ container cpu usage total (5m maximum) across all cores by instance for 30m0s
4267-
4268-
**Next steps**
4269-
4270-
- **Kubernetes:** Consider increasing CPU limits in the the relevant `Deployment.yaml`.
4271-
- **Docker Compose:** Consider increasing `cpus:` of the worker container in `docker-compose.yml`.
4272-
- Learn more about the related dashboard panel in the [dashboards reference](dashboards#worker-provisioning_container_cpu_usage_short_term).
4273-
- **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:
4274-
4275-
```json
4276-
"observability.silenceAlerts": [
4277-
"warning_worker_provisioning_container_cpu_usage_short_term"
4278-
]
4279-
```
4280-
4281-
<sub>*Managed by the Sourcegraph Code Plane team.*</sub>
4282-
4283-
<details>
4284-
<summary>Technical details</summary>
4285-
4286-
Generated query for warning alert: `max((max_over_time(cadvisor_container_cpu_usage_percentage_total{name=~"^worker.*"}[5m])) &gt;= 90)`
4287-
4288-
</details>
4289-
4290-
<br />
4291-
4292-
## worker: provisioning_container_memory_usage_short_term
4293-
4294-
<p class="subtitle">container memory usage (5m maximum) by instance</p>
4295-
4296-
**Descriptions**
4297-
4298-
- <span class="badge badge-warning">warning</span> worker: 90%+ container memory usage (5m maximum) by instance
4299-
4300-
**Next steps**
4301-
4302-
- **Kubernetes:** Consider increasing memory limit in relevant `Deployment.yaml`.
4303-
- **Docker Compose:** Consider increasing `memory:` of worker container in `docker-compose.yml`.
4304-
- Learn more about the related dashboard panel in the [dashboards reference](dashboards#worker-provisioning_container_memory_usage_short_term).
4305-
- **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:
4306-
4307-
```json
4308-
"observability.silenceAlerts": [
4309-
"warning_worker_provisioning_container_memory_usage_short_term"
4310-
]
4311-
```
4312-
4313-
<sub>*Managed by the Sourcegraph Code Plane team.*</sub>
4314-
4315-
<details>
4316-
<summary>Technical details</summary>
4317-
4318-
Generated query for warning alert: `max((max_over_time(cadvisor_container_memory_usage_percentage_total{name=~"^worker.*"}[5m])) &gt;= 90)`
4319-
4320-
</details>
4321-
4322-
<br />
4323-
43244260
## worker: container_oomkill_events_total
43254261

43264262
<p class="subtitle">container OOMKILL events total by instance</p>
@@ -4383,36 +4319,6 @@ Generated query for warning alert: `max((max by (instance) (go_goroutines{job=~"
43834319

43844320
<br />
43854321

4386-
## worker: go_gc_duration_seconds
4387-
4388-
<p class="subtitle">maximum go garbage collection duration</p>
4389-
4390-
**Descriptions**
4391-
4392-
- <span class="badge badge-warning">warning</span> worker: 2s+ maximum go garbage collection duration
4393-
4394-
**Next steps**
4395-
4396-
- Learn more about the related dashboard panel in the [dashboards reference](dashboards#worker-go_gc_duration_seconds).
4397-
- **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:
4398-
4399-
```json
4400-
"observability.silenceAlerts": [
4401-
"warning_worker_go_gc_duration_seconds"
4402-
]
4403-
```
4404-
4405-
<sub>*Managed by the Sourcegraph Code Plane team.*</sub>
4406-
4407-
<details>
4408-
<summary>Technical details</summary>
4409-
4410-
Generated query for warning alert: `max((max by (instance) (go_gc_duration_seconds{job=~".*worker"})) &gt;= 2)`
4411-
4412-
</details>
4413-
4414-
<br />
4415-
44164322
## worker: pods_available_percentage
44174323

44184324
<p class="subtitle">percentage pods available</p>
@@ -6624,36 +6530,6 @@ Generated query for warning alert: `max((max by (sg_instance) (go_goroutines{sg_
66246530

66256531
<br />
66266532

6627-
## executor: go_gc_duration_seconds
6628-
6629-
<p class="subtitle">maximum go garbage collection duration</p>
6630-
6631-
**Descriptions**
6632-
6633-
- <span class="badge badge-warning">warning</span> executor: 2s+ maximum go garbage collection duration
6634-
6635-
**Next steps**
6636-
6637-
- Learn more about the related dashboard panel in the [dashboards reference](dashboards#executor-go_gc_duration_seconds).
6638-
- **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:
6639-
6640-
```json
6641-
"observability.silenceAlerts": [
6642-
"warning_executor_go_gc_duration_seconds"
6643-
]
6644-
```
6645-
6646-
<sub>*Managed by the Sourcegraph Code Plane team.*</sub>
6647-
6648-
<details>
6649-
<summary>Technical details</summary>
6650-
6651-
Generated query for warning alert: `max((max by (sg_instance) (go_gc_duration_seconds{sg_job=~".*sourcegraph-executors"})) &gt;= 2)`
6652-
6653-
</details>
6654-
6655-
<br />
6656-
66576533
## codeintel-uploads: codeintel_uploads_janitor_scip_documents_oldest_dereference_log_age
66586534

66596535
<p class="subtitle">approximate age of the oldest SCIP document dereference log record, based on the lowest-ID record</p>

‎docs/self-hosted/observability/dashboards.mdx‎

Lines changed: 12 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)