Thanks Brian, I just enabled it and will be looking for failures and missed
totals.  Not seeing anything at this moment and thanks for your help.

On Tue, Sep 20, 2022 at 2:01 AM Brian Candler <[email protected]> wrote:

> On Monday, 19 September 2022 at 23:20:20 UTC+1 [email protected] wrote:
>
>> I have basic auth enabled. Is it possible to use basic auth and enable
>> the prometheus scraping itself?
>>
>>
> Yes:
> https://prometheus.io/docs/prometheus/latest/configuration/configuration/#scrape_config
>
> scrape_configs:
>   - job_name: "prometheus"
>     basic_auth:
>       username: "foo"
>       password: "bar"
>       # or: password_file: /etc/prometheus/scape.password
>     static_configs:
>       - targets: ["localhost:9090"]
>
> --
> 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/d3b6e1d9-a600-4f85-8bb5-993974f694ffn%40googlegroups.com
> <https://groups.google.com/d/msgid/prometheus-users/d3b6e1d9-a600-4f85-8bb5-993974f694ffn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CADyt5gmAVqfbKST3UNwdAcVvH9AHQMDMAeMXsO_cUMLjveRTaw%40mail.gmail.com.

Reply via email to