From df03d324c4e2cdf63d1e996d7c114eb3363d5e3b Mon Sep 17 00:00:00 2001 From: Arseniy Kuznetsov Date: Mon, 2 Jan 2023 09:55:11 +0100 Subject: [PATCH] async router fetch options --- mktxp/_mktxp.conf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/mktxp/_mktxp.conf b/mktxp/_mktxp.conf index 9e88e6b..cedee91 100644 --- a/mktxp/_mktxp.conf +++ b/mktxp/_mktxp.conf @@ -24,3 +24,9 @@ minimal_collect_interval = 5 # Minimal metric collection interval verbose_mode = False # Set it on for troubleshooting + + fetch_routers_in_parallel = False # Set to True if you want to fetch multiple routers parallel + max_worker_threads = 5 # Max number of worker threads that can fetch routers. Meaningless if fetch_routers_in_parallel is set to False + + max_scrape_duration = 10 # Max duration of individual routers' metrics collection + total_max_scrape_duration = 30 # Max overall duration of all metrics collection