prometheus service: add scrapeConfigs.params option
commit4f0dd2f746f44f427b3416c493d295f16ef2a8f3
authorFranz Pletz <fpletz@fnordicwalking.de>
dateMon 10 Apr 2017, 03:25 (10 years ago)
parentb4c7979
nixos/modules/services/monitoring/prometheus/default.nix+7
@@ -116,6 +116,13 @@ let
116116 The URL scheme with which to fetch metrics from targets.
117117 '';
118118 };
119+ params = mkOption {
120+ type = types.attrsOf (types.listOf types.str);
121+ default = {};
122+ description = ''
123+ Optional HTTP URL parameters.
124+ '';
125+ };
119126 basic_auth = mkOption {
120127 type = types.nullOr (types.submodule {
121128 options = {