您请求访问的页面目前没有您的语言版本。您可以从页面底部选择其他语言,或使用 Google Chrome 的内置翻译功能将网页内容即时翻译成您选择的语言。

Set up Crashlytics alerts to Slack



 

After setting up the Firebase integration with Slack, your project can post to your Slack workspace in response to events reported by Crashlytics, like new, regressed, or increasing-velocity issues.

Set up a Slack webhook

Before you set up the integration in Firebase, you need to add an incoming webhook in Slack to handle communications from Firebase.

To learn how to do this, read the Slack documentation about Sending messages using Incoming Webhooks.

Set up the Slack integration in the Firebase console

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

  1. Sign in to the Firebase console, then select your project.
  2. Click the Settings icon, then select Project Settings. Select the Integrations tab.
  3. On the Slack integration card, click Install.
  4. Set up the integration by setting values in the following fields:
    • Webhook URL: Paste the webhook URL from your Slack settings page.
    • Default channel: Enter a channel name. You can override this default later on a per-app or per-alert basis.
    • Name of posting user: Enter a name to send the messages under.
  5. Click Verify & save.

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

Configure alert settings

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

Event types

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

  • New issues: triggered when your app experiences a crash that Crashlytics hasn't seen before.
  • New non-fatal issues: triggered when your app experiences a non-fatal issue Crashlytics hasn't seen before.
  • Regressed issues: triggered when your app experiences a crash that you'd previously marked closed.
  • Increasing-velocity issues: triggered when a single crash or ANR type impacts a percentage of users in a 30-minute period for a given app version.

Configure settings for each app

By default, the Firebase integration with Slack automatically sends alerts for regressed issues and increasing-velocity issues to your specified Slack channels.

Here's how to configure alerts for each app in your Firebase project:

  1. Sign in to the Firebase console, then select your project.
  2. Click the Settings icon, then select Project Settings. Select the Alerts tab.
  3. Go to the Crashlytics alerts card. Select the app you want to configure from the dropdown menu. 
  4. Select the Slack channel where you want to send alerts for this app.
  5. For each type of alert, select from the dropdown whether you want to send that type of alert to Slack.
  6. Repeat these steps for each app that you want to configure.

That's it! Firebase will send alerts to your specified Slack channels if your apps have new, regressed, or increasing-velocity issues.

该内容对您有帮助吗?

您有什么改进建议?
Search
Clear search
Close search
Main menu
9830843067546361174
true
搜索支持中心
true
true
true
true
true
5054967
false
false
false
false