MS Teams Integration
Streamline alerts management with MS Teams integration
By integrating Teams, the process of managing Alerts in clusters becomes more efficient. This feature enables users to promptly receive notifications on the designated Teams channel whenever alerts are produced.

Configuring Teams integration with the profile
🛠️ How to create Teams Profile
There are two options for creating a Profile: from the Settings tab or directly from the Overview.
From the Settings tab
Go to the Settings tab on the left panel -> select Integrations -> click the +Add Integration button and select Teams from the drop-down -> insert teams_webhook -> click Save button.

From the Overview tab
Go to the Overview tab on the left panel -> find the cluster to which you want to apply the Profile and click gear button -> go to Customizations -> find Integrations and click the Communication & Messaging drop-down list -> click the Add New Profile button and select Teams -> insert teams_webhook -> click Save And Apply button.

🛠️ How to apply Teams Profile
Apply to a single cluster
To apply Teams Profile to the cluster, go to the Overview tab on the left panel -> find the cluster to which you want to apply the Teams Profile and click gear button -> go to Customizations -> select the needed profile in the Communication & Messaging drop-down list.

Apply to multiple clusters
To apply the profile to multiple clusters from a single view, use the Manage Assignments feature.
Go to the Settings tab on the left panel -> select the Integrations -> click the Manage Assignments button -> go to Communication & Messaging section and apply the profiles for the needed clusters -> click the Save Changes button.

Configuring Teams integration with CRD
To enable Teams alerts using a Custom Resource Definition (CRD), you’ll need to define and apply a Custom Resource (CR) with the required parameters. This approach allows you to manage Teams alerting directly through Kubernetes manifests.
The Custom Resource (CR) must be created in the perfectscale namespace.
Setup instructions
Go to the Apps at https://teams.microsoft.com/.
Go to Incoming Webhook and click Add to connect your Webhook to a specific channel.
Provide the channel name where you want PerfectScale alerts to be received.
Name your webhook and click the Create button.
Copy the webhook URL (you will need it for the Teams webhook secret in the next steps).
Apply the Teams webhook secret first:
Configure the CR:
⚙️ CR parameters:
teams_webhook_from
A secret that permits PerfectScale to interact with your Teams. Learn how to configure teams_webhook here.
Teams Integration Verification
To verify the accuracy of your MS Teams configuration, simply click on the Test Integration button. When the configuration is correct, you will see the message Teams Configured Correctly. In case of Teams Configured Wrongly response, check and ensure that the teams_webhook URL is correct.

Last updated
Was this helpful?