VictoriaMetrics/ansible-playbooks

Ansible Playbooks for Victoria Metrics monorepo

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 35 minutes ago
Added to GitGenius on October 22nd, 2023
Created on May 3rd, 2020
Open Issues & Pull Requests: 9 (+0)
Number of forks: 58
Total Stargazers: 161 (+0)
Total Subscribers: 12 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 22.5 hours
Mean response time: 54.7 days
90th percentile: 41.7 days
Tracked items: 20

How this project is maintained

Around half of the issues opened in the past year never receive a reply. Only 8% of issues opened in the past year have been closed. Three people close 78% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 7
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 479 days
Stale 30+ days: 5
Stale 90+ days: 5

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • enhancement (6)
  • bug (3)
  • help wanted (3)
  • documentation (2)

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

The victoriametrics/ansible-playbooks repository provides a collection of Ansible roles and playbooks designed to automate the deployment and configuration of Victoria Metrics components across infrastructure. Written primarily in Jinja, the repository serves as infrastructure-as-code tooling for organizations seeking to deploy Victoria Metrics' time-series database, logging, and tracing solutions using Ansible automation.

The repository contains eleven distinct Ansible roles covering the full spectrum of Victoria Metrics products. For metrics collection, it includes roles for vmsingle (single-node deployment), vmagent (metrics agent), vmalert (alerting), and the three-component cluster setup with vminsert, vmstorage, and vmselect. Additionally, it provides vmauth for authentication and authorization. The logging and tracing products are covered through vlsingle and vlagent roles for VictoriaLogs, and vtsingle for VictoriaTraces. Each role handles installation and configuration of its respective component, allowing users to build complete observability stacks through composition.

The repository includes example playbooks demonstrating how to orchestrate these roles for different deployment scenarios. The cluster.yml, vlcluster.yml, and vtcluster.yml playbooks show how to deploy distributed architectures, while vmsingle.yml demonstrates single-node setups. Documentation files provide specific guidance for cluster deployments across all three product lines: VictoriaMetrics cluster deployment, VictoriaLogs cluster deployment, and VictoriaTraces cluster deployment. The quick-start section in the README walks users through installing Ansible, the collection from Ansible Galaxy, creating an inventory file, and deploying a VictoriaMetrics single node with browser-based verification.

The repository shares contributors with related Victoria Metrics projects including victoriametrics/victoriametrics, victoriametrics/operator, and victoriametrics/helm-charts, indicating it functions as part of a broader ecosystem of deployment and operational tooling.

Development workflows are supported through a Makefile-based setup using Docker, Python, and Molecule for testing. Developers can initialize virtual environments, run linting with ansible-lint, execute Molecule convergence tests for both default and integration scenarios, and manage test infrastructure. This structured development approach ensures playbook quality and compatibility across different deployment scenarios before release to users.