Slack Event Monitoring
In this topic, you discover the step-by-step process of creating a vibrant Slack app and seamlessly integrating both kube-state-metrics (KSM) events and KubeSlice events into a dynamic Slack channel. Unleash the power of real-time updates and vibrant notifications, making your Slack workspace a hub of insightful information. Let's dive in and explore this exciting integration journey!
Create an App
Create an app using the Slack API in your workspace.
To create an app:
-
Open the Slack API console.
-
Click the Create an App button.
- Select From an app manifest to configure your app scopes and settings.
- Select a workspace where you want to create an app and click Next.
-
In the Enter app manifest below section, click on the YAML tab and enter the following manifest:
display_information:
name: Botkube
description: Botkube
background_color: "#a653a6"
features:
bot_user:
display_name: Botkube
always_online: false
oauth_config:
scopes:
bot:
- channels:read
- app_mentions:read
- chat:write
- files:write
- users:read # Remote configuration only: Used to get Real Name for audit reporting
settings:
event_subscriptions:
bot_events:
- app_mention
interactivity:
is_enabled: true
org_deploy_enabled: false
socket_mode_enabled: true
token_rotation_enabled: false -
Click Next.
-
In the Review summary & create your app section, review the details and click Create.