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:

Fast development easier management

So what you have to do if you want to use our service? I will show you step by step:

  1. Go to Microsoft Teams and navigate to the channel where you want to add the webhook
  2. Select (•••) More Options from the top navigation bar.
  3. Choose Connectors from the drop-down menu and search for Incoming Webhook.

    search_for_incoming_webhook.png

  4. Select the Configure button, provide a name, and, optionally, upload an image avatar for your webhook.
  5. 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.

    copy_webhook_url.png

  6. Select the Done button. The webhook will be available in the team channel.
  7. Add the user analytics-virtualisation-layer@mediamarktsaturn.com to your as Project as Project Owner.
  8. Go to our Web UI and Sign in with your MediaMarktSaturn Google Account.
  9. 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.

    filled_forms.png

  10. Click on Create Connector.
  11. Wait a few seconds.
  12. Your connector is now created.

    connector_created_successfully.png

  13. Go to Stackdriver in your project.
  14. Navigate to Notification Channels. Under the Section Cloud Pub/Sub you can see your new notification channel.

    stackdriver_notification_channels.png

  15. 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):

    test_message.png