All Products
Search
Document Center

ActionTrail:DescribeTrailDeliveryMetricData

Last Updated:Jun 10, 2026

Mengambil data untuk data deret waktu pemantauan pengiriman.

Coba sekarang

Coba API ini di OpenAPI Explorer tanpa perlu penandatanganan manual. Panggilan yang berhasil akan secara otomatis menghasilkan contoh kode SDK sesuai dengan parameter Anda. Unduh kode tersebut dengan kredensial bawaan yang aman untuk penggunaan lokal.

Test

RAM authorization

Tidak ada otorisasi untuk operasi ini. Jika Anda mengalami masalah saat menjalankan operasi ini, hubungi dukungan teknis.

Parameter permintaan

Parameter

Type

Required

Description

Example

MetricName

string

Yes

Nama data deret waktu pemantauan pengiriman. Nilai valid:

  • delivery_sls_success_count: Jumlah log yang berhasil dikirim ke SLS.

  • delivery_sls_fail_count: Jumlah log yang gagal dikirim ke SLS.

  • delivery_oss_success_count: Jumlah log yang berhasil dikirim ke OSS.

  • delivery_oss_fail_count: Jumlah log yang gagal dikirim ke OSS.

delivery_sls_success_count

TrailName

string

Yes

Nama trail.

trail-name

StartTime

string

Yes

Awal jendela pengatur waktu untuk kueri. Tentukan pengatur waktu dalam format ISO 8601: 'YYYY-MM-DDThh:mm:ssZ'. 'Z' menunjukkan UTC.

2026-04-09T01:00:00Z

EndTime

string

Yes

Akhir jendela pengatur waktu untuk kueri. Tentukan pengatur waktu dalam format ISO 8601: 'YYYY-MM-DDThh:mm:ssZ'. 'Z' menunjukkan UTC.

2026-04-10T01:00:00Z

Period

integer

Yes

Periode statistik untuk data data deret waktu, dalam detik. Nilai harus 60 atau kelipatan 60.

Nilai yang direkomendasikan: 60, 900, dan 3600.

3600

Elemen respons

Element

Type

Description

Example

object

The data returned by the call.

MetricList

array<object>

A list of data points for the delivery monitoring metric.

object

A data point for the delivery monitoring metric.

Count

integer

The value of the metric. The meaning of this parameter depends on the value of the MetricName parameter in the request.

For example, if MetricName is set to delivery_sls_success_count, Count indicates the number of logs successfully delivered to SLS.

21

Timestamp

integer

The Unix timestamp, in milliseconds, that marks the start of the time window for this data point.

1775721600000

RequestId

string

The unique ID of the request.

851038F3-33AB-4C49-97D7-6AB37D35****

Contoh

Respons sukses

JSONformat

{
  "MetricList": [
    {
      "Count": 21,
      "Timestamp": 1775721600000
    }
  ],
  "RequestId": "851038F3-33AB-4C49-97D7-6AB37D35****"
}

Kode kesalahan

Lihat Error Codes untuk daftar lengkap.

Catatan rilis

Lihat Release Notes untuk daftar lengkap.