> ## 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.

> Contient les requêtes utilisées par la page `/dashboard`, accessible via l'interface HTTP. Utile pour la surveillance et le dépannage.

# system.dashboards

<div id="description">
  ## Description
</div>

Contient les requêtes utilisées par la page `/dashboard`, accessible via l’[interface HTTP](/fr/concepts/features/interfaces/http).
Cette table peut être utile pour la surveillance et le dépannage. Elle contient une ligne pour chaque graphique d’un tableau de bord.

<Note>
  La page `/dashboard` peut afficher des requêtes provenant non seulement de `system.dashboards`, mais aussi de toute table ayant le même schéma.
  Cela peut être utile pour créer des tableaux de bord personnalisés.
</Note>

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

* `dashboard` ([String](/fr/reference/data-types/index)) — Le nom du tableau de bord.
* `title` ([String](/fr/reference/data-types/index)) — Le titre du graphique.
* `query` ([String](/fr/reference/data-types/index)) — La requête permettant d’obtenir les données à afficher.

<div id="example">
  ## Exemple
</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}
```
