# Metric Analysis

{% hint style="info" %}
**Note**: Before going through this article, we recommend you to know [**how to create a metric template**](https://docs.opsmx.com/opsmx-intelligent-software-delivery-isd-platform-argo/user-guide/manage-analysis/templates/metric-template).
{% endhint %}

The goal of metric analysis is to score/compare all the metrics from baseline with the canary to get the user a good idea of whether the canary is a fail or a pass based on the overall average metric score given to the system. You can make a decision overall to have the application in production or not based on this metric score. The goal here is to carry out the canary analysis for old and new releases by comparing both versions' of metrics. This is carried out structurally by comparing each metric of the old release to the new release and finally scoring the metrics analysis by averaging out the individual score of the metrics.

From the “[**Analysis History**](https://docs.opsmx.com/opsmx-intelligent-software-delivery-isd-platform-argo/user-guide/manage-analysis/analysis-history)” page click on “**Metric Analysis**” to view the scores of each metric. Refer to the image below.

<figure><img src="https://lh6.googleusercontent.com/qDRP7fy4BJZcg94pwr6aGS5TdIDNVp9I7ju_FzJhMb5xH8Mk9gj2stxQ_vljkmGrdXOPYyNUiOgBaKlrkLTJMdvKxPq4avuTuf9ixsS71eA9uATMwr0NihChiPzY_3_M-_Il9U9aAXIVVIWqN6vLqP0" alt=""><figcaption></figcaption></figure>

To view the comparison between Baseline and New Release, Observed significant change in characteristics of a metric, click on the drop-down arrow of that particular metric and then click on the text as shown in the image below.

<figure><img src="https://lh5.googleusercontent.com/jJMJGgdErhMj17JtaXx5zEEdWD5iRD-lxVW49u9LzgPpY6bxh903B-4x6xGauKP6Y9knhvS9U_KcJ7xj8CeR7NMzRj_i3pJX9e37NoR-GRgj9X3NO9nj6tLoGU_NL4EvKcjoQTV7RPRE-WNr4zh26U4" alt=""><figcaption></figcaption></figure>

### Critical Metrics

User-defined metrics that represent the KPI of service behavior. The continuous Verification test will fail if any of the metrics tagged as critical fail in the canary test. If critical metrics are not tagged by the user, the system will treat all metrics equally and will assign rank based on algorithms.

### Watchlist Metrics

User-defined metrics that represent intuitive performance measures. These metrics are used for filtering when presenting results with a large number of analyzed metrics.

### Metrics Groups

Metrics are grouped based on the service as well as system-level metrics based on network, compute, disk and memory. This grouping allows users to identify high-ranking groups and low-scoring groups to diagnose the issues.

### Metric Details

Selecting an individual metric in the list shows details of the metric with its statistics, box plots, and behavior throughout canary. Each of the metrics rows has additional details on bucket scores. Each bucket is a timeslice that is used in comparison that allows users to identify trends or a subset of load that could be causing a problem with the new build.

<figure><img src="https://lh4.googleusercontent.com/q2zxQyYk-zQtmiuPKQRHECQXhB3zHcPaEFnDHiFztMn14xRuAYvZ8WZIFM_XtooXgQQPJTn_B2zwlCuYMITfvf7M5DT_pweZ8IHyX6yPpA9ZsUXwMyFAJxAArJy8IJ17X7LXGn9RZ3X89r5mykF_7u8" alt=""><figcaption></figcaption></figure>

Every metric is ranked based on its particular effect on the service behavior as well as the difference between canary and baseline versions.

The following plot shows the box plot that allows easy detection of trends in the metric's behavior over the canary run's duration.

<figure><img src="https://lh3.googleusercontent.com/I0XBKklyMVYVUvAQBnQpDjIPcKf-6Mc6O7G0qDKAvKUqttKI5qYTcFt6iBtbkpoSip5Zz5uaMDaOduQ1GOrY9cDz8PZfGJVLJU2q8uqCltqL2OgdQJRhTuyAfv78itBXSyqyoHlNBcoje2V2rzSfHIk" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.opsmx.com/opsmx-1/opsmx-intelligent-software-delivery-isd-platform-argo/user-guide/delivery-verification/metric-analysis.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
