Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
docs_metadata
README.md
rule.json

README.md

Rookout + Slack

Rookout can be configured to send notifications arriving from your application to a Slack channel.

Setup

  1. Start by making sure you have a Slack token in order to use this Breakpoint output integration. If you do not already have a token, you can generate one here by clicking on Create Token: https://api.slack.com/custom-integrations/legacy-tokens

  2. On the Rookout management interface, in the Breakpoint pane, from the "Breakpoint Actions" drop down, select "Create New Template".

  3. Copy and replace the contents of rule.json to the template editor.

  4. Paste your Slack token you generated on line 14 instead of YOUR_TOKEN.

  5. You can edit template configuration as you wish to select where to send the alerts and to add a custom message or remove unnecessary variables.

    Line Attribute Description
    7 format Template describing what info the log will send
    12 channel Slack channel name you want the messages to be sent
  6. Save the template by clicking the save icon next to its title in the file explorer

  7. Select your new template from the "Breakpoint type" drop down, and click next to the line in the code you wish to use this Breakpoint one.

  8. Check that the messages have arrived to your Slack channel.

For more information on Breakpoint Scripting check out our documentation

You can’t perform that action at this time.