Skip to content

Commit 4c7c0da

Browse files
authored
Update cloud-sql-proxy_wait.md
Without --health-check or --prometheus, the server http does not start
1 parent bfb63f5 commit 4c7c0da

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

docs/cmd/cloud-sql-proxy_wait.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,14 @@ Configuration
2323

2424
By default, the Proxy will wait up to the maximum time for the startup
2525
endpoint to respond. The wait command requires that the Proxy be started in
26-
another process with the HTTP health check enabled. If an alternate health
26+
another process with the HTTP health check or prometheus enabled. If an alternate health
2727
check port or address is used, as in:
2828

2929
./cloud-sql-proxy <INSTANCE_CONNECTION_NAME> \
3030
--http-address 0.0.0.0 \
3131
--http-port 9191
32-
32+
--health-check
33+
3334
Then the wait command must also be told to use the same custom values:
3435

3536
./cloud-sql-proxy wait \

0 commit comments

Comments
 (0)