# Metrics

> Monitor infrastructure and application metrics in Uptrace using pre-built dashboards with table and grid views, or explore any metric interactively with aggregations, grouping, and filters.

Uptrace collects [metrics](/opentelemetry/metrics) from OpenTelemetry SDKs, the [Collector](/opentelemetry/collector), and Prometheus remote write. The Dashboards section provides access to pre-built and custom dashboards and an interactive metric explorer.

<div style="position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;">
<iframe style="position: absolute; top: 0; left: 0; width: 100%; height: 100%;" src="https://www.youtube.com/embed/PfiGTXxUAa0?si=TZ8pCDFiipYGaWBW" title="YouTube video player" frameBorder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerPolicy="strict-origin-when-cross-origin" allowFullScreen="true">



</iframe>
</div>

## Dashboards

The Dashboards list shows all available dashboards with their tags and last updated date. Uptrace ships with pre-built dashboards for common infrastructure and application stacks — [Hostmetrics](/opentelemetry/collector/host-metrics), [Docker](/guides/opentelemetry-docker), [PostgreSQL](/guides/opentelemetry-postgresql), [Redis](/guides/opentelemetry-redis), .NET HTTP, Elasticsearch, and more.

<video autoPlay="true" loop="true" muted="true" playsInline="true">
<source src="/features/metrics/metric-dashboard-overview.mp4" type="video/mp4" />
</video>

### Table view

The table view aggregates metrics per grouping dimension — for example, per host and mount point for filesystem dashboards. Each row summarizes key metrics side by side. A summary row above the table shows aggregate totals across all rows (e.g. total space, free space, average utilization). A drill-down icon on each row opens the grid dashboard filtered to that row's values.

<video autoPlay="true" loop="true" muted="true" playsInline="true">
<source src="/features/metrics/metric-tableview.mp4" type="video/mp4" />
</video>

Aggregation expressions and group-by attributes are shown at the top of the table and can be adjusted.

### Grid view

The grid view presents time series charts in a customizable layout. Charts can be edited, rearranged, or removed. A modified dashboard can be restored to its original state.

<video autoPlay="true" loop="true" muted="true" playsInline="true">
<source src="/video/product/metrics/metric-dashboards.mp4" type="video/mp4" />
</video>

Dashboards within the same category — for example **Hostmetrics: Network**, **Hostmetrics: Disks**, **Hostmetrics: Filesystem** — are selectable from the dashboard name dropdown.

## Explore Metrics

The **Explore Metrics** tab lists all metrics collected from your services, with their instrument type, instrumentation library, and timeseries count. The search field and library filter narrow the list.

<video autoPlay="true" loop="true" muted="true" playsInline="true">
<source src="/video/product/metrics/metric-explorer.mp4" type="video/mp4" />
</video>

Opening a metric launches the Metric Explorer, which queries it and displays the result as a chart.

**Query controls:**

<table>
<thead>
  <tr>
    <th>
      Control
    </th>
    
    <th>
      Purpose
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <strong>
        Metrics
      </strong>
    </td>
    
    <td>
      One or more metrics with aliases, e.g. <code>
        process_cpu_time as $time
      </code>
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        <a href="/features/metrics/querying">
          Aggregations
        </a>
      </strong>
    </td>
    
    <td>
      How values are combined, e.g. <code>
        perMin(sum($time))
      </code>
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Group by
      </strong>
    </td>
    
    <td>
      Splits the result by an attribute. The dropdown shows only attributes available for the selected metric, with their type and timeseries count.
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Filters
      </strong>
    </td>
    
    <td>
      Narrows the dataset by attribute value. Same attribute list as Group by.
    </td>
  </tr>
</tbody>
</table>

The chart updates immediately as controls change. The legend below the chart shows aggregate stats per series: avg, last, min, max.

**Graph options** (right panel):

<table>
<thead>
  <tr>
    <th>
      Option
    </th>
    
    <th>
      Values
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      Chart type
    </td>
    
    <td>
      LINES, BARS, POINTS
    </td>
  </tr>
  
  <tr>
    <td>
      Stack series
    </td>
    
    <td>
      OFF, NORMAL
    </td>
  </tr>
  
  <tr>
    <td>
      Color scheme
    </td>
    
    <td>
      Default and presets
    </td>
  </tr>
  
  <tr>
    <td>
      Line width, fill opacity, symbol size
    </td>
    
    <td>
      sliders
    </td>
  </tr>
  
  <tr>
    <td>
      Legend mode
    </td>
    
    <td>
      NONE, TABLE, LIST
    </td>
  </tr>
  
  <tr>
    <td>
      Legend placement
    </td>
    
    <td>
      RIGHT, BOTTOM
    </td>
  </tr>
  
  <tr>
    <td>
      Legend values
    </td>
    
    <td>
      AVG, LAST, MIN, MAX
    </td>
  </tr>
  
  <tr>
    <td>
      Legend sort
    </td>
    
    <td>
      by column, DESC / ASC
    </td>
  </tr>
  
  <tr>
    <td>
      Items per page
    </td>
    
    <td>
      configurable
    </td>
  </tr>
</tbody>
</table>

Each metric expression supports a **unit override** — for example, setting `seconds` for a duration metric ensures the chart displays values in the correct unit regardless of the raw data format.

Any metric visible in the Explorer can be used in a [metric monitor](/features/alerting/metric-monitors) to fire threshold alerts on CPU, memory, latency, or any custom metric.
