Related to TLS connection

20 views
Skip to first unread message

PK

unread,
Jan 14, 2022, 12:51:34 AM1/14/22
to Prometheus Users
Hi,
As I was goin through the Prometheus tls configuration, I got to know that  An exporter requires a TLS connection using certificates.

Can anyone please let me know if it is possible to disable this requirement. 

Stuart Clark

unread,
Jan 14, 2022, 2:16:40 AM1/14/22
to PK, Prometheus Users
On 14/01/2022 05:51, PK wrote:
Hi,
As I was goin through the Prometheus tls configuration, I got to know that  An exporter requires a TLS connection using certificates.

Can anyone please let me know if it is possible to disable this requirement.  --

There is no requirement for scrape targets to be using TLS (although that is generally good security practice to always use https). You just need to set the scheme in your job configuration to http.

-- 
Stuart Clark

PK

unread,
Jan 14, 2022, 3:21:45 AM1/14/22
to Prometheus Users
Thank you. But can you please let me know how  to set the scheme in your job configuration to HTTP. Actually, I am new to pometheus.

Brian Candler

unread,
Jan 14, 2022, 8:25:20 AM1/14/22
to Prometheus Users
It's the "scheme" setting of a scrape job:

And it defaults to http.

Reply all
Reply to author
Forward
0 new messages