> ## Documentation Index
> Fetch the complete documentation index at: https://otel.fyi/llms.txt
> Use this file to discover all available pages before exploring further.

# Googleclientauth

> OpenTelemetry extension for Googleclientauth

# Googleclientauth Extension

![Status](https://img.shields.io/badge/status-beta-yellow)

**Available in:** `contrib`

**Maintainers:** [@dashpole](https://github.com/dashpole), [@aabmass](https://github.com/aabmass), [@braydonk](https://github.com/braydonk), [@jsuereth](https://github.com/jsuereth), [@psx95](https://github.com/psx95), [@ridwanmsharif](https://github.com/ridwanmsharif)

**Source:** [opentelemetry-collector-contrib](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/extension/googleclientauthextension)

## Overview

## Configuration

```yaml theme={null}
extensions:
  googleclientauth:

receivers:
  otlp:
    protocols:
      grpc:

exporters:
  otlp_grpc/withauth:
    endpoint: 0.0.0.0:5000
    ca_file: /tmp/certs/ca.pem
    auth:
      authenticator: googleclientauth

service:
  extensions: [googleclientauth]
  pipelines:
    metrics:
      receivers: [otlp]
      processors: []
      exporters: [otlp_grpc/withauth]
```

The following optional config fields are available:

* `project` - The Google Cloud Project telemetry is sent to if the `gcp.project.id` resource attribute is not set. If unspecified, this is determined using application default credentials.
* `scopes` - The oauth 2.0 [scopes](https://datatracker.ietf.org/doc/html/rfc6749#section-3.3) requested by the extension.
* `quota_project` - The [project](https://cloud.google.com/apis/docs/system-parameters) for quota and billing purposes. The caller must have `serviceusage.services.use` permission on the project.
* `token_type` - The type of generated token. Default: `access_token`
  * `access_token`: [OAuth 2.0 access token](https://cloud.google.com/docs/authentication/token-types#access) will be generated.
  * `id_token`: Google-signed [ID token](https://cloud.google.com/docs/authentication/token-types#id) will be generated.
* `audience` - The audience claim used for generating ID token

## Configuration

### Example Configuration

```yaml theme={null}
googleclientauth:
googleclientauth/customname:
  project: my-project
  scopes:
  - "https://www.something.com/hello"
  - "https://www.something.com/world"
  quota_project: other-project
  audience: my-audience
```

***

*Last generated: 2026-07-06*
