Metrics Visualization

Cloudify’s Grafana Based Metrics Visualization



Overview

Cloudify’s Monitoring Implementation uses Grafana for tracking system metrics. The monitoring section can be found on each deployment’s page in the user interface: The monitoring section button

Once you open the monitoring section you can find a default dashboard with six graphs. You can also customize your dashboard however you want and save it on a JSON file or in your browser’s local storage.

The monitoring

Default Dashboard:

The default dashboard is a set of graphs that Cloudify will initialize if a dashboard doesn’t already exist. The presented common system metrics are a good start from which you can further customize your dashboard. The default dashboard includes the following metrics:

  • CPU Utilization - System
  • CPU Utilization - User
  • Physical Memory
  • Disk IO
  • Network IO - RX
  • Network IO - TX

Setting up your blueprint for metrics collection and shipping

The Default dashboard will display metrics only if the blueprint is configured to ship metrics corresponding with the default dashboard’s configured view.

For an example of an already configured blueprint, go to cloudify-nodecellar-example.

Example - Customize your dashboard

To start customizing your graph, click on the panel’s title and then ‘Edit’ to open a panel in edit mode: The monitoring panel edit mode

Under the edit mode, you can edit or add new metrics under ‘metrics’ section: The monitoring panel edit mode of metrics

To change the title / span / height of the panel click on ‘General’ in edit mode: The monitoring panel general edit mode

To change the axes and grid of the panel click on ‘Axes & Grid’ in edit mode: The monitoring panel edit mode of axes and grid

To change colors and styles of the panel click on ‘Display Styles’ in edit mode: The monitoring panel edit mode of styles

Features Guide

The Grafana guide will help you get started and acquainted with the monitoring user interface:

Tips and shortcuts (from the Grafana documentation)

  • Click the graph’s title and in the dropdown menu quickly change the span or duplicate the panel.
  • Ctrl+S Saves the current dashboard
  • Ctrl+F Opens the dashboard finder / search
  • Ctrl+H Hides all controls (good for tv displays)
  • Hit Escape to exit the graph when in fullscreen or edit mode
  • Click the colored icon in the legend to select a series color
  • Click the series name in the legend to hide the series
  • Ctrl/Shift/Meta + Click the legend name to hide other series
  • Click the Save icon in the menu to save the dashboard with a new name
  • Click the Save icon in the menu and then advanced to export the dashboard to json file, or set it as your default dashboard.