Missing SERVER_PORT env
jordanlambrecht opened this issue · 5 comments
jordanlambrecht commented
There's no SERVER_PORT env variable, so I'm not sure how to direct it correctly except for including it in the ADGUARD_SERVERS section as 192.168.1.2:8080
henrywhitaker3 commented
Yeah, that should just work in the ADGUARD_SERVERS
part
jordanlambrecht commented
Also getting an error for not having a ADGUARD_PROTOCOL
variable:
adguard-exporter | ERROR - could not get status: Get "<redacted>/control/status": unsupported protocol scheme ""
adguard-exporter | ERROR - could not get dhcp status: Get "<redacted>/control/dhcp/status": unsupported protocol scheme ""
adguard-exporter | ERROR - could not get query type stats: Get "<redacted>/control/querylog?limit=1000&response_status=all":
henrywhitaker3 commented
You need the scheme in the url, which I've just noticed the readme doesn't show, will update it now
jordanlambrecht commented
Great, thanks man. Glad someone is reviving this project.
henrywhitaker3 commented
No worries, I added an example relabling in the readme too if you want to strip out the http
and port when it gets scraped