PolarDB AI アプリケーションパフォーマンスのクエリ実行
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
polardb:DescribeApplicationPerformance |
get |
*dbcluster
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| ApplicationId |
string |
必須 |
アプリケーションクラスターの ID。 |
pa-************** |
| Key |
string |
必須 |
クエリ対象のパフォーマンスメトリクス。複数のメトリクスはコンマ (,) で区切ります。 |
PolarDBSupabaseMemUsage |
| StartTime |
string |
必須 |
クエリの開始時間。時間は UTC の |
2020-09-23T01:01Z |
| EndTime |
string |
必須 |
クエリの終了時間。時間は UTC の |
2020-09-23T01:00Z |
| Interval |
string |
任意 |
パフォーマンスデータの粒度 (秒単位)。有効な値:
|
5 |
| Consumer |
string |
任意 |
コンシューマーの ID。 |
c-xxxxxxx |
| ConsumerGroup |
string |
任意 |
コンシューマーグループの ID。 |
cg-xxxxxx |
| ModelService |
string |
任意 |
モデルサービスの ID。 |
ms-xxxxxx |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
パフォーマンスデータ。 |
||
| PerformanceKeys |
object |
パフォーマンスメトリクス。 |
|
| PerformanceItem |
array<object> |
パフォーマンスメトリクスのリスト。 |
|
|
array<object> |
パフォーマンスメトリックの詳細。 |
||
| MetricName |
string |
パフォーマンスメトリックの名前。 |
mean_cpu_usage |
| Measurement |
string |
パフォーマンスメトリック。 |
PolarDBSupabaseMemUsage |
| Points |
object |
メトリックのデータポイント。 |
|
| PerformanceItemValue |
array<object> |
メトリックのデータポイントのリスト。 |
|
|
object |
データポイント。 |
||
| Value |
string |
データポイントの値。 |
42.38 |
| Timestamp |
integer |
データポイントのタイムスタンプ。単位:ミリ秒。 |
1600822800000 |
| ComponentId |
string |
コンポーネント ID。 |
pac-xxx |
| ComponentType |
string |
コンポーネントタイプ。 |
backend |
| EndTime |
string |
クエリの終了時刻。時刻は UTC で、 |
2025-05-23T02:21:00Z |
| RequestId |
string |
リクエスト ID。 |
CDB3258F-B5DE-43C4-8935-CBA0CA****** |
| StartTime |
string |
クエリの開始時刻。時刻は UTC で、 |
2022-11-15T16:00Z |
| ApplicationId |
string |
アプリケーションクラスターの ID。 |
pa-************** |
| ApplicationType |
string |
アプリケーションタイプ。 |
supabase |
例
成功レスポンス
JSONJSON
{
"PerformanceKeys": {
"PerformanceItem": [
{
"MetricName": "mean_cpu_usage",
"Measurement": "PolarDBSupabaseMemUsage",
"Points": {
"PerformanceItemValue": [
{
"Value": "42.38",
"Timestamp": 1600822800000
}
]
},
"ComponentId": "pac-xxx",
"ComponentType": "backend"
}
]
},
"EndTime": "2025-05-23T02:21:00Z",
"RequestId": "CDB3258F-B5DE-43C4-8935-CBA0CA******",
"StartTime": "2022-11-15T16:00Z",
"ApplicationId": "pa-**************",
"ApplicationType": "supabase"
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | InvalidKey.Malformed | The specified parameter Key is not valid. | |
| 400 | InvalidEndTime.Malformed | The specified parameter EndTime is not valid. | |
| 400 | InvalidStartTime.Malformed | The specified parameter StartTime is not valid. | |
| 400 | InvalidParameterCombination | The end time must be greater than the start time. | |
| 400 | InvalidDateRange.Malformed | The Date Range can not more than one month. | |
| 404 | InvalidDBClusterId.NotFound | The DBClusterId provided does not exist in our records. | |
| 404 | InvalidDBClusterId.Malformed | The specified parameter DBClusterId is not valid. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。