Retrieves delivery monitoring metrics.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
actiontrail:DescribeTrailDeliveryMetricData |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| MetricName |
string |
Yes |
The monitoring metrics name. Valid values:
|
delivery_sls_success_count |
| TrailName |
string |
Yes |
The trail name. |
trail-name |
| StartTime |
string |
Yes |
The start time. Format: 2026-02-25T00:35:00Z. |
2026-04-09T01:00:00Z |
| EndTime |
string |
Yes |
The end time. The format is the same as StartTime. |
2026-04-10T01:00:00Z |
| Period |
integer |
Yes |
The statistical period of the monitoring data. The minimum value is 60. Multiples of 60 are supported. Recommended values: 60, 900, and 3600. Unit: seconds. |
3600 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| MetricList |
array<object> |
The list of monitoring metrics. |
|
|
object |
The monitoring metrics object. |
||
| Count |
integer |
The count of the monitoring metrics. The specific meaning is determined by the MetricName request parameter. For example, if MetricName is set to |
21 |
| Timestamp |
integer |
The time window corresponding to Count. This is the timestamp of the metric data point, expressed as a UNIX timestamp in milliseconds. |
1775721600000 |
| RequestId |
string |
The request ID. |
851038F3-33AB-4C49-97D7-6AB37D35**** |
Examples
Success response
JSON format
{
"MetricList": [
{
"Count": 21,
"Timestamp": 1775721600000
}
],
"RequestId": "851038F3-33AB-4C49-97D7-6AB37D35****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.