![unnamed (1)](https://private-user-images.githubusercontent.com/25227290/340787140-b5be0a4b-cc2f-43fa-bbdb-9e2b64c22c8e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzMjg2MTMsIm5iZiI6MTczOTMyODMxMywicGF0aCI6Ii8yNTIyNzI5MC8zNDA3ODcxNDAtYjViZTBhNGItY2MyZi00M2ZhLWJiZGItOWUyYjY0YzIyYzhlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEyVDAyNDUxM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWY1MjQ3ODQ3ZmRjZDQ4NTRmMTAyNjg4YmRkZDkwMDBiMjU3YmQ0MGQ4MGZlMzc5NjI0YTM3ODVkZWRlYzI3ZGEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.y9ttnsZGGmilNUNaUcnvaoSQ-mLJ086FYJgCEiVtwTY)
Google Cloud Unveils FOCUS: Streamlining Cloud Cost Management Across Providers with a Looker Explore and Dashboard
Google Cloud's FOCUS BigQuery view seamlessly integrates with Looker, offering businesses a unified and streamlined approach to cloud cost management across providers.
- FOCUS Looker explore transforms Google Cloud billing data into FOCUS specification, enhancing compatibility.
- Enables querying and analyzing Google Cloud costs alongside other providers using common FOCUS format.
- Utilizes Detailed Billing Export and Price Exports, simplifying setup for users.
- Google Cloud's commitment to open standards enhances collaboration with customers, FinOps practitioners, and industry leaders.
- Detailed Billing Export
- Pricing Export
The LookML is written in BigQuery Standard SQL.
-
Prepare Your Looker Environment:
- Ensure you have permissions to create a Looker project dedicated to this analysis.
- Have the following information on hand:
- The name of your database connection in Looker.
- The date you want your analysis to start from.
- The names of the pricing and billing tables within your database.
-
Download and Adapt the Repository:
- Fork the following public github repo to another github repo: https://github.com/looker-open-source/google_cloud_focus
- For instructions on how to fork a github repo, refer to the Github documentation:
- Create a new LookML Project and select “Blank Project”.
- On your new LookML Project, Configure Git using SSH or HTTPS using the new repo you created in step 1.
- Locate the manifest file (named manifest.lkml) within the downloaded repository.
- Open the manifest file and modify the following constants to match your specific environment:
- connection: Replace with the name of your Looker database connection.
- date: Replace with the date you wish to start your analysis from.
- pricing_table: Replace with the name of your pricing table.
- billing_table: Replace with the name of your detailed billing table.
- Fork the following public github repo to another github repo: https://github.com/looker-open-source/google_cloud_focus
-
Test Your Configuration:
- Navigate to the "Focus" Explore in Looker and verify that the data is loading correctly and as expected.
-
Deploy to Production:
- Commit your modified LookML files.
- Deploy the updated LookML model to your production environment.
-
Customize and Share:
- Open the "Focus" dashboard within Looker by navigating to the LookML Dashboards folder.
- Make a copy of the dashboard.
- Customize the copied dashboard to your specific needs and preferences.
- Share the customized dashboard with your team members or other stakeholders.
- Temporary Tables: Unlike BigQuery Views, Looker utilizes temporary tables. The provided LookML code will create and manage these tables automatically, so you won't need to create them manually.
- Data Validation: Always double-check your data in Looker to ensure it aligns with your expectations after making changes.