> ## Documentation Index
> Fetch the complete documentation index at: https://docs.squarecloud.app/llms.txt
> Use this file to discover all available pages before exploring further.

# squarecloud db metrics

> データベースの過去 24 時間のメトリクスを表示します。

データベースのリソース使用状況について、過去 24 時間分の時系列データを表示します。データベース ID は省略可能です。CLI は引数から解決し、指定がない場合はインタラクティブな選択メニューにフォールバックします。

```bash theme={null}
squarecloud db metrics
# Uses an interactive picker to choose the database.
```

```bash theme={null}
squarecloud db metrics <dbID>
# Shows the last 24h of metrics for a specific database.
```

```bash theme={null}
squarecloud db metrics <dbID> --json
# Prints the raw metric points as JSON.
```

このコマンドの詳細については `squarecloud db metrics --help` を使用してください。
