Commit a330ba6f authored by Andrew Fontaine's avatar Andrew Fontaine

Merge branch...

Merge branch '330229-okr-admin-area-network-incident-management-limits-review-and-revise-settings-related-ui-text' into 'master'

UI Text: Admin Area-Network/Incident Management Limits

See merge request gitlab-org/gitlab!68828
parents 64bb3a33 b4dd5f7d
...@@ -515,17 +515,23 @@ Plan.default.actual_limits.update!(ci_jobs_trace_size_limit: 125) ...@@ -515,17 +515,23 @@ Plan.default.actual_limits.update!(ci_jobs_trace_size_limit: 125)
## Instance monitoring and metrics ## Instance monitoring and metrics
### Incident Management inbound alert limits ### Limit inbound incident management alerts
> [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/17859) in GitLab 12.5. > [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/17859) in GitLab 12.5.
Limiting inbound alerts for an incident reduces the number of alerts (issues) You can limit the number of inbound alerts for [incidents](../operations/incident_management/incidents.md)
that can be created within a period of time, which can help prevent overloading that can be created in a period of time. The inbound [incident management](../operations/incident_management/index.md)
your incident responders with duplicate issues. You can reduce the volume of alert limit can help prevent overloading your incident responders by reducing the
alerts in the following ways: number of alerts or duplicate issues.
- Max requests per period per project, 3600 seconds by default. To set inbound incident management alert limits:
- Rate limit period in seconds, 3600 seconds by default.
1. On the top bar, select **Menu >** **{admin}** **Admin**.
1. On the left sidebar, select **Settings > Network**.
1. Expand General **Incident Management Limits**.
1. Select the **Enable Incident Management inbound alert limit** checkbox.
1. Optional. Input a custom value for **Maximum requests per project per rate limit period**. Default is 3600.
1. Optional. Input a custom value for **Rate limit period**. Default is 3600 seconds.
### Prometheus Alert JSON payloads ### Prometheus Alert JSON payloads
......
...@@ -98,7 +98,7 @@ To access the default page for Admin Area settings: ...@@ -98,7 +98,7 @@ To access the default page for Admin Area settings:
| [Package Registry Rate Limits](package_registry_rate_limits.md) | Configure specific limits for Packages API requests that supersede the user and IP rate limits. | | [Package Registry Rate Limits](package_registry_rate_limits.md) | Configure specific limits for Packages API requests that supersede the user and IP rate limits. |
| [Outbound requests](../../../security/webhooks.md) | Allow requests to the local network from hooks and services. | | [Outbound requests](../../../security/webhooks.md) | Allow requests to the local network from hooks and services. |
| [Protected Paths](protected_paths.md) | Configure paths to be protected by Rack Attack. | | [Protected Paths](protected_paths.md) | Configure paths to be protected by Rack Attack. |
| [Incident Management](../../../operations/incident_management/index.md) Limits | Configure limits on the number of inbound alerts able to be sent to a project. | | [Incident Management](../../../operations/incident_management/index.md) Limits | Limit the number of inbound alerts that can be sent to a project. |
| [Notes creation limit](rate_limit_on_notes_creation.md)| Set a rate limit on the note creation requests. | | [Notes creation limit](rate_limit_on_notes_creation.md)| Set a rate limit on the note creation requests. |
## Geo ## Geo
......
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
%button.btn.gl-button.btn-default.js-settings-toggle{ type: 'button' } %button.btn.gl-button.btn-default.js-settings-toggle{ type: 'button' }
= expanded_by_default? ? _('Collapse') : _('Expand') = expanded_by_default? ? _('Collapse') : _('Expand')
%p %p
= _('Configure limits on the number of inbound alerts able to be sent to a project.') = _('Limit the number of inbound incident management alerts that can be sent to a project.')
= link_to _('Learn more.'), help_page_path('administration/instance_limits.md', anchor: 'limit-inbound-incident-management-alerts'), target: '_blank', rel: 'noopener noreferrer'
.settings-content .settings-content
= render 'network_incident_management' = render 'network_incident_management'
...@@ -6,14 +6,16 @@ ...@@ -6,14 +6,16 @@
.form-check .form-check
= f.check_box :throttle_incident_management_notification_enabled, class: 'form-check-input', data: { qa_selector: 'throttle_unauthenticated_checkbox' } = f.check_box :throttle_incident_management_notification_enabled, class: 'form-check-input', data: { qa_selector: 'throttle_unauthenticated_checkbox' }
= f.label :throttle_incident_management_notification_enabled, class: 'form-check-label' do = f.label :throttle_incident_management_notification_enabled, class: 'form-check-label' do
= _('Enable Incident Management inbound alert limit') = _('Enable incident management inbound alert limit')
%span.form-text.text-muted %span.form-text.gl-text-gray-600
= _('Helps reduce alert volume (e.g. if creating too many issues)') = _('Reduce incident management alert volume (for example, if too many issues are being created).')
.form-group .form-group
= f.label :throttle_incident_management_notification_period_in_seconds, 'Max requests per period per project', class: 'label-bold' = f.label :throttle_incident_management_notification_period_in_seconds, 'Maximum requests per project per rate limit period', class: 'gl-font-weight-bold'
= f.number_field :throttle_incident_management_notification_period_in_seconds, class: 'form-control gl-form-input' = f.number_field :throttle_incident_management_notification_period_in_seconds, class: 'form-control gl-form-input'
.form-group .form-group
= f.label :throttle_incident_management_notification_per_period, 'Rate limit period in seconds', class: 'label-bold' = f.label :throttle_incident_management_notification_per_period, 'Rate limit period', class: 'gl-font-weight-bold'
= f.number_field :throttle_incident_management_notification_per_period, class: 'form-control gl-form-input' = f.number_field :throttle_incident_management_notification_per_period, class: 'form-control gl-form-input'
.form-text.gl-text-gray-600
= _("The time period in seconds that the maximum requests per project limit applies to.")
= f.submit _('Save changes'), class: "gl-button btn btn-confirm" = f.submit _('Save changes'), class: "gl-button btn btn-confirm"
...@@ -8497,9 +8497,6 @@ msgstr "" ...@@ -8497,9 +8497,6 @@ msgstr ""
msgid "Configure limits for web and API requests." msgid "Configure limits for web and API requests."
msgstr "" msgstr ""
msgid "Configure limits on the number of inbound alerts able to be sent to a project."
msgstr ""
msgid "Configure paths to be protected by Rack Attack." msgid "Configure paths to be protected by Rack Attack."
msgstr "" msgstr ""
...@@ -12350,9 +12347,6 @@ msgstr "" ...@@ -12350,9 +12347,6 @@ msgstr ""
msgid "Enable Gitpod?" msgid "Enable Gitpod?"
msgstr "" msgstr ""
msgid "Enable Incident Management inbound alert limit"
msgstr ""
msgid "Enable Invisible Captcha during sign up" msgid "Enable Invisible Captcha during sign up"
msgstr "" msgstr ""
...@@ -12440,6 +12434,9 @@ msgstr "" ...@@ -12440,6 +12434,9 @@ msgstr ""
msgid "Enable in-product marketing emails" msgid "Enable in-product marketing emails"
msgstr "" msgstr ""
msgid "Enable incident management inbound alert limit"
msgstr ""
msgid "Enable integration" msgid "Enable integration"
msgstr "" msgstr ""
...@@ -16499,9 +16496,6 @@ msgstr "" ...@@ -16499,9 +16496,6 @@ msgstr ""
msgid "Helps prevent malicious users hide their activity" msgid "Helps prevent malicious users hide their activity"
msgstr "" msgstr ""
msgid "Helps reduce alert volume (e.g. if creating too many issues)"
msgstr ""
msgid "Helps reduce request volume (e.g. from crawlers or abusive bots)" msgid "Helps reduce request volume (e.g. from crawlers or abusive bots)"
msgstr "" msgstr ""
...@@ -20065,6 +20059,9 @@ msgstr "" ...@@ -20065,6 +20059,9 @@ msgstr ""
msgid "Limit the number of concurrent operations this secondary node can run in the background." msgid "Limit the number of concurrent operations this secondary node can run in the background."
msgstr "" msgstr ""
msgid "Limit the number of inbound incident management alerts that can be sent to a project."
msgstr ""
msgid "Limit the number of issues and epics per minute a user can create through web and API requests." msgid "Limit the number of issues and epics per minute a user can create through web and API requests."
msgstr "" msgstr ""
...@@ -27558,6 +27555,9 @@ msgstr "" ...@@ -27558,6 +27555,9 @@ msgstr ""
msgid "Redis" msgid "Redis"
msgstr "" msgstr ""
msgid "Reduce incident management alert volume (for example, if too many issues are being created)."
msgstr ""
msgid "Reduce project visibility" msgid "Reduce project visibility"
msgstr "" msgstr ""
...@@ -33538,6 +33538,9 @@ msgstr "" ...@@ -33538,6 +33538,9 @@ msgstr ""
msgid "The tag name can't be changed for an existing release." msgid "The tag name can't be changed for an existing release."
msgstr "" msgstr ""
msgid "The time period in seconds that the maximum requests per project limit applies to."
msgstr ""
msgid "The update action will time out after %{number_of_minutes} minutes. For big repositories, use a clone/push combination." msgid "The update action will time out after %{number_of_minutes} minutes. For big repositories, use a clone/push combination."
msgstr "" msgstr ""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment