Overview
The Google Cloud Platform (GCP) integration allows administrators to connect GCP projects to Engineering Metrics. Once configured, Engineering Metrics can securely access supported GCP services and collect cloud infrastructure, operational, and usage metrics for reporting and analysis. Using this integration, users can:- Create GCP connections
- Authenticate using GCP Service Account credentials
- Configure GCP data collection scopes
- Enable or disable individual GCP services
- Associate cloud resources with projects
- Monitor cloud usage and infrastructure metrics
Prerequisites
Before configuring the integration, ensure you have:- Access to the Engineering Metrics Dashboard
- A Google Cloud Platform project
- A GCP Service Account with appropriate permissions
- Service Account JSON credentials
- Permissions to configure integrations within Engineering Metrics
Navigate to GCP Connections
- Open the Engineering Metrics Dashboard.
- Navigate to Integration.
- Select Cloud Provider Metrics.
- Choose GCP Connections.
Create a New GCP Connection
- Click New Connection.
- The Manage Connections: GCP window will appear.
Configure Connection Details
Connection Name
Enter a unique name for the GCP connection. Examples:- GCP Production
- Engineering Platform
- Analytics Environment
- Internal Cloud Resources
Project ID
Enter the Google Cloud Project ID that will be connected. Example:Service Account Credentials (JSON)
Paste the Service Account JSON credentials into the provided field. The credentials are used by Engineering Metrics to authenticate with Google Cloud services. Example:The Service Account must have sufficient permissions to access the services and resources that will be monitored.
Active
Enable the Active toggle to make the connection available for data collection and synchronization.Test the Connection
Before saving the connection:- Click Test Connection.
- Wait for the validation process to complete.
Expected Result
- If the configuration is valid, the connection test will succeed.
- If validation fails, verify the Project ID and Service Account credentials before retrying.
Save the Connection
- After successful validation, click Save Connection.
- The connection will appear in the Connections list.
Configure Data Scopes
After creating the connection:- Select the GCP connection.
- Click Add Data Scope.
Understanding GCP Scopes
The Configure GCP Scopes window allows administrators to enable or disable supported Google Cloud services individually. Each enabled scope controls the collection of metrics and resource information from a specific GCP service.Billing Scope
The Billing scope collects billing and cost-related information from Google Cloud. Collected information may include:- Billing accounts
- Cost allocation data
- Cloud spending information
- Service consumption costs
Carbon Scope
The Carbon scope collects cloud carbon footprint information. Collected information may include:- Carbon emissions metrics
- Environmental impact reporting
- Sustainability data
Recommender Scope
The Recommender scope collects optimization recommendations generated by Google Cloud. Collected information may include:- Resource optimization recommendations
- Cost-saving opportunities
- Performance improvement suggestions
Monitoring Scope
The Monitoring scope collects operational monitoring information. Collected information may include:- Resource health metrics
- Monitoring data
- Service performance information
- Infrastructure activity metrics
Asset Inventory Scope
The Asset Inventory scope collects information about cloud resources within the connected project. Collected information may include:- Compute resources
- Storage resources
- Networking components
- Cloud service inventories
Scope Configuration
Each enabled scope may require additional configuration values. Depending on the selected scope, administrators may be required to provide:- Scope Name
- Dataset Name
- Project Information
- Resource Identifiers
- Tagging Configuration
Managing Data Scopes
Users can:- Add Data Scope
- Associate Scope Config
- Delete Data Scope
Understanding Scope Associations
Scope associations define how collected GCP data is mapped within Engineering Metrics. This configuration enables reporting, dashboards, and project-level analytics to use collected cloud information.Monitoring GCP Data Collection
Once the connection and scopes are configured, Engineering Metrics begins collecting data from the enabled GCP services. Collected information becomes available for:- Cloud dashboards
- Infrastructure reporting
- Resource analytics
- Operational insights
- Sustainability reporting
- Cost management analysis
Troubleshooting
Connection Test Failed
Possible causes:- Invalid Project ID
- Invalid Service Account JSON
- Missing permissions
- Network connectivity issues
- Verify the Project ID
- Validate the Service Account credentials
- Confirm service account permissions
- Retry the connection test
Data Not Appearing
Possible causes:- Required scopes are disabled
- Service permissions are missing
- Synchronization is still in progress
- Verify scope configuration
- Confirm service account access
- Allow additional time for data collection
Scope Configuration Errors
Possible causes:- Missing required scope fields
- Invalid dataset configuration
- Incorrect project information
- Review scope settings
- Verify all required values
- Save the configuration again
Best Practices
- Use dedicated Service Accounts for integrations
- Assign only required permissions
- Use descriptive connection names
- Enable only required scopes
- Regularly review scope configurations
- Monitor cloud resource reporting for accuracy

