We use Consul Registrator to register Docker containers with Consul as services.
Our prometheus is configured using consul_sd_configs to scrape a list of services resolved via Consul.
Recently a new Docker container was deployed which uses https with an internal certificate, rather than plain http. Prometheus is still trying to reach the service over http, which fails, and the service is then marked as down.
Is there any way to config Prometheus to use https for this service? Are we missing something in Consul or Registrator?
We cannot use a static config for the service, since the hosts and ports might change when it is deployed again - the service is spread over multiple Docker servers.