r/v-m: Add role for Victoria Metrics
The *victoria-metrics* role deploys a single-server instance of the Victoria Metrics time series database server. It installs the selected version by downloading the binary release from Github and copying it to `/usr/local/sbin` on the managed node. Scrape configuration is optional and can be specified with the `scrape_configs` variable.
This commit is contained in:
9
roles/victoria-metrics/vars/install.yml
Normal file
9
roles/victoria-metrics/vars/install.yml
Normal file
@@ -0,0 +1,9 @@
|
||||
vm_base_url:
|
||||
https://github.com/VictoriaMetrics/VictoriaMetrics/releases/download
|
||||
vm_tar_name: victoria-metrics-{{ vm_arch }}-v{{ vm_version }}.tar.gz
|
||||
vm_tar_url: >-
|
||||
{{ vm_base_url }}/v{{ vm_version }}/{{ vm_tar_name }}
|
||||
vm_cksm_url: >-
|
||||
{{ vm_base_url }}/v{{ vm_version }}/victoria-metrics-{{ vm_arch }}-v{{ vm_version }}_checksums.txt
|
||||
vm_extract_dir: >-
|
||||
{{ playbook_dir }}/victoria-metrics-{{ vm_arch }}-v{{ vm_version }}
|
||||
Reference in New Issue
Block a user