add zfs-exporter scrape config
This commit is contained in:
parent
70fd6f6d3d
commit
7b86253515
1 changed files with 16 additions and 0 deletions
|
@ -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
|
Loading…
Reference in a new issue