linux-node-visability/prometheus.yaml

16 lines
376 B
YAML
Raw Normal View History

2024-10-05 18:20:25 +00:00
global:
scrape_interval: 15s
query_log_file: /etc/prometheus/query.log
scrape_configs:
- job_name: caddy
static_configs:
- targets: ['caddy:2019']
- job_name: node
static_configs:
# put a list of all the nodes you are monitoring
- targets: ['10.0.0.92:9100']
- job_name: prometheus
static_configs:
- targets: ['localhost:9090']