Collecting and reviewing Cloud Analytics data

Modified: 31 Oct 2016 15:06 UTC

Once you have a good sample of data, you will start to see emerging patterns, leading to better understanding of component relationships and interactions that cause performance bottlenecks.

Building an instrumentation

The Cloud Analytics tool is located at the bottom of the Machine details page of your SmartMachine. Once you have a SmartMachine in production, you can begin building instrumentations that allow you to monitor specific aspects of your system infrastructure.

  1. Click the Metric drop-down menu and select a metric to use for monitoring.
  2. Click the Decomposition drop-down menu and select how you want to breakdown performance data.
    8650865
    check
    In some cases, you can include a second decomposition
  3. Click the Create button.

If your system is under load, you will start to see data scroll through the Instrumentation window.

Monitoring the Cloud

In addition to monitoring a single machine, you can also build instrumentations that monitor the entire cloud.

  1. On the my.joyent.com portal, click the Analytics tab at the top of the page. This opens the Analytics page.
    8650772
    information
    The instrumentation controls on this page are identical to instrumentation controls available through the Machine Details page. The only difference is you need to specify which cloud you want to monitor.
  2. Select a cloud you would like to monitor from the Create an Instrumentation on drop-down menu.
    8650775
  3. Select a metric from the Metric drop-down menu.
  4. Select a decomposition from the Decomposition drop-down menu.
  5. Create a predicate to filter the performance data.
    information
    Selecting a decomposition and building a predicate are optional
  6. Click the Create button.

If the cloud is under load, you should start to see performance data scroll through the instrumentation window.

Working with instrumentations

Cloud Analytics instrumentations provide various controls for understanding the data collected from your system infrastructure. Both line graphs and heat maps support a basic set of instrumentation controls.

8650866

Heat maps provide additional controls for digging down into performance data. Like the above image, the below heat map demonstrates Cloud Analytics capturing data on how CPU threads are distributed. However, this heat maps uses two decompositions. The data collection context is running applications and the sub-second offset. The subsecond offset represents activity that occurs between a measured period of time. So, if the x-axis represents one second intervals, the y-axis represents what occurs within that one second of time.

In the above image, the majority of thread distribution occurs with tar. In the below image, tar has been isolated from the heat map.

8650862

Basic instrumentation features

Feature Description
Browse controls
8650863
These buttons control your view of data. Click the Play button to pause or resume the scrolling of data. Use the directional buttons to browse forward or backward through data.
View controls
8650864
These buttons control the size of the data sample in view. For example, decreasing the view will display trends that occur over a longer period of time.
:---- :----
Element list This pane displays the items that you are measuring. For example, if you're measuring HTTP server operations decomposed by URL, this pane contains a list of URLs. In a heat map, selecting an item from this list highlights all the buckets that contain measurements for that element. You can use the filters at the bottom of the list to isolate or exclude the selected items.
metric This pane captures the bulk of Cloud Analytics data. You can think of the data captured here as a collection of data "buckets." Each bucket represents an individual datapoint.
:---- :----
Bucket list This pane captures detail about individual datapoints in the data you see. In the above line graph, this pane points out that an application (tar) is processing 99 threads during the one second of time the data was collected.

Heat map instrumentation features

The below instrumentation features are only supported by heat maps.

Feature Description
Granularity This slider controls the range of values for each bucket.
Scale This slider controls the range of values for the y-axis. The range is given in the text below the control.
When the sliders are all the way to the top and the bottom, the scale of the y-axis changes depending on the range of values displayed. If you use the sliders to set an upper or lower limit, the scale doesn't change.
Rank and linear
8650861
This control lets you choose how the density of the buckets in a heat map is rendered.

Linear coloring means that each bucket is colored according to its value. A bucket whose value is 100 will be 100 times darker than a bucket whose value is 1. Rank-based coloring sorts all the values and distributes the color density among them. Rank-based coloring is particularly useful for discovering outliers. |