From 54129f63c7f63c459ffaba8641176ffd93c6d35f Mon Sep 17 00:00:00 2001 From: vgorkavenko Date: Tue, 3 Oct 2023 18:08:29 +0400 Subject: [PATCH] fix: metric_relabel_configs --- docker/prometheus/prometheus.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docker/prometheus/prometheus.yml b/docker/prometheus/prometheus.yml index 395fe079..3f0292b7 100644 --- a/docker/prometheus/prometheus.yml +++ b/docker/prometheus/prometheus.yml @@ -27,4 +27,6 @@ scrape_configs: - targets: ['ethereum-validators-monitoring:8080'] metric_relabel_configs: - source_labels: [ nos_module_id, nos_id ] + regex: '(\d+);(\d+)' + replacement: ${1};${2} target_label: nos_global_index