blob: 96228d67e55ea8f1a041b24d1c35eb6c934886ac [file] [log] [blame]
Martin Polreiche9dc0602017-05-19 14:02:17 +02001prometheus:
2 server:
3 enabled: true
4 dir:
Bartosz Kupiduraabec2562017-05-17 16:00:52 +02005 config: /srv/volumes/prometheus/server
Bartosz Kupidura94c1a3c2017-07-28 14:33:36 +02006 config_in_container: /srv/prometheus
Bartosz Kupiduraabec2562017-05-17 16:00:52 +02007 data: /srv/volumes/local/prometheus/server
Martin Polreiche9dc0602017-05-19 14:02:17 +02008 bind:
9 port: 9090
10 address: 0.0.0.0
11 external_port: 15010
12 target:
13 dns:
14 enabled: true
15 endpoint:
16 - name: 'pushgateway'
17 domain:
18 - 'tasks.prometheus_pushgateway'
19 type: A
20 port: 9091
21 - name: 'prometheus'
22 domain:
23 - 'tasks.prometheus_server'
24 type: A
25 port: 9090
26 kubernetes:
27 enabled: true
28 api_ip: 127.0.0.1
29 ssl_dir: /opt/prometheus/config
30 cert_name: prometheus-server.crt
31 key_name: prometheus-server.key
32 etcd:
33 endpoint:
34 scheme: https
35 ssl_dir: /opt/prometheus/config
36 cert_name: prometheus-server.crt
37 key_name: prometheus-server.key
38 member:
Martin Polreichc9dadf72018-04-25 15:03:05 +020039 - host: 10.0.175.101
40 port: 4001
41 - host: 10.0.175.102
42 port: 4001
43 - host: 10.0.175.103
44 port: 4001
Martin Polreiche9dc0602017-05-19 14:02:17 +020045 recording:
46 instance:fd_utilization:
47 query: >-
48 process_open_fds / process_max_fds
49 alert:
50 PrometheusTargetDown:
51 if: 'up != 1'
52 labels:
53 severity: down
54 annotations:
55 summary: 'Prometheus target down'
56 storage:
57 local:
Martin Polreiche9dc0602017-05-19 14:02:17 +020058 retention: "360h"
Martin Polreiche9dc0602017-05-19 14:02:17 +020059 alertmanager:
60 notification_queue_capacity: 10000
61 config:
62 global:
63 scrape_interval: "15s"
64 scrape_timeout: "15s"
65 evaluation_interval: "1m"
66 external_labels:
67 region: 'region1'
Bartosz Kupidura13f39f22017-05-29 15:05:06 +020068 remote_write:
69 remote_storage_adapter:
70 enabled: true
Martin Polreichc9dadf72018-04-25 15:03:05 +020071 url: "http://127.0.0.1:9201/write"
Bartosz Kupidurae7de11c2017-05-24 13:20:21 +020072 alertmanager:
73 docker_swarm_alertmanager:
74 enabled: true
75 dns_sd_configs:
76 domain:
77 - tasks.monitoring_alertmanager
78 type: A
79 port: 9093
Martin Polreiche9dc0602017-05-19 14:02:17 +020080docker:
81 host:
82 enabled: true
83 experimental: true
84 insecure_registries:
85 - 127.0.0.1
86 log:
87 engine: json-file
Bartosz Kupiduraabec2562017-05-17 16:00:52 +020088 size: 50m