e04ed9c211
CF: Deploy Dev Docs / deploy (push) Waiting to run
Sync Labels / build (push) Waiting to run
tests / unit tests (macos-latest) (push) Waiting to run
tests / unit tests (ubuntu-latest) (push) Waiting to run
tests / unit tests (windows-latest) (push) Waiting to run
1.7 KiB
1.7 KiB
title, type, linkTitle, weight, description, no_list
| title | type | linkTitle | weight | description | no_list |
|---|---|---|---|---|---|
| Cloud Monitoring Source | docs | Source | 1 | A "cloud-monitoring" source provides a client for the Cloud Monitoring API. | true |
About
The cloud-monitoring source provides a client to interact with the Google
Cloud Monitoring API. This allows
tools to access cloud monitoring metrics explorer and run promql queries.
Authentication can be handled in two ways:
- Application Default Credentials (ADC): By default, the source uses ADC to authenticate with the API.
- Client-side OAuth: If
useClientOAuthis set totrue, the source will expect an OAuth 2.0 access token to be provided by the client (e.g., a web browser) for each request.
Available Tools
{{< list-tools >}}
Example
kind: source
name: my-cloud-monitoring
type: cloud-monitoring
---
kind: source
name: my-oauth-cloud-monitoring
type: cloud-monitoring
useClientOAuth: true
Reference
| field | type | required | description |
|---|---|---|---|
| type | string | true | Must be "cloud-monitoring". |
| useClientOAuth | boolean | false | If true, the source will use client-side OAuth for authorization. Otherwise, it will use Application Default Credentials. Defaults to false. |