次のような場合に使用: ユーザーがクラスター(複数のコンピュータを連携させたシステム)の状態確認、コレクション(データの集合)の統計情報、読み込み状態の確認、またはZilliz Cloudのリソース全体の状況把握を望んでいる場合
Use when the user wants to check cluster status, collection statistics, load states, or get an overview of their Zilliz Cloud resources.
コレクションを対象とするすべてのモニタリングコマンドは、オプションで --database <db-name> フラグを受け付けます。
省略した場合は、現在のコンテキストに設定されたデータベースが使用されます。
# 現在のコンテキストを確認
zilliz context current
# クラスターの詳細(ステータス、プラン、リージョン、エンドポイント)
zilliz cluster describe --cluster-id <cluster-id>
すべてのコレクションをその統計情報とともに一覧表示します:
# コレクションの一覧表示
zilliz collection list
zilliz collection list --database <db-name>
# 各コレクションの統計情報とロード状態を取得
zilliz collection get-stats --name <collection-name>
zilliz collection get-load-state --name <collection-name>
クラスターに複数のデータベースが存在する場合は、まず zilliz database list を実行して各データベースを列挙し、
続けて各データベースに対して zilliz collection list --database <db-name> を実行してください。
zilliz database list
zilliz cluster list --all
クラスター全体の時系列(CUサイジング、ストレージ、サーバーレスVCU、スロークエリ)を確認するには、
zilliz cluster metrics を使用します:
zilliz cluster metrics --cluster-id <cluster-id> -m CU_COMPUTATION --period 1h
コレクション単位の時系列(QPS、レイテンシ、エンティティ数、ハイブリッド検索エイリアス)を確認するには、
zilliz collection metrics を使用します。
メトリクススコープのルールとエイリアスの完全な一覧については、コレクションスキルを参照してください:
zilliz collection metrics -c <collection-name> -m SEARCH_QPS --period 1h
両コマンドはデフォルトでインラインのBrailleラインチャートを描画します
(各メトリクスが1ブロックで表示され、min / max / avg / last のサマリーが付きます)。
ピボットテーブル形式で出力するには -o table(または --output table)を明示的に指定し、
スクリプト向けに生データを取得するには -o json または --query を使用してください。
ユーザーがステータスの概要を求めた場合は、情報を収集してサマリーテーブルとして提示します:
クラスター情報:
コレクションサマリー: 以下の列を持つテーブルとして提示します:
| コレクション | 行数 | ロード状態 |
|---|
collection list を実行した後、各コレクションに対して get-stats と get-load-state を実行して情報を収集してください。
--output json を使用して機械可読なデータを取得し、ユーザー向けに読みやすいサマリー形式に整形してください。All monitoring commands that target collections accept an optional --database <db-name> flag. If omitted, the database from the current context is used.
# Current context
zilliz context current
# Cluster details (status, plan, region, endpoints)
zilliz cluster describe --cluster-id <cluster-id>
List all collections with their stats:
# List collections
zilliz collection list
zilliz collection list --database <db-name>
# For each collection, get stats and load state:
zilliz collection get-stats --name <collection-name>
zilliz collection get-load-state --name <collection-name>
If the cluster has multiple databases, iterate through each database by running zilliz database list first, then zilliz collection list --database <db-name> for each.
zilliz database list
zilliz cluster list --all
For cluster-wide time series (CU sizing, storage, serverless VCU, slow queries) use zilliz cluster metrics:
zilliz cluster metrics --cluster-id <cluster-id> -m CU_COMPUTATION --period 1h
For per-collection time series (QPS, latency, entity counts, hybrid-search aliases) use zilliz collection metrics -- see the collection skill for metric scope rules and the full alias list:
zilliz collection metrics -c <collection-name> -m SEARCH_QPS --period 1h
Both commands render an inline Braille line chart by default (one block per metric with a min / max / avg / last summary). Pass an explicit -o table (or --output table) for the pivot-table layout, or use -o json / --query to get raw data for scripting.
When the user asks for a status overview, collect and present information as a summary table:
Cluster Info:
Collections Summary: Present as a table with columns:
| Collection | Rows | Load State |
|---|
Gather this by running collection list, then get-stats and get-load-state for each collection.
--output json to get machine-readable data, then format it into a readable summary for the user.原文・著作権は Anthropic および各プラグイン作者に帰属します。日本語訳は Claude API による自動翻訳です。