Skip to content

Passing --telemetry-project causes immediate crash with no logs #2528

@apexskier

Description

@apexskier

Bug Description

See example code below. I've tried a combo of other metrics related flags, without changing behavior.

Example code (or command)

docker run --rm gcr.io/cloud-sql-connectors/cloud-sql-proxy:2.20.0 my-project-id:region:name --telemetry-project my-project-id --debug-logs

This causes an immediate exit with status 1, no logs.

Steps to reproduce?

Seeing this through a docker invocation, both manually and against a local kubernetes cluster.

Environment

  1. OS type and version: macOS 26.1
  2. Cloud SQL Proxy version (./cloud-sql-proxy --version): see docker command above
  3. Proxy invocation command (for example, ./cloud-sql-proxy --port 5432 INSTANCE_CONNECTION_NAME): see docker command above

Additional Details

No response

Metadata

Metadata

Assignees

Labels

type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions