Mercurial > code > home > repos > victoriametrics
changeset 50:16bde029b19f
+filebeat, -some errors
author | drewp@bigasterisk.com |
---|---|
date | Sun, 10 Mar 2024 14:49:46 -0700 |
parents | febc20caabcb |
children | df44473de6a1 |
files | config/scrape_main.yaml |
diffstat | 1 files changed, 15 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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: