It's the "scheme" setting of a scrape job:
https://prometheus.io/docs/prometheus/latest/configuration/configuration/#scrape_config

And it defaults to http.

On Friday, 14 January 2022 at 08:21:45 UTC princ...@gmail.com wrote:

> 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.
>
> On Friday, January 14, 2022 at 12:46:40 PM UTC+5:30 Stuart Clark wrote:
>
>> 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
>>
>>

-- 
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 prometheus-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/d1ff71f1-e025-42d0-9da7-ed0af67d8ef7n%40googlegroups.com.

Reply via email to