Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/courtsite/stackdriver-to-discord
[Unmaintained] ⚙️ A simple Google Cloud Function in Go to transform / proxy Stackdriver Static Webhook notifications to Discord.
https://github.com/courtsite/stackdriver-to-discord
discord discord-webhook google-cloud google-cloud-functions notification stackdriver
Last synced: 3 months ago
JSON representation
[Unmaintained] ⚙️ A simple Google Cloud Function in Go to transform / proxy Stackdriver Static Webhook notifications to Discord.
- Host: GitHub
- URL: https://github.com/courtsite/stackdriver-to-discord
- Owner: Courtsite
- License: mit
- Created: 2019-01-01T21:20:47.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2021-10-05T20:15:07.000Z (over 3 years ago)
- Last Synced: 2024-09-27T01:01:28.591Z (3 months ago)
- Topics: discord, discord-webhook, google-cloud, google-cloud-functions, notification, stackdriver
- Language: Go
- Homepage:
- Size: 150 KB
- Stars: 21
- Watchers: 4
- Forks: 15
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# stackdriver-to-discord
**This project is no longer maintained, and has been replaced with https://github.com/Courtsite/gcp-monitoring-to-teams**
⚙️ A simple Google Cloud Function in Go to transform / proxy Stackdriver Static Webhook notifications to Discord.
_This project has been tested with the Go 1.11, and Go 1.13 runtimes._
![Notification in Discord](screenshot.png "Notification in 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 Stackdriver static webhook notification in https://app.google.stackdriver.com/settings/accounts/notifications/static-webhook/add_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/stackdriver-to-discord?auth_token=123456._