Skip to content

Commit 06c20a2

Browse files
authored
Merge pull request github#34505 from github/repo-sync
Repo sync
2 parents 526a2d0 + 2c1953a commit 06c20a2

File tree

15 files changed

+284
-160
lines changed

15 files changed

+284
-160
lines changed
104 KB
Loading

content/admin/monitoring-and-managing-your-instance/monitoring-your-instance/recommended-alert-thresholds.md

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -24,37 +24,39 @@ shortTitle: Recommended alert thresholds
2424

2525
## About recommended alert thresholds
2626

27-
You can configure external monitoring systems to alert you to storage, CPU, and memory usage that may cause problems with {% data variables.location.product_location %}. For more information, see "[AUTOTITLE](/admin/enterprise-management/monitoring-your-appliance/setting-up-external-monitoring)."
27+
You can configure external monitoring systems to alert you to storage, CPU, and memory usage that may cause problems with {% data variables.location.product_location %}. For more information, see "[AUTOTITLE](/admin/enterprise-management/monitoring-your-appliance/setting-up-external-monitoring)" and "[AUTOTITLE](/admin/monitoring-and-managing-your-instance/monitoring-your-instance/accessing-the-monitor-dashboard)."
2828

2929
## Monitoring storage
3030

3131
We recommend that you monitor both the root and user storage devices and configure an alert with values that allow for ample response time when available disk space is low.
3232

3333
| Severity | Threshold |
3434
| -------- | --------- |
35-
| **Warning** | Disk use exceeds 70% of total available |
36-
| **Critical** | Disk use exceeds 85% of total available |
35+
| **Warning** | Disk use exceeds 60% of total available |
36+
| **Critical** | Disk use exceeds 75% of total available |
3737

3838
You can adjust these values based on the total amount of storage allocated, historical growth patterns, and expected time to respond. We recommend over-allocating storage resources to allow for growth and prevent the downtime required to allocate additional storage.
3939

4040
## Monitoring CPU and load average usage
4141

42-
Although it is normal for CPU usage to fluctuate based on resource-intense Git operations, we recommend configuring an alert for abnormally high CPU utilization, as prolonged spikes can mean your instance is under-provisioned. We recommend monitoring the fifteen-minute system load average for values nearing or exceeding the number of CPU cores allocated to the virtual machine.
42+
Although it is normal for CPU usage to fluctuate based on resource-intense Git operations, we recommend configuring an alert for abnormally high CPU utilization, as prolonged spikes can mean your instance is under-provisioned. Additionally, we recommend monitoring CPU utilization during a regular work week when the instance is in a healthy state to establish a baseline that can be used as a reference.
4343

4444
| Severity | Threshold |
4545
| -------- | --------- |
46-
| **Warning** | Fifteen minute load average exceeds 1x CPU cores |
47-
| **Critical** | Fifteen minute load average exceeds 2x CPU cores |
46+
| **Warning** | 20% above the baseline |
47+
| **Critical** | 40% above the baseline |
4848

4949
We also recommend that you monitor virtualization "steal" time to ensure that other virtual machines running on the same host system are not using all of the instance's resources.
5050

5151
## Monitoring memory usage
5252

53-
The amount of physical memory allocated to {% data variables.location.product_location %} can have a large impact on overall performance and application responsiveness. The system is designed to make heavy use of the kernel disk cache to speed up Git operations. We recommend that the normal RSS working set fit within 50% of total available RAM at peak usage.
53+
The amount of physical memory allocated to {% data variables.location.product_location %} can have a large impact on overall performance and application responsiveness. The system is designed to make heavy use of the kernel disk cache to speed up Git operations. We recommend that the amount of physical memory assigned to the processes fit within 50% of total available RAM at peak usage.
5454

5555
| Severity | Threshold |
5656
| -------- | --------- |
57-
| **Warning** | Sustained RSS usage exceeds 50% of total available memory |
58-
| **Critical** | Sustained RSS usage exceeds 70% of total available memory |
57+
| **Warning** | Sustained memory usage exceeds 50% of total available memory |
58+
| **Critical** | Sustained memory usage exceeds 70% of total available memory |
59+
60+
Nevertheless, for cluster installations, we recommend following a similar approach to CPU monitoring: establish a baseline that defines what is considered normal usage, and set the threshold accordingly. This threshold may also vary between roles.
5961

6062
If memory is exhausted, the kernel OOM killer will attempt to free memory resources by forcibly killing RAM heavy application processes, which could result in a disruption of service. We recommend allocating more memory to the virtual machine than is required in the normal course of operations.

content/desktop/configuring-and-customizing-github-desktop/configuring-a-default-editor-in-github-desktop.md

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,12 @@ versions:
1010
feature: desktop
1111
shortTitle: Configure default editor
1212
---
13-
## Supported editors
1413

15-
{% data variables.product.prodname_desktop %} supports the following editors. If you installed an editor while {% data variables.product.prodname_desktop %} was open you will need to quit and reopen {% data variables.product.prodname_desktop %} in order for the editor to be detected.
14+
## Introduction
15+
16+
{% data variables.product.prodname_desktop %} provides support for a number of editors, and also allows you to select a custom editor if your preferred editor is not supported. If you installed an editor while {% data variables.product.prodname_desktop %} was open you will need to quit and reopen {% data variables.product.prodname_desktop %} in order for the editor to be detected.
17+
18+
## Supported editors
1619

1720
{% mac %}
1821

@@ -97,6 +100,17 @@ shortTitle: Configure default editor
97100

98101
{% endwindows %}
99102

103+
## Configuring a custom editor
104+
105+
{% data reusables.desktop.mac-select-desktop-menu %}
106+
1. In the Preferences window, select **Integrations**.
107+
![Screenshot of the "Preferences" window. In the left sidebar, the "Integrations" option is highlighted in blue and outlined in orange.](/assets/images/help/desktop/mac-select-integrations-pane.png)
108+
1. Under "External Editor", use the dropdown menu to select **Configure Custom Editor**.
109+
![Screenshot of the "Preferences window. Under "External Editor", the dropdown menu is displayed with "Configure Custom Editor" highlighted in blue and outlined in orange.](/assets/images/help/desktop/configure-custom-editor.png)
110+
1. Click **Choose** to open the system dialog to navigate to the path of your custom editor.
111+
1. Under "Arguments", enter any arguments you would like to use after the "%TARGET_PATH%" variable. Reference supporting documentation for your custom editor to ensure you have the arguments set correctly, as invalid arguments can prevent the editor from launching in {% data variables.product.prodname_desktop %}.
112+
1. Click **Save**.
113+
100114
## Opening a repository in the default editor
101115

102116
To open the current repository in the default editor, you can use the menu bar:

data/code-languages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ text:
6565
name: Text
6666
comment: number
6767
typescript:
68-
name: Typescript
68+
name: TypeScript
6969
comment: slash
7070
xml:
7171
name: XML

src/audit-logs/lib/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
"apiOnlyEvents": "This event is not available in the web interface, only via the REST API, audit log streaming, or JSON/CSV exports.",
44
"apiRequestEvent": "This event is only available via audit log streaming."
55
},
6-
"sha": "0da185a95ffe0bea6a17eb08ac06a03b5729e751"
6+
"sha": "30ee4d895a808d2e9d1f96fe142fb9f939e57efb"
77
}

src/github-apps/lib/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,5 +60,5 @@
6060
"2022-11-28"
6161
]
6262
},
63-
"sha": "272a391f5bfe7d533f35ecfb65adfcf137162fb3"
63+
"sha": "fe797834e6a9f3216737d6e0bc9fb3237ecb7957"
6464
}

0 commit comments

Comments
 (0)