This commit is contained in:
@@ -16,15 +16,11 @@
|
||||
- job_name: "prometheus"
|
||||
metrics_path: "/metrics"
|
||||
static_configs:
|
||||
- targets:
|
||||
- "localhost:9090"
|
||||
- targets: "{{ prometheus_prometheus_targets }}"
|
||||
- job_name: "node_exporter"
|
||||
metrics_path: "/metrics"
|
||||
static_configs:
|
||||
- targets:
|
||||
- "localhost:9100"
|
||||
- "10.7.10.96:9100"
|
||||
- "10.7.10.97:9100"
|
||||
- targets: "{{ prometheus_node_exporter_targets }}"
|
||||
|
||||
roles:
|
||||
- role: prometheus.prometheus.prometheus
|
||||
|
||||
Reference in New Issue
Block a user