You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/admin/monitoring-and-managing-your-instance/monitoring-your-instance/recommended-alert-thresholds.md
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)."
28
28
29
29
## Monitoring storage
30
30
31
31
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.
32
32
33
33
| Severity | Threshold |
34
34
| -------- | --------- |
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 |
37
37
38
38
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.
39
39
40
40
## Monitoring CPU and load average usage
41
41
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.
43
43
44
44
| Severity | Threshold |
45
45
| -------- | --------- |
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|
48
48
49
49
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.
50
50
51
51
## Monitoring memory usage
52
52
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.
54
54
55
55
| Severity | Threshold |
56
56
| -------- | --------- |
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.
59
61
60
62
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.
Copy file name to clipboardExpand all lines: content/desktop/configuring-and-customizing-github-desktop/configuring-a-default-editor-in-github-desktop.md
+16-2Lines changed: 16 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,9 +10,12 @@ versions:
10
10
feature: desktop
11
11
shortTitle: Configure default editor
12
12
---
13
-
## Supported editors
14
13
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.
{% data reusables.desktop.mac-select-desktop-menu %}
106
+
1. In the Preferences window, select **Integrations**.
107
+

108
+
1. Under "External Editor", use the dropdown menu to select **Configure Custom Editor**.
109
+

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
+
100
114
## Opening a repository in the default editor
101
115
102
116
To open the current repository in the default editor, you can use the menu bar:
0 commit comments