ansible-roles/library/roles/prometheus/defaults/main.yml

15 lines
634 B
YAML

---
prometheus_install: True
prometheus_version: 2.2.1
prometheus_dir: 'prometheus-{{ prometheus_version }}.linux-amd64'
prometheus_file: '{{ prometheus_dir }}.tar.gz'
prometheus_download_url: 'https://github.com/prometheus/prometheus/releases/download/v{{ prometheus_version }}/{{ prometheus_file }}'
prometheus_user: prometheus
prometheus_home: /opt/prometheus
prometheus_dist_dir: '{{ prometheus_home }}/dist'
prometheus_confdir: '/opt/prometheus/conf'
prometheus_cmd: '{{ prometheus_dist_dir }}/{{ prometheus_dir }}/prometheus'
prometheus_loglevel: info
prometheus_http_port: 9090
prometheus_opts: '--storage.tsdb.retention=360d'