Slack
SUSE Observability
Last updated
SUSE Observability
Last updated
To send notifications to Slack follow these steps:
Click on the "Choose workspace" button. This will open a Slack webpage where SUSE Observability asks for permission to list channels and send messages to Slack channels. Make sure that in the top-right corner you have the desired Slack workspace selected.
Click "Allow" to continue.
Back in SUSE Observability you can now select a Slack channel from the list. Select the channel where the notification messages need to be sent.
Private channels won't be listed automatically. To select a private channel first invite the SUSE Observability bot into the private channel by sending a Slack message in the channel that mentions the bot @SUSE Observability
and selecting "Invite them." Now the channel will become available in the list.
Finally click the "Add channel" button. This adds the channel to the list of channels on the right. It will show a "Test" button. Press it to verify that the test message appears in the selected Slack channel.
When a notification is opened a new Slack message is created. This message will be updated for changes, usually only when the health state changes. In the thread for the message every change will show up as a message as well. Finally, when the notification is closed the Slack message is updated again (now the bar that shows the health state is grey) and a final message is added to the Slack thread that describes why the notification was closed.