Merge pull request #153314 from Mic92/prometheus
prometheus: add authorization section
This commit is contained in:
commit
0432195a4b
@ -251,6 +251,13 @@ let
|
|||||||
|
|
||||||
promTypes.scrape_config = types.submodule {
|
promTypes.scrape_config = types.submodule {
|
||||||
options = {
|
options = {
|
||||||
|
authorization = mkOption {
|
||||||
|
type = types.attrs;
|
||||||
|
default = {};
|
||||||
|
description = ''
|
||||||
|
Sets the `Authorization` header on every scrape request with the configured credentials.
|
||||||
|
'';
|
||||||
|
};
|
||||||
job_name = mkOption {
|
job_name = mkOption {
|
||||||
type = types.str;
|
type = types.str;
|
||||||
description = ''
|
description = ''
|
||||||
|
Loading…
Reference in New Issue
Block a user