add zfs-exporter scrape config

This commit is contained in:
Joseph Hanson 2024-10-21 19:15:38 -05:00
parent 70fd6f6d3d
commit 7b86253515
Signed by: jahanson
SSH key fingerprint: SHA256:vy6dKBECV522aPAwklFM3ReKAVB086rT3oWwiuiFG7o

View file

@ -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