Bartosz Kupidura | d856be8 | 2017-04-14 11:03:20 +0200 | [diff] [blame] | 1 | classes: |
| 2 | - service.prometheus.server.container |
Filip Pytloun | 7d6144a | 2017-04-13 13:36:45 +0200 | [diff] [blame] | 3 | - service.prometheus.alertmanager.container |
Bartosz Kupidura | d856be8 | 2017-04-14 11:03:20 +0200 | [diff] [blame] | 4 | - service.prometheus.pushgateway.container |
Bartosz Kupidura | a7a3244 | 2017-05-17 15:59:08 +0200 | [diff] [blame] | 5 | - system.prometheus.server |
| 6 | - system.prometheus.alertmanager |
Filip Pytloun | 7d6144a | 2017-04-13 13:36:45 +0200 | [diff] [blame] | 7 | parameters: |
| 8 | docker: |
| 9 | client: |
| 10 | stack: |
| 11 | monitoring: |
| 12 | network: |
| 13 | monitoring: |
| 14 | driver: overlay |
| 15 | driver_opts: |
Bartosz Kupidura | d856be8 | 2017-04-14 11:03:20 +0200 | [diff] [blame] | 16 | encrypted: 1 |
Filip Pytloun | 7d6144a | 2017-04-13 13:36:45 +0200 | [diff] [blame] | 17 | service: |
Bartosz Kupidura | 2c2d6d6 | 2017-06-05 11:37:41 +0200 | [diff] [blame^] | 18 | remote_agent: |
| 19 | networks: |
| 20 | - monitoring |
| 21 | deploy: |
| 22 | replicas: 1 |
| 23 | labels: |
| 24 | com.mirantis.monitoring: "remote_agent" |
| 25 | restart_policy: |
| 26 | condition: any |
| 27 | labels: |
| 28 | com.mirantis.monitoring: "remote_agent" |
| 29 | image: ${_param:docker_image_remote_agent} |
| 30 | ports: |
| 31 | - 15014:${telegraf:remote_agent:output:prometheus_client:bind:port} |
| 32 | volumes: |
| 33 | - ${telegraf:remote_agent:dir:config}:/etc/telegraf |
| 34 | - ${telegraf:remote_agent:dir:config_d}:/etc/telegraf/telegraf.d |
Filip Pytloun | 7d6144a | 2017-04-13 13:36:45 +0200 | [diff] [blame] | 35 | alertmanager: |
Bartosz Kupidura | d856be8 | 2017-04-14 11:03:20 +0200 | [diff] [blame] | 36 | networks: |
| 37 | - monitoring |
Filip Pytloun | 7d6144a | 2017-04-13 13:36:45 +0200 | [diff] [blame] | 38 | deploy: |
| 39 | replicas: 2 |
Bartosz Kupidura | a7a3244 | 2017-05-17 15:59:08 +0200 | [diff] [blame] | 40 | labels: |
| 41 | com.mirantis.monitoring: "alertmanager" |
Filip Pytloun | 7d6144a | 2017-04-13 13:36:45 +0200 | [diff] [blame] | 42 | restart_policy: |
| 43 | condition: any |
Bartosz Kupidura | a7a3244 | 2017-05-17 15:59:08 +0200 | [diff] [blame] | 44 | labels: |
| 45 | com.mirantis.monitoring: "alertmanager" |
Filip Pytloun | 7d6144a | 2017-04-13 13:36:45 +0200 | [diff] [blame] | 46 | image: ${_param:docker_image_alertmanager} |
| 47 | ports: |
| 48 | - 15011:${prometheus:alertmanager:bind:port} |
| 49 | volumes: |
Bartosz Kupidura | a7a3244 | 2017-05-17 15:59:08 +0200 | [diff] [blame] | 50 | - ${prometheus:alertmanager:dir:config}:${_param:prometheus_alertmanager_config_directory} |
| 51 | - ${prometheus:alertmanager:dir:data}:${_param:prometheus_alertmanager_data_directory} |
Filip Pytloun | 7d6144a | 2017-04-13 13:36:45 +0200 | [diff] [blame] | 52 | environment: |
Bartosz Kupidura | a7a3244 | 2017-05-17 15:59:08 +0200 | [diff] [blame] | 53 | config_dir: ${_param:prometheus_alertmanager_config_directory} |
| 54 | data_dir: ${_param:prometheus_alertmanager_data_directory} |
Filip Pytloun | 7d6144a | 2017-04-13 13:36:45 +0200 | [diff] [blame] | 55 | bind_port: ${prometheus:alertmanager:bind:port} |
| 56 | bind_address: ${prometheus:alertmanager:bind:address} |
Bartosz Kupidura | d856be8 | 2017-04-14 11:03:20 +0200 | [diff] [blame] | 57 | discovery_domain: 'monitoring_alertmanager' |
Filip Pytloun | 7d6144a | 2017-04-13 13:36:45 +0200 | [diff] [blame] | 58 | pushgateway: |
Bartosz Kupidura | d856be8 | 2017-04-14 11:03:20 +0200 | [diff] [blame] | 59 | networks: |
| 60 | - monitoring |
Filip Pytloun | 7d6144a | 2017-04-13 13:36:45 +0200 | [diff] [blame] | 61 | deploy: |
| 62 | replicas: 2 |
Bartosz Kupidura | a7a3244 | 2017-05-17 15:59:08 +0200 | [diff] [blame] | 63 | labels: |
| 64 | com.mirantis.monitoring: "pushgateway" |
Filip Pytloun | 7d6144a | 2017-04-13 13:36:45 +0200 | [diff] [blame] | 65 | restart_policy: |
| 66 | condition: any |
Martin Polreich | eeaaa86 | 2017-05-10 09:57:14 +0200 | [diff] [blame] | 67 | environment: |
| 68 | bind_port: ${prometheus:pushgateway:bind:port} |
| 69 | bind_address: ${prometheus:pushgateway:bind:address} |
Bartosz Kupidura | a7a3244 | 2017-05-17 15:59:08 +0200 | [diff] [blame] | 70 | labels: |
| 71 | com.mirantis.monitoring: "pushgateway" |
Filip Pytloun | 7d6144a | 2017-04-13 13:36:45 +0200 | [diff] [blame] | 72 | image: ${_param:docker_image_pushgateway} |
| 73 | ports: |
Martin Polreich | eeaaa86 | 2017-05-10 09:57:14 +0200 | [diff] [blame] | 74 | - 15012:${prometheus:pushgateway:bind:port} |
Filip Pytloun | 7d6144a | 2017-04-13 13:36:45 +0200 | [diff] [blame] | 75 | server: |
Bartosz Kupidura | d856be8 | 2017-04-14 11:03:20 +0200 | [diff] [blame] | 76 | networks: |
| 77 | - monitoring |
Filip Pytloun | 7d6144a | 2017-04-13 13:36:45 +0200 | [diff] [blame] | 78 | deploy: |
| 79 | replicas: 1 |
Bartosz Kupidura | a7a3244 | 2017-05-17 15:59:08 +0200 | [diff] [blame] | 80 | labels: |
| 81 | com.mirantis.monitoring: "prometheus" |
Filip Pytloun | 7d6144a | 2017-04-13 13:36:45 +0200 | [diff] [blame] | 82 | restart_policy: |
| 83 | condition: any |
Bartosz Kupidura | a7a3244 | 2017-05-17 15:59:08 +0200 | [diff] [blame] | 84 | labels: |
| 85 | com.mirantis.monitoring: "prometheus" |
Filip Pytloun | 7d6144a | 2017-04-13 13:36:45 +0200 | [diff] [blame] | 86 | image: ${_param:docker_image_prometheus} |
| 87 | ports: |
| 88 | - 15010:${prometheus:server:bind:port} |
| 89 | volumes: |
Bartosz Kupidura | a7a3244 | 2017-05-17 15:59:08 +0200 | [diff] [blame] | 90 | - ${prometheus:server:dir:config}:${_param:prometheus_server_config_directory} |
| 91 | - ${prometheus:server:dir:data}:${_param:prometheus_server_data_directory} |
Filip Pytloun | 7d6144a | 2017-04-13 13:36:45 +0200 | [diff] [blame] | 92 | environment: |
Bartosz Kupidura | a7a3244 | 2017-05-17 15:59:08 +0200 | [diff] [blame] | 93 | config_dir: ${_param:prometheus_server_config_directory} |
| 94 | data_dir: ${_param:prometheus_server_data_directory} |
Filip Pytloun | 7d6144a | 2017-04-13 13:36:45 +0200 | [diff] [blame] | 95 | bind_port: ${prometheus:server:bind:port} |
| 96 | bind_address: ${prometheus:server:bind:address} |
Filip Pytloun | 7d6144a | 2017-04-13 13:36:45 +0200 | [diff] [blame] | 97 | storage_local_engine: ${prometheus:server:storage:local:engine} |
| 98 | storage_local_retention: ${prometheus:server:storage:local:retention} |
Bartosz Kupidura | 7e9b8b2 | 2017-05-25 10:59:09 +0200 | [diff] [blame] | 99 | storage_local_target_heap_size: ${prometheus:server:storage:local:target_heap_size} |
Filip Pytloun | 7d6144a | 2017-04-13 13:36:45 +0200 | [diff] [blame] | 100 | storage_local_num_fingerprint_mutexes: ${prometheus:server:storage:local:num_fingerprint_mutexes} |