Guide to Stackdriver - MS Teams Connector
Typically Stackdriver provides a lot of native notification channels to various tools. Unfortunately there is no native MS Teams connector available. This was the reason why we’ve created a serverless connector that forwards messages from Stackdriver directly to a respective MS Teams Channel. If you want to get more in touch with the implementation details, feel free to read here more about it.
To get an overview, you can have a look at our architectural diagram:
So what you have to do if you want to use our service? I will show you step by step:
- Go to Microsoft Teams and navigate to the channel where you want to add the webhook
- Select (•••) More Options from the top navigation bar.
- Choose Connectors from the drop-down menu and search for Incoming Webhook.
- Select the Configure button, provide a name, and, optionally, upload an image avatar for your webhook.
- The dialog window will present a unique URL that will map to the channel. Make sure that you copy and save the URL — you will need to provide it to our service.
- Select the Done button. The webhook will be available in the team channel.
- Add the user analytics-virtualisation-layer@mediamarktsaturn.com to your as Project as Project Owner.
- Go to our Web UI and Sign in with your MediaMarktSaturn Google Account.
- Fill in the Textfields in our Web UI. Here you need your copied webhook URL, your GCP Project ID (where you want to deploy our connector. Attention, Stackdriver must be enabled in your project.) and your custom display name.
- Click on Create Connector.
- Wait a few seconds.
- Your connector is now created.
- Go to Stackdriver in your project.
- Navigate to Notification Channels. Under the Section Cloud Pub/Sub you can see your new notification channel.
- Now you’re done! You can choose this channel for every policy you want have alerts in your MS Teams channel. A message in Teams looks like that (I’ve added an Icon):