This repository has been archived by the owner on Jan 12, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathvars
65 lines (59 loc) · 1.46 KB
/
vars
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
65
#node_exporter_web_listen_address: "127.0.0.1:9100"
prometheus_web_external_url: "http://{{ ansible_host }}:9090"
prometheus_alertmanager_config:
- scheme: http
static_configs:
- targets: ["127.0.0.1:9093"]
prometheus_targets:
- targets:
- demo.cloudalchemy.org:9100
labels:
env: demo
job: node
- targets:
- demo.cloudalchemy.org:9093
labels:
env: demo
job: alertmanager
- targets:
- demo.cloudalchemy.org:3000
labels:
env: demo
job: grafana
prometheus_scrape_jobs:
- job_name: 'blackbox'
metrics_path: /probe
params:
module: [http_2xx]
static_configs:
- targets:
- http://demo.cloudalchemy.org:9100
relabel_configs:
- source_labels: [__address__]
target_label: __param_target
- source_labels: [__param_target]
target_label: instance
- target_label: __address__
replacement: 127.0.0.1:9115 # Blackbox exporter.
alertmanager_external_url: "http://{{ ansible_host }}:9093"
alertmanager_slack_api_url: "http://example.org"
grafana_security:
admin_user: admin
admin_password: "{{ vault_grafana_password }}"
grafana_auth:
anonymous:
org_name: "Main Org."
org_role: Viewer
grafana_datasources:
- name: "Prometheus"
type: "prometheus"
access: "proxy"
url: "http://localhost:9090"
isDefault: true
grafana_dashboards:
- dashboard_id: '1860'
revision_id: '8'
datasource: 'Prometheus'
- dashboard_id: '3662'
revision_id: '2'
datasource: 'Prometheus'