diff --git a/monitoring/pbs.yaml b/monitoring/pbs.yaml new file mode 100644 index 0000000..8421d23 --- /dev/null +++ b/monitoring/pbs.yaml @@ -0,0 +1,22 @@ +--- +apiVersion: monitoring.coreos.com/v1 +kind: Probe +metadata: + name: pbs-proxmox +spec: + scrapeTimeout: 30s + targets: + staticConfig: + static: + - pbs.infra.k-space.ee:10019 + relabelingConfigs: + - sourceLabels: [__param_target] + targetLabel: instance + - sourceLabels: [__param_target] + targetLabel: __address__ + prober: + url: localhost + path: /metrics + metricRelabelings: + - sourceLabels: [__address__] + targetLabel: target \ No newline at end of file