Squadcast Support

The Squadcast support Developer Hub

Welcome to the Squadcast support developer hub. You'll find comprehensive guides and documentation to help you start working with Squadcast support as quickly as possible, as well as support if you get stuck. Let's jump right in!

Get Started    

Alert Routing

Help route notifications to the right responder based on event tags

Alert routing allows you to configure rules to ensure that alerts are routed to the right responder with the help of event tags attached to each alert.

For each service, you can define your routing rules.

You can set this up by going to app.squadcast.com.

  • Go to the relevant service
  • Click on the options dropdown
  • Choose "Routing Rules"

You can add your rule expression in the field "Routing condition" and then add the user, squad or escalation policy that the tagged alert should be routed to.

You can add as many routing rules with the "Add new rule" button.

Escalation Override

The alert routing feature will route incidents based on the rules set in and will override the default escalation policy for the service if a rule matches.

Syntax for rules

The rule engine supports expressions with parameters, arithmetic, logical, and string operations.

  • Basic expression: 10 > 0, 1+2, 100/3
  • Parameterized expression: tags.severity == "high"
    The available parameters are tags
    • tags : This parameter contains the all the configured tags for a given service
  • Regular expression: re(tags.severity, "high.*")
    This can be used to check if a particular tag field matches a regular expression.

Example

For a sample content shown in the right panel of the configuration space


{
    "tags" : [
        {
             "severity" : "critical"
        },
        {
             "severity" : "high"
        },
        {
             "severity" : "low"
        }
    ]
}

Use Case

When severity is critical : Route to an squad
When severity is high : Route to an escalation policy
When severity is low : Route to a user

Rules

When tags.severity == "critical" route to a squad
When tags.severity == "high" route to an escalation policy
When tags.severity == "low" route to a user

Alert Routing


Help route notifications to the right responder based on event tags

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.