https://github.com/courtsite/gcp-monitoring-to-teams
[Unmaintained] :gear: A simple Google Cloud Function in Go to transform / proxy Google Cloud Platform (GCP) Monitoring static webhook notifications to Microsoft Teams.
https://github.com/courtsite/gcp-monitoring-to-teams
connector google-cloud google-cloud-functions microsoft microsoft-teams monitoring notification stackdriver teams
Last synced: 5 months ago
JSON representation
[Unmaintained] :gear: A simple Google Cloud Function in Go to transform / proxy Google Cloud Platform (GCP) Monitoring static webhook notifications to Microsoft Teams.
- Host: GitHub
- URL: https://github.com/courtsite/gcp-monitoring-to-teams
- Owner: Courtsite
- License: mit
- Created: 2021-04-27T23:25:59.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-10-22T23:32:35.000Z (12 months ago)
- Last Synced: 2025-03-31T15:50:04.498Z (7 months ago)
- Topics: connector, google-cloud, google-cloud-functions, microsoft, microsoft-teams, monitoring, notification, stackdriver, teams
- Language: Go
- Homepage:
- Size: 209 KB
- Stars: 26
- Watchers: 5
- Forks: 16
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gcp-monitoring-to-teams
⚙️ A simple Google Cloud Function in Go to transform / proxy [Google Cloud Platform (GCP) Monitoring](https://cloud.google.com/monitoring) static webhook notifications to [Microsoft Teams](https://teams.microsoft.com/).

_Forked from https://github.com/Courtsite/stackdriver-to-discord_
## Getting Started
### Prerequisites
- Ensure you have `gcloud` installed:
- MacOS: `brew cask install google-cloud-sdk`
- Others: https://cloud.google.com/sdk/gcloud
- Ensure you have authenticated with Google Cloud: `gcloud init`
- (Optional) Set your current working project: `gcloud config set project `### Deployment
1. Clone / download a copy of this repository
2. Copy `.env.sample.yaml` to `.env.yaml`, and modify the environment variables declared in the file
3. Run `./deploy.sh`
4. Configure GCP Monitoring static webhook notification channel in https://console.cloud.google.com/monitoring/alerting/notifications_Be sure to append `?auth_token=` to the end of the URL under `httpsTrigger` (returned in the output from (3)). e.g. https://my-region-my-organisation.cloudfunctions.net/gcp-monitoring-to-teams?auth_token=123456._
