mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-20 02:55:39 +00:00
Merge pull request #154054 from SuperSandro2000/prometheus-bearer-token
This commit is contained in:
commit
8aeafc25c9
@ -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…
Reference in New Issue
Block a user