Mengatur granularitas pengumpulan Pemantauan untuk instans MongoDB.
Deskripsi operasi
Due to changes in the monitoring collection granularity adjustment feature, this operation is only applicable to the previous version of the MongoDB console.
To use this operation, the instance must meet the following requirements:
-
A replica set or sharded cluster instance is used.
-
MongoDB 3.4 (the latest minor version) or MongoDB 4.0 is selected.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dds:ModifyDBInstanceMonitor |
update |
*Instance
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| DBInstanceId |
string |
Yes |
ID instans. |
dds-bpxxxxxxxx |
| Granularity |
string |
Yes |
Frekuensi pengumpulan data Pemantauan. Nilai valid: 1 atau 300. Unit: detik. |
1 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
EFD65226-08CC-4C4D-B6A4-CB3C382F67B0 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "EFD65226-08CC-4C4D-B6A4-CB3C382F67B0"
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.