forked from yunlzheng/prometheus-pusher
-
Notifications
You must be signed in to change notification settings - Fork 0
/
prometheus_pusher.yml
36 lines (32 loc) · 908 Bytes
/
prometheus_pusher.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
global:
scrape_interval: 15s
evaluation_interval: 15s
external_labels:
monitor: 'exporter-metrics'
scrape_configs:
- job_name: 'HostsMetrics'
dns_sd_configs:
- names:
- node-exporter
refresh_interval: 15s
type: A
port: 9100
- job_name: 'RancherServerMetrics'
dns_sd_configs:
- names:
- cadvisor
refresh_interval: 15s
type: A
port: 9120
#- job_name: 'RancherApi'
# dns_sd_configs:
# - names:
# - 'prometheus-rancher-exporter'
# refresh_interval: 15s
# type: A
# port: 9173
#
#- job_name: 'ContainerMetrics'
# static_configs:
# - targets:
# - 'rancher-server:9108'