Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rastogiji/gcp-daily-cost-alerts
Send Slack Alerts when there's a sudden spike in the cost
https://github.com/rastogiji/gcp-daily-cost-alerts
alerting automation cloudfunctions gcp slack
Last synced: about 1 month ago
JSON representation
Send Slack Alerts when there's a sudden spike in the cost
- Host: GitHub
- URL: https://github.com/rastogiji/gcp-daily-cost-alerts
- Owner: rastogiji
- License: mit
- Created: 2022-03-05T00:08:20.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2023-02-07T06:53:37.000Z (almost 2 years ago)
- Last Synced: 2024-07-30T20:15:21.836Z (5 months ago)
- Topics: alerting, automation, cloudfunctions, gcp, slack
- Language: JavaScript
- Homepage:
- Size: 135 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# GCP Daily Spike Alerts
Send Slack Notifications when there is a sudden spike in daily costs.
![Alert Image](slack_alert.png?raw=true)
```bash
npm install
```## Prerequisites
- GCP Account with Billing Enabled
- BigQuery Billing Export Enabled
- Slack WebHook## Deployment
The Deployment is a 2 step process:
- CI/CD tool to build your container using Secrets and creating a .env file and Deploying it to Cloud Run
- Cloud Scheduler to trigger the service## Secrets Required
- PORT
- BQ_TABLE_NAME
- TOTAL_SPIKE
- DAILY_COST## License
[MIT](https://github.com/rastogiji/gcp-daily-cost-alerts/blob/master/LICENSE)