Skip to content

Commit f05e530

Browse files
dkrucesmcgrof
authored andcommitted
sysbench: add monitor-results support for interim monitoring
Add monitor-results target to sysbench workflow following the same pattern as blktests and fstests implementation. This enables users to collect interim monitoring data during long-running sysbench tests without stopping ongoing monitoring. Generated-by: Claude AI Signed-off-by: Daniel Gomez <[email protected]> Signed-off-by: Luis Chamberlain <[email protected]>
1 parent b1e784b commit f05e530

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

workflows/sysbench/Makefile

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
PHONY += sysbench sysbench-test sysbench-telemetry sysbench-help-menu
1+
PHONY += sysbench sysbench-test sysbench-telemetry sysbench-help-menu monitor-results
22

33

44
TAGS_SYSBENCH_RUN := db_start
@@ -58,6 +58,12 @@ sysbench-plot:
5858
playbooks/sysbench.yml \
5959
--tags vars,plot
6060

61+
monitor-results: $(KDEVOPS_EXTRA_VARS)
62+
$(Q)ansible-playbook $(ANSIBLE_VERBOSE) \
63+
playbooks/monitor-results.yml \
64+
--extra-vars=@./extra_vars.yaml \
65+
$(LIMIT_HOSTS)
66+
6167
# Help target to show available options
6268
sysbench-help-menu:
6369
@echo "Sysbench options:"
@@ -66,6 +72,7 @@ sysbench-help-menu:
6672
@echo "sysbench-telemetry - Gather sysbench telemetry data on each node"
6773
@echo "sysbench-results - Collect all sysbench results onto local host"
6874
@echo "sysbench-clean - Remove any previous results on node and host"
75+
@echo "monitor-results - Collect interim monitoring data without stopping monitoring"
6976
@echo ""
7077

7178
HELP_TARGETS += sysbench-help-menu

0 commit comments

Comments
 (0)