Monitor object type. For values, refer to [Cloud Product Monitor Object Type List](BCM/Cloud Product Monitor List/Cloud Product Monitor Object Type List.md)
No
Body
metricName
String
Monitor Metric name
Yes
Body
region
String
Region identifier. For values, refer to [Region List](BCM/API Reference/Service domain.md)
No
Body
pageNo
int
Page number, defaulting to 1
No
Body
pageSize
int
Page size, default: 10, maximum: 100
No
Body
Dimension
Name
Types
Description
Required or not
name
String
Dimension key
Yes
value
String
Dimension value
Yes
Response parameters
Name
Types
Description
requestId
String
Request identifier
code
String
Return code
message
String
Error message
result
PageResult
Paginated results
PageResult
Name
Types
Description
pageNo
int
Page number
pageSize
int
Page size
totalCount
int
Total count
result
List<AllDataMetric>
List of Monitor Metrics
AllDataMetric
Name
Types
Description
region
String
Region identifier
scope
String
Cloud product identifier
userId
String
User ID
resourceId
String
Resource ID
metricName
String
Monitor Metric name
dimensions
List<Dimensions>
Dimension list
dataPoints
List<DataPoint>
Monitor Metric data
DataPoint
Name
Types
Description
average
double
Average of Metrics within the statistical period
sum
double
Sum of Metrics within the statistical period
minimum
double
Minimum value of Metrics within the statistical period
maximum
double
Maximum value of Metrics within the counting cycle
sampleCount
int
Number of DataPoints for the Metric within the statistical period
timestamp
String
Time corresponding to the monitor data
Request example
POST /csm/api/v2/userId/453bf9588c9*******a2c984129090dc/services/BCE_BLB/data/metricData/PartialDimension
{"startTime":"2024-03-20T02:21:17Z","endTime":"2024-03-20T03:21:17Z","dimensions":[{"name":"BlbPortType","value":"TCP"}],"statistics":["sum"],"resourceType":"AppIpv6Blb","metricName":"ActiveConnClusterPercent"}
Response example
{"requestId":"55b74de262694686999adad5b4832047","code":"success","message":"","result":{"pageNo":1,"pageSize":10,"totalCount":4,"result":[{"region":"bj","scope":"BCE_BLB","userId":"453bf9588c9*******a2c984129090dc","resourceId":"lb-****f1c3","metricName":"ActiveConnClusterPercent","dimensions":[{"name":"BlbId","value":"lb-****f1c3"},{"name":"BlbPort","value":"80"},{"name":"BlbPortType","value":"TCP"}],"dataPoints":[{"sum":0.0,"timestamp":"2024-03-20T02:21:17Z"},{"sum":0.0,"timestamp":"2024-03-20T02:22:17Z"}
..... // Other points omitted]}
....// Other instances omitted]}}