All Products
Search
Document Center

Application Real-Time Monitoring Service:GetMultipleTrace

Last Updated:Jun 12, 2026

Mengambil detail beberapa jejak.

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

RegionId

string

Yes

ID wilayah.

cn-hangzhou

TraceIDs

array

Yes

Daftar ID jejak.

ac1400a115951745017447033d****

string

No

ID jejak. Tentukan minimal 1 dan maksimal 9 ID jejak. Anda dapat memperoleh ID jejak dari halaman Permintaan Jejak di konsol ARMS.

ac1400a115951745017447033d****

StartTime

integer

Yes

Timestamp pengatur waktu mulai jejak, dalam milidetik.

1657692507000

EndTime

integer

Yes

Timestamp pengatur waktu akhir jejak, dalam milidetik.

1663999380000

PageNumber

integer

No

Nomor halaman kueri, dimulai dari 1.

1

PageSize

integer

No

Jumlah entri per halaman. Nilai maksimum: 1000.

10

Elemen respons

Element

Type

Description

Example

object

RequestId

string

ID permintaan.

2983BEF7-4A0D-47A2-94A2-8E9C5E63****

MultiCallChainInfos

array<object>

Informasi tentang beberapa jejak.

array<object>

TraceID

string

ID jejak.

ac1400a115951745017447033d****

Spans

array<object>

Detail jejak.

array<object>

SpanId

string

The span ID.

1234

OperationName

string

The name of the traced span.

/demo/queryNotExistDB/11

ResultCode

string

The status code returned.

1

Timestamp

integer

The timestamp.

1595174501747

RpcType

integer

The type of the remote procedure call (RPC) mode.

  • 0: HTTP entry

  • 25: HTTP call

  • 1: High-speed Service Framework (HSF) call

  • 2: HSF provision

  • 40: on-premises API call

  • 60: MySQL call

  • 62: Oracle call

  • 63: PostgreSQL call

  • 70: Redis call

  • 4: Taobao Distributed Data Layer (TDDL) call

  • 5: Tair call

  • 13: MetaQ message sending

  • 252: MetaQ message receiving

  • 3: notification sending

  • 254: notification receiving

  • 7: Apache Dubbo call

  • 8: Apache Dubbo provision

  • 19: SOFARPC call

  • 18: SOFARPC provision

  • 11: Distributed Service Framework (DSF) call

  • 12: DSF provision

  • -1: unknown call

0

ServiceIp

string

The IP address of the host where the application resides.

172.20.XX.XX

HaveStack

boolean

Indicates whether a method stack was provided.

  • true: A method stack was provided.

  • false: No method stack was provided.

true

ParentSpanId

string

The ID of the parent span.

18

Duration

integer

The amount of time consumed by the trace. Unit: milliseconds.

11

RpcId

string

RPC ID

0.1

ServiceName

string

The name of the application.

arms-k8s-demo-subcomponent

TraceID

string

The trace ID.

ac1400a115951745017447033d****

TagEntryList

array<object>

The tags of the trace.

object

Key

string

The key of the tag.

http.status.code

Value

string

The value of the tag.

200

LogEventList

array<object>

The log events in the trace.

array<object>

Timestamp

integer

The time when the log was generated. The value is a timestamp.

1595174501747

TagEntryList

array<object>

The tags of the trace.

object

Key

string

The key of the tag.

http.status.code

Value

string

The value of the tag.

200

Contoh

Respons sukses

JSONformat

{
  "RequestId": "2983BEF7-4A0D-47A2-94A2-8E9C5E63****",
  "MultiCallChainInfos": [
    {
      "TraceID": "ac1400a115951745017447033d****",
      "Spans": [
        {
          "SpanId": "1234",
          "OperationName": "/demo/queryNotExistDB/11",
          "ResultCode": "1",
          "Timestamp": 1595174501747,
          "RpcType": 0,
          "ServiceIp": "172.20.XX.XX",
          "HaveStack": true,
          "ParentSpanId": "18",
          "Duration": 11,
          "RpcId": "0.1",
          "ServiceName": "arms-k8s-demo-subcomponent",
          "TraceID": "ac1400a115951745017447033d****",
          "TagEntryList": [
            {
              "Key": "http.status.code",
              "Value": "200"
            }
          ],
          "LogEventList": [
            {
              "Timestamp": 1595174501747,
              "TagEntryList": [
                {
                  "Key": "http.status.code",
                  "Value": "200"
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}

Kode kesalahan

Lihat Error Codes untuk daftar lengkap.

Catatan rilis

Lihat Release Notes untuk daftar lengkap.