# HG changeset patch # User drewp@bigasterisk.com # Date 1710107386 25200 # Node ID 16bde029b19fbfaee9b5a7894d4670bbd2388689 # Parent febc20caabcbe7dc07823915f8326469a481f544 +filebeat, -some errors diff -r febc20caabcb -r 16bde029b19f config/scrape_main.yaml --- a/config/scrape_main.yaml Sun Mar 10 14:49:32 2024 -0700 +++ b/config/scrape_main.yaml Sun Mar 10 14:49:46 2024 -0700 @@ -114,6 +114,7 @@ - {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="nvidiagpu-node-feature-discovery-master", __port_number="8080"}', action: drop} # already have this with a job="pomerium-proxy" - {if: '{job="pomerium-metrics"}', action: drop} @@ -126,6 +127,9 @@ # Needs https. Used by `kubectl top` - {if: '{job="metrics-server", __port_number="443"}', action: drop} + # Something doesn't work with the scrape, and I don't see why I should care: + - {if: '{job="metrics-server" }', action: drop} + - job_name: "telegraf" scheme: http @@ -148,6 +152,17 @@ replacement: "${1}:9633" action: replace + - job_name: "filebeat" + scrape_interval: 1m + scheme: http + kubernetes_sd_configs: [{ role: node }] + relabel_configs: + - source_labels: [__address__] + regex: "(.*):(\\d+)" + target_label: __address__ + replacement: "${1}:5067" + action: replace + - job_name: "net-routes" static_configs: - targets: