blob: 43713677c3b156c890fe5bc3875c349a6fb80d0d [file] [log] [blame]
Bartosz Kupidurad856be82017-04-14 11:03:20 +02001classes:
2- service.prometheus.server.container
Filip Pytloun7d6144a2017-04-13 13:36:45 +02003- service.prometheus.alertmanager.container
Bartosz Kupidurad856be82017-04-14 11:03:20 +02004- service.prometheus.pushgateway.container
Bartosz Kupiduraa7a32442017-05-17 15:59:08 +02005- system.prometheus.server
6- system.prometheus.alertmanager
Filip Pytloun7d6144a2017-04-13 13:36:45 +02007parameters:
8 docker:
9 client:
10 stack:
11 monitoring:
12 network:
13 monitoring:
14 driver: overlay
15 driver_opts:
Bartosz Kupidurad856be82017-04-14 11:03:20 +020016 encrypted: 1
Filip Pytloun7d6144a2017-04-13 13:36:45 +020017 service:
18 alertmanager:
Bartosz Kupidurad856be82017-04-14 11:03:20 +020019 networks:
20 - monitoring
Filip Pytloun7d6144a2017-04-13 13:36:45 +020021 deploy:
22 replicas: 2
Bartosz Kupiduraa7a32442017-05-17 15:59:08 +020023 labels:
24 com.mirantis.monitoring: "alertmanager"
Filip Pytloun7d6144a2017-04-13 13:36:45 +020025 restart_policy:
26 condition: any
Bartosz Kupiduraa7a32442017-05-17 15:59:08 +020027 labels:
28 com.mirantis.monitoring: "alertmanager"
Filip Pytloun7d6144a2017-04-13 13:36:45 +020029 image: ${_param:docker_image_alertmanager}
30 ports:
31 - 15011:${prometheus:alertmanager:bind:port}
32 volumes:
Bartosz Kupiduraa7a32442017-05-17 15:59:08 +020033 - ${prometheus:alertmanager:dir:config}:${_param:prometheus_alertmanager_config_directory}
34 - ${prometheus:alertmanager:dir:data}:${_param:prometheus_alertmanager_data_directory}
Filip Pytloun7d6144a2017-04-13 13:36:45 +020035 environment:
Bartosz Kupiduraa7a32442017-05-17 15:59:08 +020036 config_dir: ${_param:prometheus_alertmanager_config_directory}
37 data_dir: ${_param:prometheus_alertmanager_data_directory}
Filip Pytloun7d6144a2017-04-13 13:36:45 +020038 bind_port: ${prometheus:alertmanager:bind:port}
39 bind_address: ${prometheus:alertmanager:bind:address}
Bartosz Kupidurad856be82017-04-14 11:03:20 +020040 discovery_domain: 'monitoring_alertmanager'
Filip Pytloun7d6144a2017-04-13 13:36:45 +020041 pushgateway:
Bartosz Kupidurad856be82017-04-14 11:03:20 +020042 networks:
43 - monitoring
Filip Pytloun7d6144a2017-04-13 13:36:45 +020044 deploy:
45 replicas: 2
Bartosz Kupiduraa7a32442017-05-17 15:59:08 +020046 labels:
47 com.mirantis.monitoring: "pushgateway"
Filip Pytloun7d6144a2017-04-13 13:36:45 +020048 restart_policy:
49 condition: any
Martin Polreicheeaaa862017-05-10 09:57:14 +020050 environment:
51 bind_port: ${prometheus:pushgateway:bind:port}
52 bind_address: ${prometheus:pushgateway:bind:address}
Bartosz Kupiduraa7a32442017-05-17 15:59:08 +020053 labels:
54 com.mirantis.monitoring: "pushgateway"
Filip Pytloun7d6144a2017-04-13 13:36:45 +020055 image: ${_param:docker_image_pushgateway}
56 ports:
Martin Polreicheeaaa862017-05-10 09:57:14 +020057 - 15012:${prometheus:pushgateway:bind:port}
Filip Pytloun7d6144a2017-04-13 13:36:45 +020058 server:
Bartosz Kupidurad856be82017-04-14 11:03:20 +020059 networks:
60 - monitoring
Filip Pytloun7d6144a2017-04-13 13:36:45 +020061 deploy:
62 replicas: 1
Bartosz Kupiduraa7a32442017-05-17 15:59:08 +020063 labels:
64 com.mirantis.monitoring: "prometheus"
Filip Pytloun7d6144a2017-04-13 13:36:45 +020065 restart_policy:
66 condition: any
Bartosz Kupiduraa7a32442017-05-17 15:59:08 +020067 labels:
68 com.mirantis.monitoring: "prometheus"
Filip Pytloun7d6144a2017-04-13 13:36:45 +020069 image: ${_param:docker_image_prometheus}
70 ports:
71 - 15010:${prometheus:server:bind:port}
72 volumes:
Bartosz Kupiduraa7a32442017-05-17 15:59:08 +020073 - ${prometheus:server:dir:config}:${_param:prometheus_server_config_directory}
74 - ${prometheus:server:dir:data}:${_param:prometheus_server_data_directory}
Filip Pytloun7d6144a2017-04-13 13:36:45 +020075 environment:
Bartosz Kupiduraa7a32442017-05-17 15:59:08 +020076 config_dir: ${_param:prometheus_server_config_directory}
77 data_dir: ${_param:prometheus_server_data_directory}
Filip Pytloun7d6144a2017-04-13 13:36:45 +020078 bind_port: ${prometheus:server:bind:port}
79 bind_address: ${prometheus:server:bind:address}
Filip Pytloun7d6144a2017-04-13 13:36:45 +020080 storage_local_engine: ${prometheus:server:storage:local:engine}
81 storage_local_retention: ${prometheus:server:storage:local:retention}
Bartosz Kupidura7e9b8b22017-05-25 10:59:09 +020082 storage_local_target_heap_size: ${prometheus:server:storage:local:target_heap_size}
Filip Pytloun7d6144a2017-04-13 13:36:45 +020083 storage_local_num_fingerprint_mutexes: ${prometheus:server:storage:local:num_fingerprint_mutexes}