mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
nixos/prometheus: fix usage of bearer_token
This commit is contained in:
parent
41d2ab4085
commit
39ce4ddd85
1 changed files with 2 additions and 2 deletions
|
@ -252,8 +252,8 @@ let
|
||||||
promTypes.scrape_config = types.submodule {
|
promTypes.scrape_config = types.submodule {
|
||||||
options = {
|
options = {
|
||||||
authorization = mkOption {
|
authorization = mkOption {
|
||||||
type = types.attrs;
|
type = types.nullOr types.attrs;
|
||||||
default = {};
|
default = null;
|
||||||
description = ''
|
description = ''
|
||||||
Sets the `Authorization` header on every scrape request with the configured credentials.
|
Sets the `Authorization` header on every scrape request with the configured credentials.
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue