Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs: Add explanation for rotation layer #1724

Closed
wants to merge 29 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
03a8b2f
Add explanation for rotation layer
alfredo-d Apr 11, 2023
e8b1f32
update for markdownlint
alfredo-d Apr 13, 2023
64230ea
update docs create-schedule
alfredo-d Apr 13, 2023
83c2b20
Update index.md
alfredo-d Apr 13, 2023
880f20e
Merge branch 'alfredo-d-patch-1' of https://github.com/grafana/oncall…
alfredo-d Apr 13, 2023
0709b43
Fix lint
Konstantinov-Innokentii Apr 13, 2023
8da9a2c
Merge remote-tracking branch 'origin/alfredo-d-patch-1' into alfredo-…
Konstantinov-Innokentii Apr 13, 2023
4a847c5
fix formatting
alfredo-d Apr 13, 2023
b56df3a
Update docs/sources/calendar-schedules/web-schedule/create-schedule/i…
alfredo-d Apr 28, 2023
f405fe9
Update docs/sources/calendar-schedules/web-schedule/create-schedule/i…
alfredo-d Apr 28, 2023
90b28d1
Update docs/sources/calendar-schedules/web-schedule/create-schedule/i…
alfredo-d Apr 28, 2023
71e9237
Templates tweaks (#1993)
teodosii May 23, 2023
d2ad996
Bump requests from 2.29.0 to 2.31.0 in /engine (#1987)
dependabot[bot] May 23, 2023
5e97a2d
Bump requests from 2.27.1 to 2.31.0 in /tools/pagerduty-migrator (#1985)
dependabot[bot] May 23, 2023
3c54d1b
Fix autosuggestions in monaco editor (#1953)
teodosii May 23, 2023
98be80c
Make payload be readonly within Templates drawer (#1994)
teodosii May 23, 2023
c921674
Improve plugin authentication (#1995)
vstpme May 23, 2023
06bd045
Fix MultipleObjectsReturned error on webhook endpoints (#1996)
vstpme May 23, 2023
c793e55
re-enable e2e UI tests on CI (#1961)
joeyorlando May 23, 2023
eefe7be
e2e tests on CI - actually await k8s resources to be ready before sta…
joeyorlando May 24, 2023
1f786e8
Phone provider refactoring (#1713)
Konstantinov-Innokentii May 24, 2023
dca0b1e
Improve twilio callback logging (#1998)
Konstantinov-Innokentii May 24, 2023
36f7ec2
Update CHANGELOG.md
Konstantinov-Innokentii May 24, 2023
d139fcc
Remove user defined time period from "you're going oncall" mobile pus…
iskhakov May 24, 2023
1839099
Update CHANGELOG.md
vstpme May 24, 2023
934c8e7
Update CHANGELOG.md
vstpme May 24, 2023
e9ae4cc
Docs restructure (#1703)
Matvey-Kuk May 24, 2023
a38f4d6
Merge branch 'main' into alfredo-d-patch-1
Matvey-Kuk May 24, 2023
e487e5d
Merge branch 'dev' into alfredo-d-patch-1
Matvey-Kuk May 24, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,19 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## v1.2.28 (2023-05-24)
## Unreleased

### Changed

- Phone provider refactoring [#1713](https://github.com/grafana/oncall/pull/1713)

## v1.2.28 (2023-05-24)

### Fixed

- Improve plugin authentication by @vadimkerr ([#1995](https://github.com/grafana/oncall/pull/1995))
- Fix MultipleObjectsReturned error on webhook endpoints by @vadimkerr ([#1996](https://github.com/grafana/oncall/pull/1996))
- Remove user defined time period from "you're going oncall" mobile push by @iskhakov ([#2001](https://github.com/grafana/oncall/pull/2001))

## v1.2.27 (2023-05-23)

Expand All @@ -29,7 +32,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed

- Fix SQLite permission issue by @vadimkerr ([#1984](https://github.com/grafana/oncall/pull/1984))
- Remove user defined time period from "you're going oncall" mobile push ([2001](https://github.com/grafana/oncall/pull/2001))

## v1.2.26 (2023-05-18)

Expand Down
24 changes: 0 additions & 24 deletions docs/sources/alert-behavior/_index.md

This file was deleted.

64 changes: 0 additions & 64 deletions docs/sources/calendar-schedules/_index.md

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,22 +1,40 @@
---
aliases:
- /docs/oncall/latest/escalation-policies/configure-routes/
canonical: https://grafana.com/docs/oncall/latest/escalation-policies/configure-routes/
keywords:
- Grafana Cloud
- Alerts
- Notifications
- on-call
- amixr
- oncall
- integrations
title: Configure and manage routes
weight: 300
- /docs/oncall/latest/escalation-chains-and-routes/
canonical: https://grafana.com/docs/oncall/latest/escalation-chains-and-routes/
title: Escalation Chains and Routes
weight: 600
---

# Configure and manage Routes
# Escalation Chains and Routes

Set up escalation chains and routes to configure escalation behavior for alert group notifications.
Escalation chains and routes for Grafana OnCall

Administrators can create escalation policies to automatically send alert group notifications to recipients.
These policies define how, where, and when to send notifications.

Escalation policies dictate how users and groups are notified when an alert notification is created. They can be very
simple, or very complex. You can define as many escalation configurations for an integration as you need, and you can
send notifications for certain alerts to a designated place when certain conditions are met, or not met.

Escalation policies have three main parts:

- User settings, where a user sets up their preferred or required notification method.
- An **escalation chain**, which can have one or more steps that are followed in order when a notification is triggered.
- A **route**, that allows administrators to manage notifications by flagging expressions in an alert payload.

## Escalation chains

An escalation chain can have many steps, or only one step. For example, steps can be configured to notify multiple users
in some order, notify users that are scheduled for on-call shifts, ping groups in Slack, use outgoing webhooks to
integrate with other services, such as JIRA, and do a number of other automated notification tasks.

## Routes

An escalation workflow can employ **routes** that administrators can configure to filter alerts by regular expressions
(outdated) or Jinja2 templates
in their payloads. Notifications for these alerts can be sent to individuals, or they can make use of a new
or existing escalation chain.

## Configure escalation chains

Expand Down Expand Up @@ -59,14 +77,10 @@ specify using a Jinja template that matches content in the payload body of the f
specify where to send the notification for each route.

For example, you can send notifications for alerts with `{{ payload.severity == "critical" and payload.service ==
"database" }}` in the payload to an escalation chain called `Bob_OnCall`. You can create a different route for alerts
"database" }}` [(Check Jinja2 reference)]({{< relref "jinja2-templating" >}}) in the payload to an escalation chain
called `Bob_OnCall`. You can create a different route for alerts
with the payload `{{ "synthetic-monitoring-dev-" in payload.namespace }}` and select a escalation chain called
`NotifySecurity`.

Alternatively you can use regular expressions, e.g. `\"severity\": \"critical\"` or `\"namespace\" *:
*\"synthetic-monitoring-dev-.*\"`

You can set up escalation steps for each route in a chain.

> **NOTE:** When you modify an escalation chain or a route, it will modify that escalation chain across
> all integrations that use it.
18 changes: 0 additions & 18 deletions docs/sources/escalation-policies/_index.md

This file was deleted.

Loading