Creates a global aggregation instance in Prometheus Service.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
RegionId | string | Yes | The region ID. | cn-hangzhou |
GroupName | string | Yes | The name of the global aggregation instance. | zyGlobalView |
ProductCode | string | No | The identifier to identify the service if custom dashboards are created for the specified clusters. | adcp |
ClusterIds | string | Yes | The IDs of clusters. Separate multiple IDs with commas (,). | cd1d55bef19904324a20ed0ebb86caa5c,c5b48729918ab4745a24482ac29d0973a, c00a94896641449098bf24931e4166003, cd174485c09384060ba542bc1be1185a4 |
Response parameters
Examples
Sample success responses
JSON
format
{
"Data": {
"Success": true,
"Msg": "success",
"Info": "{regionId: the region where the aggregation instance resides. globalViewClusterId: the ID of the aggregation instance. failedClusterIds: the ID of the cluster that failed to be added. A cluster may fail to be added because the specified cluster ID is invalid or the cluster is added across continents.}\n"
},
"RequestId": "3A0EA2AF-C9B3-555C-B9D5-5DD8F5EF98A9",
"Code": 200,
"Message": "success"
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|---|---|
2023-03-20 | The response structure of the API has changed | View Change Details |