ContentSquare / chproxy

Open-Source ClickHouse http proxy and load balancer

Home Page:https://www.chproxy.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Docker-compose healthcheck path is wrong

petrenko-hilbert opened this issue · comments

test: curl 'http://127.0.0.1:9001/ping'

Hello! Using docker image contentsquareplatform/chproxy:v1.24.0
Suggested healthcheck URL for docker compose doesn't work, I get
ERROR: 2023/05/31 17:31:51 main.go:254: "172.23.0.1:50136": unsupported path: "/ping"
It won't work neither for quick start compose config, nor for chproxy I try to set up with existing clusters

Who has to answer that healthcheck actually? It that chproxy itself, or should it forward this request to any or one of configured clusters?

Hello @petrenko-hilbert . The healthcheck answer comes from Chproxy. We use /metrics path for that

Thank you, that indeed works!
It's probably better to update the example