prometheus service: add scrapeConfigs.params option
This commit is contained in:
parent
b4c7979363
commit
4f0dd2f746
@ -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 = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user