Google Cloud Platform provides built-in monitoring and observability tools that allow users to collect and analyze metrics and traces from their GCP resources. Send Google Cloud metrics seamlessly to Coralogix. Search, analyze, and visualize your data, gaining insights into application behavior, identifying errors, and troubleshooting problems.
A prerequisite for sending your Google Cloud traces to Coralogix is creating a GCP service account.
STEP 1. Log in to your Google Cloud Console and select the project in which you want the service account to be created.
STEP 2. Navigate to the IAM & Admin section of the console by clicking on the menu on the top left corner of the console. Select IAM & Admin from the menu.
STEP 3. Click Service accounts in the left-hand menu and then click + CREATE SERVICE ACCOUNT.
STEP 4. Input your service account details: name, account ID, and description. Click CREATE AND CONTINUE.
STEP 5. Select roles for the service account. To collect metrics, the roles Compute Viewer
, Monitoring Viewer
, and Cloud Asset Viewer
are required.
STEP 6. Click Done.
STEP 7. An overview of all of your service accounts will appear. Find the service account you just created. Click the three dots in the left-most Action column and select Manage keys.
STEP 8. Click Add Key. Select JSON Key type. Store the key locally, as you will need it for the UI.
To start collecting metrics for a GCP project, an integration must be created.
STEP 1. From your Coralogix toolbar, navigate to Data Flow > Extensions.
STEP 2. From the Integrations section, select GCP Metrics.
STEP 3. Click + ADD NEW.
STEP 4. If you haven’t already done so, click GO TO GCP ACCOUNT and create a key file as described above. Once you have created a key file, click NEXT.
STEP 5. Click SELECT FILE and select the JSON key file that you created in the previous section.
A confirmation appears that the file uploaded successfully.
STEP 6. Click NEXT.
STEP 7. Choose the metric prefixes you would like to pull into Coralogix by selecting them from the dropdown menu. To limit unnecessary API calls that fetch no data but count towards the quota limit, specify only the GCP prefixes of the metrics that actually exist and you want to pull into Coralogix.
Notes:
STEP 8. Click NEXT.
STEP 9. Select the application and subsystem names.
Step 10. Click FINISH.
Need help?
Our world-class customer success team is available 24/7 to walk you through your setup and answer any questions that may come up.
Feel free to reach out to us via our in-app chat or by sending us an email at [email protected].