Using Metric search to create a timeseries chart

Visualize one or more KPIs, with or without an anomaly, in a Key Performance Indicator (KPI) timeseries chart.

Note: A KPI is made up of a resource, which is a physical entity such as a network interface card, and a metric. For example, if a server has 2 network interface cards and you want to analyse data for 10 metrics on each network card in the server, the total number of KPIs is 20. KPIs are often interchangeably referred to as metrics, so a metric can sometimes refer to a measurement that is taken for a type of device - for example CPU_Context_Switches, and sometimes it can refer to an instance of that metric - for example CPU_Context_Switches on server ABC.acme.com.

Procedure

  1. Go to the Cloud Pak for AIOps console.
  2. In the Overview menu, click Metric search.
  3. On the Metric search page, refine your search to a specific KPI by selecting options from the Metric group, Metric, and Resource menus. The date that is selected represents the endpoint of the chart. KPI.

Metric search chart
Figure. Metric search panel

Adding more KPIs to the chart

View up to 5 KPIs on the same timeseries chart.

Assuming that your first-searched metric is plotted on the chart as the primary KPI.

  1. Click Add metric.
  2. Select an item from each field: Metric group, Metric, and Resource.
  3. When selection is complete, the KPI timeseries is added to the chart.
  4. Repeat steps 1-3 up to 3 more times.

To modify a selection, remove the current item by clicking close icon in the Metric group, Metric, or Resource fields. Then, click inside the empty field and a drop-down displays all available items for that field.

To delete a KPI, click close icon in the Metric group field or the subtract icon icon.

Note: Entering part of a string in a field filters the drop-down menu so that it displays only the items that contain that element. In the following example, in the Resource field, entering 02 brings up all resources that contain the string 02.

filter search

Understanding the chart

  • The chart displays 7 days of data by default. You can zoom out to see all historical data, including historical data for KPIs that you added to the chart.

  • An unbroken black line that is labeled with the name of the KPI that is plotted on the chart represents the values of the selected KPI over time.

  • A green-shaded area (labeled Baseline) represents the acceptable operating range of that KPI.

Note: The default KPI Baseline is always that of the metric first searched. To change to another Baseline, click the radio button (blank circle) attached to another KPI. Making this Baseline adjustment also changes the KPI that is forecast.

  • A red-shaded area or red vertical line (labeled Anomaly) indicates where the metric is anomalous: one or more of the anomaly detection algorithms determined the metric was not behaving in accordance with the learned normal behavior.

  • A purple area in the chart (labeled Expected range), with a dashed line (labeled Forecast) indicates forecasted metric anomalies. For more information, see Metric anomaly forecasts.

Related topic