diff --git a/kubernetes/apps/observability/kube-prometheus-stack/app/scrapeconfigs/kustomization.yaml b/kubernetes/apps/observability/kube-prometheus-stack/app/scrapeconfigs/kustomization.yaml index 93f0b824..c1174d4a 100644 --- a/kubernetes/apps/observability/kube-prometheus-stack/app/scrapeconfigs/kustomization.yaml +++ b/kubernetes/apps/observability/kube-prometheus-stack/app/scrapeconfigs/kustomization.yaml @@ -3,4 +3,5 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resources: - - ./node-exporter.yaml \ No newline at end of file + - ./node-exporter.yaml + - ./zfs-exporter.yaml \ No newline at end of file diff --git a/kubernetes/apps/observability/kube-prometheus-stack/app/scrapeconfigs/zfs-exporter.yaml b/kubernetes/apps/observability/kube-prometheus-stack/app/scrapeconfigs/zfs-exporter.yaml new file mode 100644 index 00000000..e8229114 --- /dev/null +++ b/kubernetes/apps/observability/kube-prometheus-stack/app/scrapeconfigs/zfs-exporter.yaml @@ -0,0 +1,11 @@ +--- +# yaml-language-server: $schema=https://ks.hsn.dev/monitoring.coreos.com/scrapeconfig_v1alpha1.json +apiVersion: monitoring.coreos.com/v1alpha1 +kind: ScrapeConfig +metadata: + name: zfs-exporter +spec: + staticConfigs: + - targets: + - 10.1.1.13:9134 + metricsPath: /metrics \ No newline at end of file