VictoriaMetrics
VictoriaMetrics is a fast, cost-effective and scalable monitoring solution and time series database, used as drop-in replacement for Prometheus.
The victoria-metrics role performs various tasks related to Helm chart deployment, reset and validation.
Tip
Role deployments are performed at global level, using the Provisioning playbook. Upgrades can be performed at role level, see the instructions detailed below.
Role Tasks
See the related role tasks, listed below.
Facts
Ansible facts, see facts.yaml for details.
Main
Main role related tasks, see main.yaml for details.
Reset
Reset related tasks, see reset.yaml for details.
Upgrade
Upgrade related tasks, see upgrade.yaml for details. Run the following command, to perform a role upgrade:
ansible-playbook --ask-vault-pass --tags=victoria-metrics upgrade.yamlValidation
Validation related tasks, see validation.yaml for details. Run the following command, to perform all role related validation tasks:
ansible-playbook --ask-vault-pass --tags=victoria-metrics validation.yamlRole Templates
See the related role templates, listed below.
Tip
Perform a role validation, to visualize all rendered templates and variables.
Helm Chart
Helm chart values template, see values.j2 for details.
Configuration
AlertManager
Helm chart values template used for additional AlertManager configuration rules, see config_alertmanager.j2 for details. User-defined alerts can also be implemented, see node_health.js for details.
Credentials
Kubernetes Secret resource template containing the user credentials, see credentials.j2 for details.
Role Variables
Important
A role upgrade is required, in order to apply any changes related to role variables.
See the related role variables, defined into main.yaml defaults file. Review the README.md file, for additional details.
Tip
Use Renovate to automate release pull requests and keep dependencies up-to-date.
Support
If you encounter any role related problems or want to request a new feature, feel free to open an issue. For general questions or feedback, please use the discussions.