-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup_sample.yml
64 lines (58 loc) · 1.3 KB
/
setup_sample.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
---
- hosts: all
roles:
- goozbach.EPEL
- chessfracture-common
- cloudalchemy.node-exporter
vars:
node_exporter_enabled_collectors:
- interrupts
- ksmd
- logind
- meminfo_numa
- mountstats
- processes
- systemd
- tcpstat
- hosts: web
roles:
- cloudalchemy.prometheus
- cloudalchemy.grafana
- chessfracture-web
- chessfracture-worker
vars:
letsencrypt_mail: "letsencrypt@domain.com"
prometheus_targets:
node:
- targets:
- localhost:9100
- localhost:9187
- localhost:4040
- localhost:9113
#- worker0:9100
prometheus_scrape_configs:
- job_name: chessfracture
metrics_path: "/chessfracture/metrics"
scrape_interval: 30s
static_configs:
- targets:
- localhost:8000
- job_name: node
file_sd_configs:
- files:
- "{{ prometheus_config_dir }}/file_sd/node.yml"
prometheus_global:
scrape_interval: 30s
grafana_datasources:
- name: prometheus
type: prometheus
access: proxy
url: http://web:9090
basicAuth: false
isDefault: true
grafana_security:
admin_user: admin
admin_password: admin
- hosts: workers
roles:
- chessfracture-worker