Giter Site home page Giter Site logo

vagrant-victoriametrics's Introduction

Vagrant for VictoriaMetrics Cluster

Introduction

Vagrant project spin up a single virtual machine running:

  • node_exporter
  • prometheus
  • alertmanager
  • victoriametrics cluster
  • grafana with victoriametrics datasource plugin

Version Information

The versions of the above components that the VM is provisioned with are defined in the file scripts/versions.sh

The following version combinations are known to work:

  • node_exporter 1.7.0
  • prometheus 2.16.0
  • alertmanager 0.20.0
  • victoriametrics 1.90.0
  • grafana 9.2.7
  • grafana victoriametrics datasource plugin 0.1.3

Services

The virtual machine will be running the following services:

  • node_exporter * 1
  • prometheus * 1
  • alertmanager * 2
  • alert receiver service * 1
  • grafana * 1
  • vmstorage * 3
  • vminsert * 3
  • vmselect * 3
  • vmauth * 1
  • vmalert * 2
  • vmagent * 1

Getting Started

  1. Download and install VirtualBox.
  2. Download and install Vagrant.
  3. Clone this repo.
  4. In your terminal change your directory into the project directory (i.e. cd vagrant-victoriametrics).
  5. Check the scripts/versions.sh file for the versions of the components.
  6. Run vagrant up to create the VM using virtualbox as a provider.(NOTE This will take a while the first time as many dependencies are downloaded - subsequent deployments will be quicker as dependencies are cached in the resources directory).
  7. Execute vagrant ssh to login to the VM.

Web user interfaces

Here are some useful links to navigate to various UI's:

The default ip address of the virtualbox machine should be 192.168.56.10, substitute the ip address for node if necessary.

Shared Folder

Vagrant automatically mounts the folder containing the Vagrant file from the host machine into the guest machine as /vagrant inside the guest.

Managment of Vagrant VM

To stop the VM and preserve all setup/data within the VM:

vagrant halt

or

vagrant suspend

Issue a vagrant up command again to restart the VM from where you left off.

To completely wipe the VM so that vagrant up command gives you a fresh machine:

vagrant destroy

Then issue vagrant up command as usual.

Thanks

This project draws on the code structure of vagrant-hadoop-hive-spark repository.

vagrant-victoriametrics's People

Contributors

zhengtianbao avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.