k3s-cluster/kubernetes/main/apps/monitoring/proxmoxve-exporter/service-monitor.yaml

21 lines
No EOL
389 B
YAML

apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: proxmoxve-exporter
namespace: monitoring
labels:
release: kube-prometheus-stack
spec:
selector:
matchLabels:
app: proxmoxve-service
endpoints:
- port: http
interval: 2m
scrapeTimeout: 1m
path: /pve
params:
target:
- "192.168.10.10"
module:
- default