Cardinal Desktop Application
Connectors
GCP
Google Cloud Monitoring

Google Cloud Monitoring

Connect Cardinal Desktop Application to Google Cloud Platform's Cloud Monitoring and Cloud Logging.

Overview

Google Cloud Monitoring and Cloud Logging provide comprehensive observability for GCP resources and applications. With the GCP connector, your AI agents can:

  • Query Cloud Monitoring metrics using MQL
  • Search Cloud Logging logs with advanced filtering
  • Analyze metric time-series data with aggregations
  • Trace distributed systems via Cloud Trace
  • Correlate logs and metrics for root cause analysis
  • Query multiple GCP projects in a single setup

Connection Details

FieldDescription
ProjectBrowse and select a Google Cloud project from the grid
AuthenticationGoogle OAuth 2.0

Prerequisites

  • One or more Google Cloud projects
  • Cloud Monitoring and Cloud Logging APIs enabled
  • Google account or service account with monitoring access
  • Logs and metrics data in Cloud Logging/Monitoring

Finding Your Project ID

Your GCP project ID is visible in:

  1. Google Cloud Console: Top-left shows project name/ID

  2. Or via gcloud CLI:

    gcloud config get-value project

Enabling Required APIs

Cloud Monitoring and Cloud Logging APIs must be enabled:

gcloud services enable monitoring.googleapis.com
gcloud services enable logging.googleapis.com
gcloud services enable cloudtrace.googleapis.com

Or in Google Cloud Console:

  1. Go to APIs & ServicesEnabled APIs
  2. Click Enable APIs and Services
  3. Search for "Cloud Monitoring"
  4. Click Enable
  5. Repeat for "Cloud Logging"

Setup Wizard

Step 1 - Authenticate with Google

  1. In Cardinal Desktop Application, go to Connectors and click Browse Connectors
  2. Select Google Cloud Monitoring
  3. Click Authenticate with Google
  4. You'll be redirected to Google's OAuth consent screen
  5. Grant Cardinal Desktop Application access to your GCP resources
  6. Return to Cardinal Desktop Application — authentication is complete

Step 2 - Select Your Project

  1. Browse the list of available Google Cloud projects
    • Search for a specific project using the search box, or scroll through the grid
    • Click on the project card containing your monitoring and logging data
    • You can only select one project per datasource connection

Step 3 - Save Configuration

  1. Review your selected project
  2. Click Save
  3. Cardinal Desktop Application will verify connectivity

Your AI agent can now query GCP monitoring and logging data.


Understand the assets and product features →

Reach out to support@cardinalhq.io for support or to ask questions not answered in our documentation.