Skip to content

ADC Env Var required for GCP Telemetry when running locally #2285

@averikitsch

Description

@averikitsch

Prerequisites

What are you trying to do that currently feels hard or impossible?

When I run toolbox locally using flag --telemetry-gcp I get error:

2026-01-09T10:56:07.888193-08:00 ERROR "error setting up OpenTelemetry: unable to set up trace provider: stackdriver: no project found with application default credentials" 

gCloud application default credentials login command does not work and it requires the env var $GOOGLE_APPLICATION_CREDENTIALS.

Suggested Solution(s)

  • Utilize gcloud ADC credentials or allow the developer to set the project ID.
  • Improve the error message to better guide the user

Alternatives Considered

No response

Additional Details

No response

Metadata

Metadata

Assignees

Labels

priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.status: help wantedStatus: Unplanned work open to contributions from the community.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.
No fields configured for Feature.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions