remote write mTLS

129 views
Skip to first unread message

Victor Borisik

unread,
Feb 24, 2022, 1:27:58 AM2/24/22
to Prometheus Users
I'm trying to set up Prometheus-to-Prometheus metrics flow, I was able to do it by flag --enable-feature=remote-write-receiver.
However I need to have mTLS there, can someone advice a manual or post a config sample?
Appreciate you help

Brian Candler

unread,
Feb 24, 2022, 3:07:21 AM2/24/22
to Prometheus Users
At the receiving side: https://prometheus.io/docs/prometheus/latest/configuration/https/
(i.e. you need "tls_server_config" in a separate web.config.file)
Or you can sit prometheus behind a reverse proxy that terminates TLS.

At the sending side: 
https://prometheus.io/docs/prometheus/latest/configuration/configuration/#tls_config
(i.e. you need a https url and a "tls_config" section under the remote write block)
Reply all
Reply to author
Forward
0 new messages