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

> `/dashboard` ページで使用されるクエリが含まれています。HTTP インターフェイス経由でアクセスでき、監視やトラブルシューティングに役立ちます。

# system.dashboards

<div id="description">
  ## 説明
</div>

[HTTPインターフェイス](/ja/concepts/features/interfaces/http) 経由でアクセスできる `/dashboard` ページで使用されるクエリが格納されています。
このテーブルは、監視やトラブルシューティングに役立ちます。ダッシュボード内の各チャートについて1行が含まれます。

<Note>
  `/dashboard` ページでは、`system.dashboards` のクエリだけでなく、同じスキーマを持つ任意のテーブルのクエリもレンダリングできます。
  これは、カスタムダッシュボードの作成に役立ちます。
</Note>

<div id="columns">
  ## カラム
</div>

* `dashboard` ([String](/ja/reference/data-types)) — ダッシュボードの名前。
* `title` ([String](/ja/reference/data-types)) — チャートのタイトル。
* `query` ([String](/ja/reference/data-types)) — 表示するデータを取得するためのクエリ。

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