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..16fadb5d --- /dev/null +++ b/kubernetes/apps/observability/victoria-metrics/cluster/vmscrapeconfig.yaml @@ -0,0 +1,16 @@ +--- +# yaml-language-server: $schema=https://ks.hsn.dev/operator.victoriametrics.com/vmscrapeconfig_v1beta1.json +apiVersion: operator.victoriametrics.com/v1beta1 +kind: VMScrapeConfig +metadata: + name: &name zfs-exporter +spec: + staticConfigs: + - targets: + - "shadowfax.jahanson.tech:9134" + - "gandalf.jahanson.tech:9134" + path: /metrics + relabelConfigs: + - action: replace + targetLabel: job + replacement: *name