prometheus service: add scrapeConfigs.params option
This commit is contained in:
@@ -116,6 +116,13 @@ let
|
|||||||
The URL scheme with which to fetch metrics from targets.
|
The URL scheme with which to fetch metrics from targets.
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
params = mkOption {
|
||||||
|
type = types.attrsOf (types.listOf types.str);
|
||||||
|
default = {};
|
||||||
|
description = ''
|
||||||
|
Optional HTTP URL parameters.
|
||||||
|
'';
|
||||||
|
};
|
||||||
basic_auth = mkOption {
|
basic_auth = mkOption {
|
||||||
type = types.nullOr (types.submodule {
|
type = types.nullOr (types.submodule {
|
||||||
options = {
|
options = {
|
||||||
|
|||||||
Reference in New Issue
Block a user