App for Slack alert channel (public preview)
You can create an App for Slack alert channel to send real-time alert notifications from Instana to that Slack channel.
Installation Prerequisites
Instana currently supports only SaaS deployments. To proceed with installation, make sure that you have an active login session in Instana.
Creating an App for Slack alert channel
To create an App for Slack alert channel, complete the following steps:
-
From the navigation menu in the Instana UI, click Settings.
-
On the Global settings tab, in the Events & alerts section, click Alert channels.
-
Click Add alert channel.
-
Select an App for Slack from the list.
-
Enter a name for the Slack application alert channel.
Figure 1. App for Slack alert channel
Display Emoji: Enable this option to convert emoji strings from Instana (for example,
:warning:) into visual emojis when shown in Slack. If this option is disabled, the strings appear as plain text. -
Click Authenticate in Slack.
Clicking Authenticate in Slack initiates a standard Slack OAuth 2.0 authorization flow. Your browser redirects to the Slack workspace where you are currently authenticated or to your default workspace. Slack determines the redirect target based on your active browser session, not Instana. If you are logged in to multiple workspaces, Slack might prompt you to select one.
-
Select a Slack workspace and authorize the application with the necessary permissions.
Figure 2. Slack App OAuth
You can find your alert channel in the Alert channels section in the Instana UI.
Slack workspace admin approval
If your Slack workspace restricts third-party app installations, a workspace admin must approve the IBM Instana app before installation.
Depending on your organization's Slack workspace configuration, a Slack workspace admin might need to approve the IBM Instana app before it can be installed. If your workspace restricts third-party app installations, the OAuth consent screen displays a Request to Install option instead of Allow. In this case, complete the following steps:
- Click Request to Install to submit an approval request to your Slack workspace admin.
- The Slack workspace admin receives the request and can review and approve it from .
- After the admin approves the request, return to the Instana UI and complete the authentication flow. You might need to redo the alert channel creation steps from the beginning because the original session might have expired during the approval process.
- After authentication, enter the Slack channel name to receive alerts.
- Click Save.
Figure 4. Channel selection
You can find your alert channel in the Alert channels section in the Instana UI.
Required scopes
The App for Slack requires the following OAuth scopes:
-
channels:history -
channels:read -
chat:write -
groups:history -
groups:read -
users:read
Adding IBM Instana app to the Slack channel integrations
-
Click the channel name in the conversation area. A dialog appears with the channel information.
-
In the channel details panel, select the Integrations tab.
-
On the Integrations tab, click Add apps.
-
Search and select IBM Instana.
Figure 5. Adding App for Slack
Using the Slack application with a private channel
Complete the following steps to use the IBM Instana app within a private Slack channel:
- Before you begin, install the IBM Instana app in a public Slack channel.
- In Slack, open your private channel and click its name in the conversation area.
- In the channel details dialog, select the **Integrations** tab.
- Click Add apps.
- Search and select IBM Instana. For more information, see Adding the IBM Instana app to the Slack channel integrations.
- After adding the app, create your App for Slack alert channel in the Instana by following the steps that are described in Creating an App for Slack alert channel.
Configure alerts in the Instana UI
You can configure your existing or new alerts with the App for Slack alert channel. For more information, see Configuring and managing alerts. All alert events automatically appear in your selected Slack channel.
Synchronization of Slack and Instana messages
Messages are synchronized between Instana and Slack. Messages that are added within an incident in a Slack thread appear in the Summary and notes with AI section in the Instana UI. Similarly, notes that are added in the Summary and notes with AI section of Instana UI appear in the related Slack incident thread.
In additional, the summary of incident and summary of notes that are generated in the Summary and notes with AI section of the Instana UI also appear in the related Slack incident thread.
Closing event from Slack
To close an incident, issue, or change from the Slack application, complete the following steps.
-
Select an open incident, issue, or change in Slack.
-
Click Close incident, Close issue, or Close Monitoring issues depending on your event type.
Figure 10. Closing an event
-
Enter a reason for closure, then click Ok.
Figure 11. Close confirmation
-
The event status in the Instana UI must be updated to manually closed.
Figure 12. Closed event
-
In Slack, the event must be updated to Closed, and the app then sends a closure thread reply under the event message for both manual close and auto close events.
Figure 13. Manual closed event
Figure 14. Auto closed event
Troubleshooting
Common issues and solutions for integrating IBM Instana with Slack.
OAuth redirect goes to an unexpected Slack workspace
When you click Authenticate in Slack, Slack redirects to the workspace that is associated with your current browser session. If you are redirected to the wrong workspace, complete the following steps:
- Log out of that workspace in your browser.
- Log in to the intended workspace.
- Retry authentication from the Instana UI.
Slack admin approval is required
If your organization's Slack workspace restricts third-party app installations, you see a Request to Install button instead of Allow during OAuth. Complete the following steps:
- Submit the request.
- Coordinate with your Slack workspace admin to approve the request.
For more information, see Slack workspace admin approval.
IBM Instana app is not found in the Slack Marketplace
The IBM Instana app for Slack is currently undergoing Slack Marketplace certification and is not yet publicly listed. The app is installed through the Instana UI authentication flow, not through the Slack Marketplace.
To install the app, follow the steps in Creating an app for Slack alert channel.
Privacy policy
The privacy policy outlines the types of data that is collected and their purposes.
Data collection practices
When you install and use the IBM Instana App for Slack, the following types of information are collected:
- Slack Workspace Information: Team name, team ID, and channel details to enable posting of notifications and interactions.
- User Information: Slack usernames to generate actions and maintain notes of interactions.
- Message Content: Limited content of messages or events that you explicitly interact with or authorize the application to access to alert or provide interactive functionality.
For more information, see IBM data retention policy.
Usage of your information
The collected details are used to:
- Provide, maintain, and improve integration features.
- Deliver relevant notifications and updates to your Slack channels as per the configuration.
- Support troubleshooting, debugging, and technical assistance upon request.
- Comply with applicable laws and regulations.
For more information, see IBM Terms and Privacy.
Requesting data deletion
You can request deletion of your personal data that is collected through the IBM Instana App for Slack.
To request deletion of your data, complete the following steps:
- Go to IBM Instana support.
- Submit a support ticket requesting removal of your personal data.
- Provide any relevant workspace identifiers (such as Slack team ID or channel ID) to help IBM process your request.
IBM reviews and processes data-deletion requests in accordance with its data-protection, privacy, and retention policies.
Support and Feedback
For more information about support and feedback, see IBM Instana Feeback.