Mengkueri informasi Pemantauan dalam format.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
mse:QueryMonitor |
get |
*All Resource
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RequestPars |
string |
No |
Parameter permintaan yang diperluas dalam format JSON. |
{} |
| MonitorType |
string |
Yes |
Tipe data deret waktu. Tipe data deret waktu berikut didukung: [Data deret waktu sistem dasar]
[Registri Pusat Registrasi Nacos]
[Pusat konfigurasi Pusat Registrasi Nacos]
[zookeeper]
|
regCenterQps |
| StartTime |
integer |
Yes |
Stempel waktu saat pemantauan dimulai. |
1666678376 |
| EndTime |
integer |
Yes |
Stempel waktu saat pemantauan berakhir. |
1666678376 |
| Step |
integer |
No |
Interval antar titik data. Unit: detik. |
7 |
| InstanceId |
string |
No |
ID Instans. |
mse-cn-**** |
| AcceptLanguage |
string |
No |
Bahasa tanggapan. Nilai valid:
|
zh |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The data structure. |
||
| Message |
string |
The message returned. |
The request was successfully processed. |
| RequestId |
string |
The ID of the request. |
ADDD8AB7-8D1C-4697-A83E-410D2607**** |
| Data |
array<object> |
The details of the data. |
6 |
|
array<object> |
The details of the data. |
||
| podName |
string |
The name of the pod. |
mse-xxxxxx-xxxxxx-reg-center-0-0 |
| clusterNamePrefix |
string |
The prefix of the name. |
mse-xxxx-xxxxxx |
| values |
array<object> |
The details of the data. |
|
|
object |
The content of the data. |
||
| ErrorCode |
string |
The error code returned if the request failed. |
mse-100-000 |
| Success |
boolean |
Indicates whether the request was successful. Valid values:
|
true |
Contoh
Respons sukses
JSONformat
{
"Message": "The request was successfully processed.\n",
"RequestId": "ADDD8AB7-8D1C-4697-A83E-410D2607****",
"Data": [
{
"podName": "mse-xxxxxx-xxxxxx-reg-center-0-0",
"clusterNamePrefix": "mse-xxxx-xxxxxx",
"values": [
{
"test": "test",
"test2": 1
}
]
}
],
"ErrorCode": "mse-100-000",
"Success": true
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | IllegalRequest | Invalid request:%s | Invalid request: %s |
| 400 | InvalidParameter | Parameter error:%s | Request parameter error: %s |
| 500 | InternalError | Console error. Try again later:%s | Console error. Try again later: %s |
| 403 | NoPermission | You are not authorized to perform this operation:%s | You do not have the permission to use this interface:%s |
| 404 | NotFound | Not found:%s | The resource does not exist:%s |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.