Alert integrations

Overview

Alert integrations allow users to receive alerts outside of Slingshot by connecting third-party services. Only Tenant admins can manage alerts from the Manage alert integrations page.

ℹ️
Currently, Slingshot only supports third-party alert integrations for a subset of Cost and Performance alerts.
⚠️
Third-party alerts do not affect email notifications. Slingshot will continue to send email notifications for Cost and Performance alerts.

Role for managing alert integrations

  • Tenant admin

Prerequisites

Before you begin, you will need a webhook URL for the specific Slack or Teams channel, or an API access key for PagerDuty.

ℹ️
You can create separate Slack or Teams channels/webhooks to receive each alert type (for example, one channel/webhook to for Cost and another one for Performance), or use the same channel/webhook for both alert types.

Slack webhook retrieval

Follow the steps below to retrieve your Slack channel webhook:

  1. Navigate to your Slack settings via your app’s management dashboard.
  2. From there, select Incoming Webhooks, and toggle on Activate Incoming Webhooks.
  3. Create an incoming webhook (if you haven’t) by clicking Add New Webhook to Workspace.
  4. Select the desired channel and select Authorize.
  5. You’ll be sent back to your app settings, where you should see a new entry under the Webhook URLs for Your Workspace section.
  6. Your webhook URL will look something like this:
    https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX
    ℹ️
    You will enter this webhook URL on the Slingshot Manage alert integrations page.

More detailed information can be found in Slack’s official documentation.

Microsoft Teams webhook retrieval

You can follow the following steps to retrieve your Microsoft Teams channel webhook:

  1. Select the More options icon (three dots) next to the channel or chat you want to create a workflow for, and then select Workflows.
  2. Select Post to a channel when a webhook request is received
  3. Add/edit the name for this workflow.
  4. Click Next.
  5. Once the workflow is created, you’ll see a new dialog with the webhook URL that you can copy
  6. Your webhook URL will look like this:
    https://prod-xx.westus.logic.azure.com/workflows/XXXXXXXXXXXXXXXXXXXXXX/triggers/manual/paths/invoke?api-version=XXXX-XX-XX\&XXXXXXXXXXXXXXXXXX
    ℹ️
    You will enter this webhook URL on the Slingshot Manage alert integrations page.

More detailed information can be found in MS Teams’ official documentation.

PagerDuty access key retrieval

You can follow the following steps to retrieve your PagerDuty access key:

  1. In the Integrations Directory, search for and select your integration’s guide.
  2. Go to Services > Service Directory and select the service where you’d like to add the integration
  3. Select the Integrations tab and click Add another integration.
  4. Select the integration(s) you use to send alerts to this service from the search bar, dropdown, or from our most popular integrations list.
  5. Click Add.
  6. Find your integration in the list and click on the right to view and copy your Integration Key.
    ℹ️
    You will enter your PagerDuty API access key instead of a webhook URL on the Slingshot Manage alert integrations page.
  7. Continue with the instructions in the integration guide to complete configuration.

More detailed information can be found in PagerDuty’s official documentation.

Manage alert integrations

In Slingshot:

  1. Navigate to Configurations > Alert integrations.
  2. On the Manage alert integrations page, select Configure for the alert you want to configure.
    The Configure third-party integrations modal displays.
  3. To enable third-party alerts, enter your webhook URL.
  4. To disable third-party alerts, remove the webhook URL.
  5. Select Save.

FAQs

What messaging providers do you support?
We currently support Slack, Microsoft Teams, and PagerDuty as available channels that you can opt in to for receiving notifications.
Do the notifications go to a direct message or channel?
The notification will be delivered to a channel of your choice, per what you have configured. You, as the customer, are empowered to add individuals to these channels as you see fit.
What alert types are supported?
  1. Snowflake Cost Alerts
    • Note: Only Platform level, Warehouse, and Business Org Cost Spikes are supported via Alert Integrations.
  2. Timely Warehouse Performance Alerts
    • Set up custom alerts for your defined query execution time and query queueing on a or multiple warehouses.
Can I set up a different alert provider or even channel per the alert type?
  • Yes, you can configure a distinct messaging provider or channel per alert type.
    • Example: You can configure Cost Alerts to go to Slack channel Slingshot_cost_alerts and Warehouse Performance Alerts to go to Microsoft Teams channel Warehouse_Performance.
  • You can also set up multiple messaging providers for a given alert type. If you’d like to receive Cost Alerts on both Slack and PagerDuty, you can opt in and configure the respective webhook & access key for notification delivery.