Aggregating metrics

When first using Metrics Explorer, Kloudfuse uses the default aggregation for the chosen metric.

You can change the aggregation type, remove the aggregation, or aggregate the metric over another dimension.

Change aggregation type

The default aggregation on the metric is average, or avg. You can also aggregate for min, max, and sum directly in the interface. To use other aggregation options, see Add functions.

To change the basic aggregation type, follow these steps:

  1. In the aggregation section, click avg, and select another aggregation calculation from the drop-down.

    metrics explorer aggregation select
  2. The chart changes to show the newly selected aggregation of results.

    Here are the examples of the same chart, with the four supported aggregations:

    metrics explorer aggregation result

Aggregate over other dimensions

By default, Kloudfuse calculates the aggregations over the values of the metric. However, you can choose to aggregate over another dimension, such as host, cluster, service, and so on.

Here, let’s explore the metric advanced_functions_sertver_http_request_latency_bucket.

  1. To aggregate over another dimension, in the metrics selector specify the aggregation by clicking Select, and choosing another metric option from the drop-down.

    Here, select the option availability zone.

    metrics explorer aggregate over select
  2. The interface refreshes to show the new aggregate.

    Notice that in the interval between 21:25 and 21:30, there are two separate plots.

    metrics explorer aggregate over result

Remove aggregation

By default, Kloudfuse aggregates the data for the same metric. However, if you remove the aggregation option, it plots the stream separately.

Follow these steps:

  1. To remove the aggregation, in the aggregation section click the Remove (Remove) icon.

    metrics explorer aggregation remove
  2. The separated plot appears in the interface.

    metrics explorer aggregation remove result
  3. To look at the individual components, click into the descriptive text under the chart, and scroll through the options.

    To see a specific component only, click on its description. The chart shows only that section of the chart.

    metrics explorer aggregation remove individual