Mercurial > code > home > repos > victoriametrics
diff config/scrape_main.yaml @ 25:4bf507b38e34
video-files scrape cases
author | drewp@bigasterisk.com |
---|---|
date | Thu, 29 Jun 2023 13:58:20 -0700 |
parents | 10017def57ce |
children | a4c49fa01c9d |
line wrap: on
line diff
--- a/config/scrape_main.yaml Sat Jun 24 23:02:42 2023 -0700 +++ b/config/scrape_main.yaml Thu Jun 29 13:58:20 2023 -0700 @@ -84,6 +84,10 @@ action: replace target_label: "__metrics_path__" replacement: "/m/metrics" + - if: '{job="video-files",__port_number="8004"}' + action: replace + target_label: "__metrics_path__" + replacement: "/video/api/metrics" # discovery is matching extra ports that don't serve metrics- remove these targets - {if: '{job="cert-manager-webhook"}', action: drop} @@ -100,6 +104,7 @@ - {if: '{job="pomerium-metrics", __port_number="8443"}', action: drop} - {if: '{job="pomerium-proxy", __port_number="8080"}', action: drop} - {if: '{job="pomerium-proxy", __port_number="8443"}', action: drop} + - {if: '{job="video-files", __port_number="8003"}', action: drop} # Needs https. Used by `kubectl top` - {if: '{job="metrics-server", __port_number="4443"}', action: drop}