prometheus service: add scrapeConfigs.params option

This commit is contained in:
Franz Pletz 2017-04-10 03:25:28 +02:00
parent b4c7979363
commit 4f0dd2f746
No known key found for this signature in database
GPG Key ID: 846FDED7792617B4

View File

@ -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 = {