[PATCH 6/6] sysbench: add monitor-results support for interim monitoring

Daniel Gomez <[email protected]>
Newsgroups dev.linux.lists.kdevops
Message-ID <[email protected]>
From: Daniel Gomez <[email protected]>

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]>
---
 workflows/sysbench/Makefile | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/workflows/sysbench/Makefile b/workflows/sysbench/Makefile
index 66e594d3..19321fba 100644
--- a/workflows/sysbench/Makefile
+++ b/workflows/sysbench/Makefile
@@ -1,4 +1,4 @@
-PHONY += sysbench sysbench-test sysbench-telemetry sysbench-help-menu
+PHONY += sysbench sysbench-test sysbench-telemetry sysbench-help-menu monitor-results
 
 
 TAGS_SYSBENCH_RUN := db_start
@@ -58,6 +58,12 @@ sysbench-plot:
 		playbooks/sysbench.yml \
 		--tags vars,plot
 
+monitor-results: $(KDEVOPS_EXTRA_VARS)
+	$(Q)ansible-playbook $(ANSIBLE_VERBOSE) \
+		playbooks/monitor-results.yml \
+		--extra-vars=@./extra_vars.yaml \
+		$(LIMIT_HOSTS)
+
 # Help target to show available options
 sysbench-help-menu:
 	@echo "Sysbench options:"
@@ -66,6 +72,7 @@ sysbench-help-menu:
 	@echo "sysbench-telemetry                - Gather sysbench telemetry data on each node"
 	@echo "sysbench-results                  - Collect all sysbench results onto local host"
 	@echo "sysbench-clean                    - Remove any previous results on node and host"
+	@echo "monitor-results                   - Collect interim monitoring data without stopping monitoring"
 	@echo ""
 
 HELP_TARGETS += sysbench-help-menu

-- 
2.50.1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.