> ## Documentation Index
> Fetch the complete documentation index at: https://private-7c7dfe99-mintlify-8c05c8a2.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

> Contiene consultas que utiliza la página `/dashboard`, accesible a través de la interfaz HTTP. Útil para la monitorización y la resolución de problemas.

# system.dashboards

<div id="description">
  ## Descripción
</div>

Contiene las consultas utilizadas por la página `/dashboard`, accesible a través de la [interfaz HTTP](/es/concepts/features/interfaces/http).
Esta tabla puede ser útil para la monitorización y la resolución de problemas. La tabla contiene una fila por cada gráfico de un dashboard.

<Note>
  La página `/dashboard` puede mostrar consultas no solo de `system.dashboards`, sino de cualquier tabla con el mismo esquema.
  Esto puede ser útil para crear dashboards personalizados.
</Note>

<div id="columns">
  ## Columnas
</div>

* `dashboard` ([String](/es/reference/data-types/index)) — El nombre del dashboard.
* `title` ([String](/es/reference/data-types/index)) — El título de un gráfico.
* `query` ([String](/es/reference/data-types/index)) — La consulta con la que se obtienen los datos que se mostrarán.

<div id="example">
  ## Ejemplo
</div>

```sql theme={null}
SELECT *
FROM system.dashboards
WHERE title ILIKE '%CPU%'
```

```text theme={null}
Row 1:
──────
dashboard: overview
title:     CPU Usage (cores)
query:     SELECT toStartOfInterval(event_time, INTERVAL {rounding:UInt32} SECOND)::INT AS t, avg(ProfileEvent_OSCPUVirtualTimeMicroseconds) / 1000000
FROM system.metric_log
WHERE event_date >= toDate(now() - {seconds:UInt32}) AND event_time >= now() - {seconds:UInt32}
GROUP BY t
ORDER BY t WITH FILL STEP {rounding:UInt32}

Row 2:
──────
dashboard: overview
title:     CPU Wait
query:     SELECT toStartOfInterval(event_time, INTERVAL {rounding:UInt32} SECOND)::INT AS t, avg(ProfileEvent_OSCPUWaitMicroseconds) / 1000000
FROM system.metric_log
WHERE event_date >= toDate(now() - {seconds:UInt32}) AND event_time >= now() - {seconds:UInt32}
GROUP BY t
ORDER BY t WITH FILL STEP {rounding:UInt32}

Row 3:
──────
dashboard: overview
title:     OS CPU Usage (Userspace)
query:     SELECT toStartOfInterval(event_time, INTERVAL {rounding:UInt32} SECOND)::INT AS t, avg(value)
FROM system.asynchronous_metric_log
WHERE event_date >= toDate(now() - {seconds:UInt32}) AND event_time >= now() - {seconds:UInt32} AND metric = 'OSUserTimeNormalized'
GROUP BY t
ORDER BY t WITH FILL STEP {rounding:UInt32}

Row 4:
──────
dashboard: overview
title:     OS CPU Usage (Kernel)
query:     SELECT toStartOfInterval(event_time, INTERVAL {rounding:UInt32} SECOND)::INT AS t, avg(value)
FROM system.asynchronous_metric_log
WHERE event_date >= toDate(now() - {seconds:UInt32}) AND event_time >= now() - {seconds:UInt32} AND metric = 'OSSystemTimeNormalized'
GROUP BY t
ORDER BY t WITH FILL STEP {rounding:UInt32}
```
