Files
homelab/monitoring/prometheus/prometheus.yml

26 lines
640 B
YAML
Raw Normal View History

scrape_configs:
- job_name: 'pve'
static_configs:
- targets:
- 192.168.2.100 # Proxmox VE Node
metrics_path: /pve
params:
module: [default]
cluster: ['1']
node: ['1']
relabel_configs:
- source_labels: [__address__]
target_label: __param_target
- source_labels: [__param_target]
target_label: instance
- target_label: __address__
replacement: 192.168.2.114:9221 #PVE Exporter Address
- job_name: 'openclaw-node'
static_configs:
- targets:
- 192.168.2.120:9100
labels:
instance: openclaw
vm_id: '120'