В настоящее время эта страница недоступна на русском языке. Выберите другой язык в нижней части экрана или воспользуйтесь функцией автоматического перевода Google Chrome.

Add Slack integrations to your project



 

With the Firebase integration with Slack, your project can post to your Slack workspace in response to events in certain Firebase services, like new or regressed issues in Crashlytics.

Set up a Slack webhook

Before you set up the integration in Firebase, you have to add an incoming webhook in Slack to handle communications from Firebase. To learn how to do that, read the Slack documentation about Sending messages using Incoming Webhooks.

Enable the Slack integration in the Firebase console

Once you've set up the appropriate webhook, you're ready to set up the integration in Firebase:

  1. Open the Firebase console to the Integrations page.
  2. Click Install on the Slack integration card.
  3. Paste the webhook URL from your Slack settings page to the Webhook URL field.
  4. Enter a channel name in the Default channel field. You can override this default later on a per-app or per-alert basis.
  5. Enter a name to send the messages under in the Name of posting user field.
  6. Click Verify & save.

After verifying and saving the Slack integration, you should see a confirmation message in the default channel you selected.

Configure Slack alerts

You can configure alerts by app and event type. For example, you can turn off notifications in your testing app or route high-priority notifications in your production app to an #urgent channel.

The Firebase integration with Slack currently allows you to send alerts in response to three event types:

  • New Crashlytics issues: triggered when your app experiences a crash Crashlytics hasn't seen before.
  • Regressed Crashlytics issues: triggered when your app experiences a crash that you'd previously marked closed.
  • Increasing crash velocity issues: triggered when a single crash type affects 1% of sessions in a 60 minute period for a given app version.
Firebase enables Crashlytics alerts for regressed issues and increased velocity issues by default.

Here's how to configure alerts for your project, including selecting specific channels for each alert type:

  1. In the Firebase console, select your project and navigate to Project Settings.
  2. Select Integrations from the top tab bar.
  3. Click Manage on the Slack integration card.
  4. Hover over the row for the alert type you'd like to configure, and click Edit Edit.
  5. For each app in your project, add a Recipient channel, and check or uncheck the Enabled box as appropriate.
  6. Click Save.

That's it! With your configurations made, Firebase will send alerts to your specified channels when your apps have new, regressed, or increasing-velocity issues as appropriate.

Эта информация оказалась полезной?

Как можно улучшить эту статью?
Search
Clear search
Close search
Main menu
5143721216353160202
true
Поиск по Справочному центру
true
true
true
true
true
5054967
false
false