
This avoids the need to use a proxy, or some other means, to connect to Prometheus. This is disabled by default and can be enabled by setting enable_prometheus_server_external to true. Change-Id: Ia0af044ff436c2a204b357750a16ff49fcdfec45
5 lines
208 B
Django/Jinja
5 lines
208 B
Django/Jinja
basic_auth_users:
|
|
{% for user in prometheus_basic_auth_users | selectattr('enabled') | list %}
|
|
{{ user.username }}: {{ user.password | password_hash('bcrypt', salt=prometheus_bcrypt_salt) }}
|
|
{% endfor %}
|