Merge pull request #154054 from SuperSandro2000/prometheus-bearer-token
commit8aeafc25c9cd9701920599019490d109dd1ea4e9
authorSandro <sandro.jaeckel@gmail.com>
dateSun 9 Jan 2022, 01:48 (5 years ago)
parent76e5d2339ce4dd
nixos/modules/services/monitoring/prometheus/default.nix+2−2
@@ -252,8 +252,8 @@ let
252252 promTypes.scrape_config = types.submodule {
253253 options = {
254254 authorization = mkOption {
255− type = types.attrs;
256− default = {};
255+ type = types.nullOr types.attrs;
256+ default = null;
257257 description = ''
258258 Sets the `Authorization` header on every scrape request with the configured credentials.
259259 '';