On 13/02/2023 09:16, V P wrote:
We want to scrape a https app runner domain without a port number and the Prometheus configuration is according to that. Is there a way to prevent the default port number for https(443) to get applied in the domain name of app runner when the Prometheus targets the https domain?

As my domain https://app-runner.com/actuator/prometheus gets converted to
https://app-runner.com:443/actuator/prometheus in the targets and gives a 404 error due to the addition on port number in url.

I changed the scheme to https, tried adding 443 port in target field of yml config file as well still getting the same error 404

I'm not quite sure what you are meaning by "without a port number"? All connections are to a specific port. If you don't specify a port when doing a web request it will default to 80 or 443 (depending on if it is HTTP or HTTPS).

--
Stuart Clark

--
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to prometheus-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/2f842031-0a26-3c52-53c2-925cdeee7f09%40Jahingo.com.

Reply via email to