nixos/prometheus: fix usage of bearer_token
This commit is contained in:
parent
41d2ab4085
commit
39ce4ddd85
@ -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.
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user