GoogleCloudPlatform / GoogleCloudPlatform/cloud-sql-proxy

Passing `--telemetry-project` causes immediate crash with no logs

Open
#2,528 2 comments 0 reactions 1 assignee Claimed by @panavenue View on GitHub
type: bug
Dominant language
Go
Stars
1.4k
Forks
352
Avg merge
14h 54m
Merged PRs (30d)
5

Description

### 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_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.