docs/en/integrations/cloudmonitoring/source.md
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:
useClientOAuth is set to true, the source will
expect an OAuth 2.0 access token to be provided by the client (e.g., a web
browser) for each request.{{< list-tools >}}
kind: source
name: my-cloud-monitoring
type: cloud-monitoring
---
kind: source
name: my-oauth-cloud-monitoring
type: cloud-monitoring
useClientOAuth: true
| 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. |