Skip to main content

Googleclientauth Extension

Status Available in: contrib Maintainers: @dashpole, @aabmass, @braydonk, @jsuereth, @psx95, @ridwanmsharif Source: opentelemetry-collector-contrib

Overview

Configuration

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 requested by the extension.
  • quota_project - The project 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
  • audience - The audience claim used for generating ID token

Configuration

Example Configuration

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-04-13