Prometheus + PushGateway + TLS - How to?

16 views
Skip to first unread message

Michael Black

unread,
Jun 11, 2020, 4:01:52 PM6/11/20
to Prometheus Users
I'm trying to set up Prometheus and Pushgateway on the same box with TLS support. I have ngix doing a reverse proxy and it's working but I can't the applications to work. When I try to specify the target in the prometheus.yml it breaks the service complaining about the bind address already being in use. Ideally these are the URLs of what I'm trying to achieve:

https://prometheus.example.com/ <--- the prometheus application
https://prometheus.example.com/pushgateway/ <--- the pushgateway application

Ngix is doing the reverse proxy back to the :9090 and :9091 ports respectively but whenever I try to specify the target in the yml is where things break. I also can't push metrics yet to pushgateway either.
Reply all
Reply to author
Forward
0 new messages