Merge pull request #154054 from SuperSandro2000/prometheus-bearer-token

This commit is contained in:
Sandro 2022-01-09 01:48:43 +01:00 committed by GitHub
commit 8aeafc25c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -252,8 +252,8 @@ let
promTypes.scrape_config = types.submodule {
options = {
authorization = mkOption {
type = types.attrs;
default = {};
type = types.nullOr types.attrs;
default = null;
description = ''
Sets the `Authorization` header on every scrape request with the configured credentials.
'';