Skip to content

Send Slack Alerts when there's a sudden spike in the cost

License

Notifications You must be signed in to change notification settings

rastogiji/gcp-daily-cost-alerts

Repository files navigation

GCP Daily Spike Alerts

Send Slack Notifications when there is a sudden spike in daily costs.

Alert Image

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

About

Send Slack Alerts when there's a sudden spike in the cost

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published