Go to file
2024-05-08 19:24:53 +03:00
defaults update victoria metrics role and bump to v1.98.0 2024-05-08 19:24:53 +03:00
handlers add role for victoriametrics v1.71.0 2021-12-22 15:03:21 +03:00
meta add role for victoriametrics v1.71.0 2021-12-22 15:03:21 +03:00
tasks update victoria metrics role and bump to v1.98.0 2024-05-08 19:24:53 +03:00
templates/etc/victoriametrics update victoria metrics role and bump to v1.98.0 2024-05-08 19:24:53 +03:00
.gitignore add gitignore 2022-07-28 17:24:56 +03:00
README.md add reload auth key for vmauth 2021-12-22 19:23:55 +03:00

Setup VictoriaMetrics 1.71.0 cluster

Example hosts file:

[victoriametrics:children]
vmstorage
vminsert
vmselect
vmauth
vmagent

[vmstorage]
vm-1 
vm-2
vm-3

[vminsert]
vm-1 
vm-2
vm-3

[vmselect]
vm-1 
vm-2
vm-3

[vmauth]
vm-1 
vm-2
vm-3

[vmagent]
vm-1 
vm-2
vm-3

Example group_vars:

victoriametrics_vmauth_reloadAuthKey: reload-auth-key
victoriametrics_vmauth_users:
  - id: "1"
    username: "foobar"
    password: "foobar"

victoriametrics_vmagent_prometheus_config:
  global:
    scrape_interval: '1m'
    scrape_timeout: '1m'
  scrape_configs:
  - job_name: 'rgw'
    stream_parse: true
    static_configs:
      - targets: ['127.0.0.1:9242']