forked from mirrors/nixpkgs
prometheus service: add scrapeConfigs.params option
This commit is contained in:
parent
b4c7979363
commit
4f0dd2f746
1 changed files with 7 additions and 0 deletions
|
@ -116,6 +116,13 @@ let
|
|||
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 {
|
||||
type = types.nullOr (types.submodule {
|
||||
options = {
|
||||
|
|
Loading…
Add table
Reference in a new issue