Ingest Google Cloud Monitoring Metrics

groundcover supports ingesting Google Cloud Monitoring Metrics directly into our platform, allowing you to visualize them using dashboards and create alerts.

Things to know

Ingestion interval

The integration pulls data from Google Cloud Monitoring every five minutes.

Data storage

Data fetched is stored in the Victoria Metrics database, meaning metrics are queried via the Google Cloud Monitoring API only one time per data point.

Supported services

groundcover supports ingestion of every GCP service listed in the GCP docs.

Setting up the integration

Create a Service Account and Assign Permissions

  1. Go to IAM & Admin in GCP Console

  2. Navigate to IAM & AdminService Accounts.

  3. Create a New Service Account

    • Click on Create Service Account.

    • Provide a name and description for the service account.

    • Click Create & Continue.

    • In the Grant this service account access to the project step, search for and select Monitoring Viewer (roles/monitoring.viewer).

    • Click ContinueDone.

  4. Grant service account impersonation access

    • Click on the newly created service account → Permissions View by Principals Grant Access

    • In the Add principals New principal section enter the <integrations-sa> provided to you.

    • In the Assign rolesRole section choose Service Account Token Creator

    • Click Save

Share details with groundcover

Share the following details with the groundcover team to complete the integration:

  1. The details of the service account created above

  2. The list of services you wish to ingest metrics from

  3. The region that hosts the account you wish to ingest metrics from

Last updated