It's telling you very clearly: you have nothing listening on port 10001 on localhost. Therefore, there is nothing for prometheus to connect to.
ssh into your prometheus server or container, and try: curl -v https://127.0.0.1:10001/metrics and you'll get the same answer. Note: it is usually wrong to be using https for connections to 127.0.0.1, but that's not your problem here. -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/00236cf1-bb5d-4fed-ac66-ad21fea22f07%40googlegroups.com.

