Hello, You are using the prometheus python client? because the feature is
supported out of the box
https://github.com/prometheus/client_python#handlers-for-authentication

On Wed, Jan 13, 2021 at 8:58 AM Dhanush Eswar <[email protected]>
wrote:

> Hello Everyone,
> I am new to Prometheus, I am trying to add the Basic HTTP Authentication
> for my Prometheus Exporter which is written in Python, Please help me out
> with some reference.
>
> Thanks,
> Dhanush Eswar G
>
> --
> 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/a5eb5a8f-af6e-48b9-9763-85ec26a2b08en%40googlegroups.com
> <https://groups.google.com/d/msgid/prometheus-users/a5eb5a8f-af6e-48b9-9763-85ec26a2b08en%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/CALnV8WhgbtYXYeA_EDXws-zBtHRacnAuLTX1J%3D2uNd5M_5HFKw%40mail.gmail.com.

Reply via email to