Install Vector an Opensource Performance Monitoring Tool from Netflix

April 29, 2015 | By
| 1 Reply More

vector

Today we will present Vector, an open source performance monitoring framework which exposes hand picked system and application metrics to your web browser. Having the right metrics available on-demand and at a high resolution is key to understand how a system behaves and correctly troubleshoot performance issues. It's released under Apache License, Version 2.0.

At the time of writing this article the first version of Vector was just released, as such, you can expect to find bugs and issues.

Installing PCP

Before installing Vector you will first have to install Performance Co-Pilot (PCP). It's an open source toolkit designed for monitoring and managing system-level performance. It offer support for a wide variety of Operating Systems, including Linux, MacOSX, FreeBSD, IRIX, Solaris and Windows. PCP Is available in all popular distributions.

You can install it in Debian/Ubuntu with:

$ sudo apt-get install pcp

And in Fedore/CentOS with:

$ sudo yum install pcp

You can also install it on Os X, for more information you can check the PCP website.

Installing Vector

First we will need to install NPM to be able to install bower that vector will be using to install. You can do this on Ubuntu by using the package manager or using the following command:

$ sudo apt-get install npm

Next install bower, an open source package manager for your web projects, you will also need nodejs for it to work, you can install them using the following commands:

$ sudo apt-get install nodejs-legacy
$ sudo npm install -g bower

Now we can start dowloading vector, you can do so in any user directory you wish using git as here:

$ git clone https://github.com/Netflix/vector.git
$ cd vector

We will now use bower package manager to install it:

$ bower install

Next you will need a web server to run the files in app, Vector team suggests gulp to do so, you can install gulp using the npm package manger you installed earlier, to install it and run vector use the following commands from the vector folder:

$ npm install --global gulp
$ npm install
$ gulp

You should get the following output:

vector

You can now access your Vector insulation by accessing http://localhost:8080 in your favorite Web browser.

vector-ui

At the moment Vector comes with the following list of widgets and dashboards that can be easily extended. Here is a short list of metrics available by default.

CPU

  • Load Average
  • Runnable
  • CPU Utilization
  • Per-CPU Utilization
  • Context Switches

Memory

  • Memory Utilization
  • Page Faults

Disk

  • Disk IOPS
  • Disk Throughput
  • Disk Utilization
  • Disk Latency

Network

  • Network Drops
  • TCP Retransmits
  • TCP Connections
  • Network Throughput
  • Network Packets

Conclusion

Vector work on the top of pcp which is really light weight. It provided system admins to analyse system and application level stats in a very real time manner.  Good luck and enjoy your metrics.

Filed Under : MONITORING, OPEN SOURCE TOOLS

Free Linux Ebook to Download

Comments (1)

Trackback URL | Comments RSS Feed

  1. Scott E says:

    Vector requires PCP 3.10.4 or newer, but most distributions have an older version that won't work with Vector. You can get newer packages or build from source as described here: https://github.com/Netflix/vector/wiki/Installing-Performance-Co-Pilot

Leave a Reply

All comments are subject to moderation.