changeset 29:a4c49fa01c9d

correct v-logs path
author drewp@bigasterisk.com
date Wed, 19 Jul 2023 21:17:44 -0700
parents e114edff93dc
children 4165f4fa6ccf
files config/scrape_main.yaml
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/config/scrape_main.yaml	Wed Jul 19 21:17:22 2023 -0700
+++ b/config/scrape_main.yaml	Wed Jul 19 21:17:44 2023 -0700
@@ -84,6 +84,10 @@
         action: replace
         target_label: "__metrics_path__"
         replacement: "/m/metrics"
+      - if: '{job="victorialogs",__port_number="9428"}'
+        action: replace
+        target_label: "__metrics_path__"
+        replacement: "/logs/metrics"
       - if: '{job="video-files",__port_number="8004"}'
         action: replace
         target_label: "__metrics_path__"