From 4a2673ae168cb7a7a55d5062eae2f1ab84d60378 Mon Sep 17 00:00:00 2001 From: Joseph Hanson Date: Tue, 17 Dec 2024 07:55:16 -0600 Subject: [PATCH] add shadowfax to scrape config --- .../cluster/vmscrapeconfig.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 kubernetes/apps/observability/victoria-metrics/cluster/vmscrapeconfig.yaml diff --git a/kubernetes/apps/observability/victoria-metrics/cluster/vmscrapeconfig.yaml b/kubernetes/apps/observability/victoria-metrics/cluster/vmscrapeconfig.yaml new file mode 100644 index 00000000..21d6be0c --- /dev/null +++ b/kubernetes/apps/observability/victoria-metrics/cluster/vmscrapeconfig.yaml @@ -0,0 +1,17 @@ +# yaml-language-server: $schema=https://ks.hsn.dev/operator.victoriametrics.com/vmscrapeconfig_v1beta1.json +apiVersion: operator.victoriametrics.com/v1beta1 +kind: VMScrapeConfig +metadata: + name: &name shadowfax +spec: + staticConfigs: + - targets: ["10.1.1.61:9100"] + path: /metrics + relabelConfigs: + - action: replace + targetLabel: job + replacement: node-exporter + - action: replace + targetLabel: instance + replacement: shadowfax + scheme: http