-
Notifications
You must be signed in to change notification settings - Fork 174
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Any way to get metrics on 2019 port? #613
Comments
CDP needs control of the admin endpoint because it does managed config reloads. You can serve metrics from any port with the Just add labels to your Caddy container to produce config like this:
|
thanks for answer!
|
No, you need to define a site (like if you used a domain) but with |
clear!
thank a lot |
Can we also expose /reverse_proxy/upstreams in similar way? |
Unfortunately no @m0n0chr0me. But you could do something silly like this:
|
Thank you @francislavoie. I tried this and I was getting the error So I have checked with chatgpt to find the below solution which is working fine. Thank you for your guidance.
Equivalent labels would be
And also need to expose 2020 in the ports section. Now i can load the caddy widget from Homepage. |
inside caddy-proxy container config/caddy/autosave.json show
{"admin":{"listen":"tcp/localhost:2019"}
but with exposed 2019 port on docker-compose file, i can't connect to 2019, responce is:
Connection reset by peer
need advice - how change this settings to
{"admin":{"listen":":2019"}
or any other way to expose hostip:2019/metrics with lucaslorentz/caddy-docker-proxy and docker-compose ?
The text was updated successfully, but these errors were encountered: