Skip to content

Commit 5ca0d13

Browse files
authored
Rename notify whole Slack channel (#4577)
# What this PR does rename "Notify whole Slack channel" escalation step into "Escalate to all slack channel members" ## Which issue(s) this PR closes Closes #4373 <!-- *Note*: if you have more than one GitHub issue that this PR closes, be sure to preface each issue link with a [closing keyword](https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/using-keywords-in-issues-and-pull-requests#linking-a-pull-request-to-an-issue). This ensures that the issue(s) are auto-closed once the PR has been merged. --> ## Checklist - [ ] Unit, integration, and e2e (if applicable) tests updated - [x] Documentation added (or `pr:no public docs` PR label added if not required) - [x] Added the relevant release notes label (see labels prefixed w/ `release:`). These labels dictate how your PR will show up in the autogenerated release notes.
1 parent c39dd8b commit 5ca0d13

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

docs/sources/configure/escalation-chains-and-routes/index.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ from an on-call schedule.
8383
* `Notify all users from a team` - send a notification to all users in a team.
8484
* `Resolve incident automatically` - resolve the alert group right now with status
8585
`Resolved automatically`.
86-
* `Notify whole slack channel` - send a notification to the users in the slack channel. These users will be notified
86+
* `Escalate to all Slack channel members` - send a notification to the users in the slack channel. These users will be notified
8787
via the method configured in their user profile.
8888
* `Notify Slack User Group` - send a notification to each member of a slack user group. These users will be notified
8989
via the method configured in their user profile.
@@ -97,7 +97,7 @@ Useful when you want to get escalation only during working hours
9797
passes some threshold
9898
* `Repeat escalation from beginning (5 times max)` - loop the escalation chain
9999

100-
> **Note:** Both "**Notify whole Slack channel**" and "**Notify Slack User Group**" will filter OnCall registered users
100+
> **Note:** Both "**Escalate to all Slack channel members**" and "**Notify Slack User Group**" will filter OnCall registered users
101101
matching the users in the Slack channel or Slack User Group with their profiles linked to their Slack accounts (ie. users
102102
should have linked their Slack and OnCall users). In both cases, the filtered users satisfying the criteria above are
103103
notified following their respective notification policies. However, to avoid **spamming** the Slack channel/thread,

docs/sources/manage/notify/slack/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ and users:
135135
Once your Slack integration is configured you can configure Escalation Chains to notify via Slack messages for alerts
136136
in Grafana OnCall.
137137

138-
There are two Slack notification options that you can configure into escalation chains, notify whole Slack channel and
138+
There are two Slack notification options that you can configure into escalation chains, escalate to all Slack channel members and
139139
notify Slack user group:
140140

141141
1. In Grafana OnCall, navigate to the **Escalation Chains** tab then select an existing escalation chain or

engine/apps/alerts/models/escalation_policy.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,10 @@ class EscalationPolicy(OrderedModel):
128128
),
129129
STEP_FINAL_RESOLVE: ("Resolve alert group automatically", "Resolve alert group automatically"),
130130
# Slack
131-
STEP_FINAL_NOTIFYALL: ("Notify whole Slack channel", "Notify whole Slack channel"),
131+
STEP_FINAL_NOTIFYALL: (
132+
"Escalate to all Slack channel members (use with caution)",
133+
"Escalate to all Slack channel members (use with caution)",
134+
),
132135
STEP_NOTIFY_GROUP: (
133136
"Start {{importance}} notification for everyone from Slack User Group {{slack_user_group}}",
134137
"Notify Slack User Group",

0 commit comments

Comments
 (0)