# Metrics Inspector

{% hint style="info" %}
Feature must be enabled at deployment to allow using it:

* Set `telmai-ui-app-2-chart.metricsInspectorEnabled` to `true`
  {% endhint %}

### 1. Creating a Dashboard

#### Steps:

1. Navigate to the **Metrics Inspector** page.
2. Click on the **+ (Add Dashboard)** button.\
   ![](/files/IpUxZJIaW7U0tsktpB4y)
3. Enter a name for the new dashboard.
4. Optionally, add a description.
5. Click **Create** to create the dashboard.

<figure><img src="/files/hSeTEG5k0grd0TQKFOJ7" alt="" width="375"><figcaption></figcaption></figure>

**Note:** You can create multiple dashboards within a project, allowing you to organize data efficiently.

### 2. Adding Charts to a Dashboard

#### Steps:

1. Select the dashboard where you want to add charts.
2. Click on the **+ Chart** button.<br>

   <figure><img src="/files/6euD7M1x4Hv5frmPSCA0" alt=""><figcaption></figcaption></figure>
3. The "New Chart Inspector" form will appear.<br>

   <figure><img src="/files/lB1mzMBtBAWxbVHDhUMq" alt="" width="375"><figcaption></figcaption></figure>
4. Configure the data source and parameters:
   * **Name**: Provide a unique name for the chart.
   * **Source**: Select the data source for the chart.
   * **Monitor**: Select the monitor for the chart. Based on the monitor, choose Dimensions/Segment/Group-By and attributes as needed.
     * Dimensions - Represent the value of \<Group-By> column name, while creating business metrics
   * **Description** (optional): Add a brief description of the chart.
   * Click **Save** to add the chart to the dashboard.

#### Example 1:

<figure><img src="/files/rGvlIpDnbWnkurWdXUYU" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/ExY491W9kVTXZULh2wgc" alt=""><figcaption></figcaption></figure>

#### Example 2:

<figure><img src="/files/SkI54RQvMR2ZPNHjdN1N" alt="" width="563"><figcaption></figcaption></figure>

<figure><img src="/files/LQtYEK8XyohsjgUQCeIB" alt="" width="563"><figcaption></figcaption></figure>

#### Example 3:

<figure><img src="/files/VwonkPjbyyqF9MTsNoY9" alt="" width="563"><figcaption></figcaption></figure>

<figure><img src="/files/T1CbejSwbtg30xCnnXfV" alt="" width="563"><figcaption></figcaption></figure>

**Note:** You can add multiple charts within a single dashboard to provide a comprehensive view of your data.

### 3. Managing Dashboards and Charts

#### Editing or Deleting a Dashboard

1. Select the dashboard from the list.
2. Click the **Edit (Pencil Icon)** button.
   1. Modify the name or description, and Save.
3. To delete a dashboard, Click the **Delete (Trash Icon)** button, and confirm the deletion.

#### Editing or Deleting Charts

1. Select the dashboard containing the chart.
2. Locate the chart and click on the **Edit (Pencil Icon)** button to modify.
3. To delete a chart, click the **Delete (Trash Icon)** button next to it.


---

# 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.telm.ai/telmai/monitoring-data/metrics-inspector.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.
