Thanks! Using 4 now. The performance improved a lot.
Hopefully with your proposal implementation the performance will be close 
to no auth.

On Wednesday, 13 January 2021 at 20:38:31 UTC+1 Julien Pivotto wrote:

> On 13 Jan 11:26, Sebas tech wrote:
> > Enabled the basic authentication as per v2.24.
> > 
> > Loading a dashboard in Grafana is a lot slower now with the 
> node-exporter 
> > graphs appearing slowly one by one. Is this to be expected because maybe 
> (a 
> > guess) each query has to be authenticated now or is this not normal?
>
>
> Hello,
>
> Yes this is an issue due to bcrypt. As a workaround you can reduce the
> roundtrips to 4.
>
> I also note that Prometheus is not the only one to have this issue, e.g.
> caddy had that too:
> https://github.com/caddyserver/caddy/issues/3462
> Which they fixed by 'caching' the passwords:
>
> https://github.com/caddyserver/caddy/commit/9a7756c6e4b4ddb945bede3ddb2dfbf241208915
>
> I will probably propose such an implementation so further
> implementations hopefully see improvements in that regards.
>
> > 
> > -- 
> > 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/9921f002-689c-44d4-b8fb-bf28534813e5n%40googlegroups.com
> .
>
>
> -- 
> Julien Pivotto
> @roidelapluie
>

-- 
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/ba832025-75a3-4e45-8555-a9daf0aca597n%40googlegroups.com.

Reply via email to