feat: GCP support — detection engine, LLM analyzer, and dashboard tab#5
Open
smahima27 wants to merge 1 commit into
Open
feat: GCP support — detection engine, LLM analyzer, and dashboard tab#5smahima27 wants to merge 1 commit into
smahima27 wants to merge 1 commit into
Conversation
- gcp_detection_engine.py: 8 GCP-specific detectors (spend spikes, AI/LLM cost, CUD opportunity, sharp drops, logging costs, support overhead, new services) - gcp_analyzer.py: sends GCP findings to Claude → gcp_report.json - dashboard_AI.py: AWS/GCP tabs — GCP tab shows spend, savings, MoM trends, AI cost breakdown, findings cards, SADA discount assessment, GCP chatbot - Perforce SADA data: 37 services, $359K/mo, 20 findings, $109K/mo opportunity
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds full GCP cloud cost support to GhostBusters, based on Perforce's real SADA billing data ($359K/mo).
New files
gcp_detection_engine.pyReads a SADA GCP billing CSV and runs 8 GCP-specific waste detectors:
detect_spend_spikesdetect_sharp_dropsdetect_ai_spenddetect_ai_spikedetect_cud_opportunitydetect_excessive_supportdetect_logging_costsdetect_new_servicesdetect_unused_savingsResults on Perforce SADA data:
gcp_analyzer.pySends
gcp_findings.jsonto Claude → producesgcp_report.jsonwith:gcp_action(GCP Console path orgcloudCLI command)Dashboard changes (
dashboard_AI.py)Added AWS / GCP tabs at the top level. GCP tab includes:
gcloudCLI fixesHow to run
Or use env vars for custom paths: