Skip to content

Commit

Permalink
[scalability] Collect extra information by default (metrics and logs) (
Browse files Browse the repository at this point in the history
…#2083)

* Enable scaping metrics with 5s delay, and logs

* Make changes to makefile only
  • Loading branch information
mimowo committed May 8, 2024
1 parent 156529d commit 515c225
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Makefile
Expand Up @@ -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

Expand Down

0 comments on commit 515c225

Please sign in to comment.