disk_usage_exporter icon indicating copy to clipboard operation
disk_usage_exporter copied to clipboard

[Question] Basic Auth

Open bruhtus opened this issue 2 years ago • 0 comments

Hello there, I am new to prometheus and I just take a look at prometheus guides basic auth.

I tried the same in disk usage exporter config, more or less like this:

basic_auth_users:
  admin: <password-hash>
analyzed-path: /var/www/media
dir-level: 1

but I still can access the endpoint without username and password.

I already restart the systemd service but there's no change.

So I want to make sure, is disk usage exporter support basic auth? If it is, then how can we implement basic auth with disk usage exporter? Thank you!

bruhtus avatar Jul 07 '23 05:07 bruhtus