| Dmitry Kalashnik | 0581b08 | 2018-02-26 13:20:21 +0400 | [diff] [blame] | 1 | classes: | 
|  | 2 | - system.prometheus.server.container | 
|  | 3 | parameters: | 
|  | 4 | _param: | 
|  | 5 | # Backward compatibility for Prometheus 1.7 | 
|  | 6 | prometheus_storage_local_engine: "persisted" | 
|  | 7 | prometheus_storage_heap_size: 3221225472 | 
|  | 8 | prometheus_storage_num_fingerprint_mutexes: 4096 | 
|  | 9 | docker: | 
|  | 10 | client: | 
|  | 11 | stack: | 
|  | 12 | monitoring: | 
|  | 13 | network: | 
|  | 14 | monitoring: | 
|  | 15 | driver: overlay | 
|  | 16 | driver_opts: | 
|  | 17 | encrypted: 1 | 
|  | 18 | service: | 
|  | 19 | server: | 
|  | 20 | networks: | 
|  | 21 | - monitoring | 
|  | 22 | deploy: | 
|  | 23 | labels: | 
|  | 24 | com.mirantis.monitoring: "prometheus" | 
|  | 25 | restart_policy: | 
|  | 26 | condition: any | 
|  | 27 | labels: | 
|  | 28 | com.mirantis.monitoring: "prometheus" | 
|  | 29 | image: ${_param:docker_image_prometheus} | 
|  | 30 | ports: | 
|  | 31 | - 15010:${prometheus:server:bind:port} | 
|  | 32 | volumes: | 
|  | 33 | - ${prometheus:server:dir:config}:${_param:prometheus_server_config_directory} | 
|  | 34 | - ${prometheus:server:dir:data}:${_param:prometheus_server_data_directory} | 
|  | 35 | environment: | 
|  | 36 | PROMETHEUS_CONFIG_DIR: ${_param:prometheus_server_config_directory} | 
|  | 37 | PROMETHEUS_DATA_DIR: ${_param:prometheus_server_data_directory} | 
|  | 38 | PROMETHEUS_BIND_PORT: ${prometheus:server:bind:port} | 
|  | 39 | PROMETHEUS_BIND_ADDRESS: ${prometheus:server:bind:address} | 
|  | 40 | PROMETHEUS_STORAGE_LOCAL_RETENTION: ${prometheus:server:storage:local:retention} | 
| Michal Kobus | f7a5260 | 2018-05-22 17:39:45 +0200 | [diff] [blame^] | 41 | PROMETHEUS_EXTERNAL_URL: "https://${_param:stacklight_monitor_address}:15010" | 
| Dmitry Kalashnik | 0581b08 | 2018-02-26 13:20:21 +0400 | [diff] [blame] | 42 | # Backward compatibility for Prometheus 1.7 | 
|  | 43 | PROMETHEUS_STORAGE_LOCAL_ENGINE: ${_param:prometheus_storage_local_engine} | 
|  | 44 | PROMETHEUS_STORAGE_LOCAL_TARGET_HEAP_SIZE: ${_param:prometheus_storage_heap_size} | 
|  | 45 | PROMETHEUS_STORAGE_LOCAL_NUM_FINGERPRINT_MUTEXES: ${_param:prometheus_storage_num_fingerprint_mutexes} |