From 4b1b1a588b2f982a97c0d7e5f11c6c422a3baa9c Mon Sep 17 00:00:00 2001 From: NotAShelf Date: Thu, 1 May 2025 21:15:19 +0300 Subject: [PATCH] nix: add missing config option --- nix/module.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/nix/module.nix b/nix/module.nix index ef4000d..94528e1 100644 --- a/nix/module.nix +++ b/nix/module.nix @@ -29,6 +29,7 @@ self: { data_dir = cfg.dataDir; config_dir = "${cfg.stateDir}/conf"; cache_dir = cfg.cacheDir; + no_metrics = cfg.noMetrics; }); in { ###### interface @@ -64,6 +65,12 @@ in { example = "10.0.0.5:8080"; }; + noMetrics = mkOption { + type = bool; + default = false; + description = "Whether to Prometheus disable metrics provider for Eris."; + }; + minDelay = mkOption { type = int; default = 1000;