changeset 38:ddcaa1abe0c5

more ignorelist
author drewp@bigasterisk.com
date Thu, 21 Dec 2023 13:47:55 -0800
parents 6e27d280b598
children 84a00d1b87b3
files config/scrape_main.yaml
diffstat 1 files changed, 17 insertions(+), 15 deletions(-) [+]
line wrap: on
line diff
--- a/config/scrape_main.yaml	Thu Dec 21 13:47:23 2023 -0800
+++ b/config/scrape_main.yaml	Thu Dec 21 13:47:55 2023 -0800
@@ -94,22 +94,24 @@
         replacement: "/video/api/metrics"
 
       # discovery is matching extra ports that don't serve metrics- remove these targets
-      - {if: '{job="cert-manager-webhook"}',                    action: drop}
-      - {if: '{job="cert-manager",      __port_number="9403"}', action: drop}
-      - {if: '{job="filesync-syncthing",__port_number="8384"}', action: drop}
-      - {if: '{job="jsregistry",        __port_number="4873"}', action: drop}
-      - {if: '{job="kube-dns",          __port_number="53"}',   action: drop}
-      - {if: '{job="kubernetes"}', action: drop}
+      - {if: '{job="cert-manager-webhook"}',                     action: drop}
+      - {if: '{job="cert-manager",      __port_number="9403"}',  action: drop}
+      - {if: '{job="filesync-syncthing",__port_number="21027"}', action: drop}
+      - {if: '{job="filesync-syncthing",__port_number="22000"}', action: drop}
+      - {if: '{job="filesync-syncthing",__port_number="8384"}',  action: drop}
+      - {if: '{job="jsregistry",        __port_number="4873"}',  action: drop}
+      - {if: '{job="kube-dns",          __port_number="53"}',    action: drop}
+      - {if: '{job="kubernetes"}',                               action: drop}
       - {if: '{job="mongodb",           __port_number="27017"}', action: drop}
-      - {if: '{job="mosquitto-ext",     __port_number="1883"}', action: drop}
-      - {if: '{job="net-route-input",   __port_number="80"}',   action: drop}
-      - {if: '{job="photoprism",        __port_number="2342"}', action: drop}
-      - {if: '{job="pomerium-metrics",  __port_number="8080"}', action: drop}
-      - {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}
-      - {if: '{job=~"cm-acme-.*"}', action: drop}
+      - {if: '{job="mosquitto-ext",     __port_number="1883"}',  action: drop}
+      - {if: '{job="net-route-input",   __port_number="80"}',    action: drop}
+      - {if: '{job="photoprism",        __port_number="2342"}',  action: drop}
+      - {if: '{job="pomerium-metrics",  __port_number="8080"}',  action: drop}
+      - {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}
+      - {if: '{job=~"cm-acme-.*"}',                              action: drop}
 
       # Assume all 8001/8002 port discoveries are redundant with an nginx proxy
       - {if: '{__port_number="8001"}', action: drop}