Mercurial > code > home > repos > victoriametrics
diff config/scrape_main.yaml @ 29:a4c49fa01c9d
correct v-logs path
author | drewp@bigasterisk.com |
---|---|
date | Wed, 19 Jul 2023 21:17:44 -0700 |
parents | 4bf507b38e34 |
children | ce7ae4d2b24b |
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__"