From 19f87a2298596c85eeb839a9684b5e8794e6bc48 Mon Sep 17 00:00:00 2001 From: gmega Date: Mon, 23 Jun 2025 19:12:02 -0300 Subject: [PATCH] fix: wrap prometheus conf in array --- src/clh | 4 +++- src/prometheus.bash | 18 ++++++++++-------- 2 files changed, 13 insertions(+), 9 deletions(-) diff --git a/src/clh b/src/clh index 3a68b48..197041e 100644 --- a/src/clh +++ b/src/clh @@ -12,4 +12,6 @@ OUTPUTS=$(realpath "${OUTPUTS}") source "${LIB_SRC}/experiment.bash" exp_set_outputs "${OUTPUTS}" -prom_set_outputs "${PROM_TARGETS_DIR}" \ No newline at end of file +prom_set_outputs "${PROM_TARGETS_DIR}" + +exp_start "default" \ No newline at end of file diff --git a/src/prometheus.bash b/src/prometheus.bash index 1e06ae1..ce28635 100644 --- a/src/prometheus.bash +++ b/src/prometheus.bash @@ -31,15 +31,17 @@ prom_add() { _prom_init_output || return 1 cat > "${_prom_output}/${metrics_port}-${experiment_type}-${experiment_id}-${node}-${node_type}.json" <