From 515c225ce5ef1b58bb236db0f60ca76b75cb22bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Wo=C5=BAniak?= Date: Wed, 8 May 2024 19:54:27 +0200 Subject: [PATCH] [scalability] Collect extra information by default (metrics and logs) (#2083) * Enable scaping metrics with 5s delay, and logs * Make changes to makefile only --- Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index cb2e27d543..008e2ea53b 100644 --- a/Makefile +++ b/Makefile @@ -222,18 +222,19 @@ performance-scheduler-runner: MINIMALKUEUE_RUNNER := $(PROJECT_DIR)/bin/minimalkueue .PHONY: minimalkueue -minimalkueue: +minimalkueue: $(GO_BUILD_ENV) $(GO_CMD) build -ldflags="$(LD_FLAGS)" -o $(MINIMALKUEUE_RUNNER) test/performance/scheduler/minimalkueue/main.go ifdef SCALABILITY_CPU_PROFILE SCALABILITY_EXTRA_ARGS += --withCPUProfile=true endif -ifdef SCALABILITY_KUEUE_LOGS +ifndef NO_SCALABILITY_KUEUE_LOGS SCALABILITY_EXTRA_ARGS += --withLogs=true --logToFile=true endif -ifdef SCALABILITY_SCRAPE_INTERVAL +SCALABILITY_SCRAPE_INTERVAL ?= 5s +ifndef NO_SCALABILITY_SCRAPE SCALABILITY_SCRAPE_ARGS += --metricsScrapeInterval=$(SCALABILITY_SCRAPE_INTERVAL) endif