Skip to content

GCP Metrics

Overview

Google Cloud Platform provides built-in monitoring and observability tools that allow users to collect and analyze metrics 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.

Prerequisites

Configure a service account and API key to facilitate automated intermediation.

Setup

An integration must be created to start collecting metrics for a GCP project.

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 key file that you created in the previous section.

A confirmation appears that the file was uploaded successfully.

STEP 6. Click NEXT.

STEP 7. Choose the metric prefixes you want 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 you want to pull into Coralogix.

Notes:

  • Coralogix queries only the metrics under the selected prefixes.

  • For metrics for which no data has been available for more than 15 minutes, the scraping interval will be reduced from 15 minutes to 1 hour.

  • Querying all of your metrics may result in GCP quota limits and less frequent metric updates.

STEP 8. Click NEXT.

STEP 9. Select the application and subsystem names.

  • Enter a default name for the application, or [optionally] select labels that will be used to create the application name. The first label value, which matches a metric label, will be used as the application_name. For example, given three application labels, if the first does not match any metrics, the value of the second label will be used as the application name.

  • Enter a default subsystem name or [optionally] select labels that will be used to create the subsystem name.

  • Note: Application and Subsystem names for metrics are optional. If no default name or labels are provided, the application name and subsystem name will not be populated for this metric.

Step 10. Click FINISH.

Support

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].