Torch Log Service
Parameters | Type | Required | Example value | Description |
Parameters | Type | Required | Example value | Description |
Query | Yes | / | Query criteria used to filter Trace details that match the specified conditions Supports multiple query criteria combinations, including sorting, pagination, time range, service name, and more | |
TraceInstanceId | String | Yes | 0fdaa6b6-3c9f-424c-8664-fc0d222c**** | Trace instance ID |
Parameters | Type | Required | Example value | Description |
Parameters | Type | Required | Example value | Description |
Asc | Boolean | No | true | Specify whether the query results should be sorted in ascending order true means ascending order; false means descending order |
Kind | String | No | internal | Type. |
Limit | Integer | No | 10 | Specifies the maximum number of records returned in query results for pagination control. |
Order | String | No | Start | Specify the field by which to sort the query results. Sorting supports the following fields:
|
Offset | Integer | No | 0 | Offset for paginated queries, indicating which record to return first in the results Usually used together with Limit to implement pagination |
TraceId | String | No | ef97a7**** | Trace ID。 |
Attributes | JSON Map | No | [object Object] | In Attributes, the field is key, and value represents all possible values for that field. |
StatusCode | String | No | OK | The status code of Trace, used for filtering Trace records by specific status. |
DurationMax | Integer | No | 1000000 | Maximum Trace duration in microseconds. Filters Trace records with durations not exceeding the specified value. |
DurationMin | Integer | No | 1000 | Trace minimum duration in microseconds. Used to filter Trace records with durations exceeding the specified value. |
ServiceName | String | No | mysql | Used to filter Trace records for specific service names This field supports exact match. The query results will include only Trace records with service names that are exactly the same as the specified value |
StartTimeMax | Integer | No | 1625097600000000 | Maximum start time of Span, in microseconds (timestamp). Used to filter Trace records with start times no greater than the specified value. |
StartTimeMin | Integer | No | 1625097600000000 | The minimum start time for Span, in microseconds timestamp. Used to filter Trace records that start after the specified time. |
OperationName | String | No | create | Operation name of Trace, used to filter Trace records with a specific operation name. This field supports exact matching; the query results will only include Trace records whose operation name exactly matches the specified value. |
Parameters | Type | Example value | Description |
Parameters | Type | Example value | Description |
Total | Integer | 100 | Total number of qualified Trace details |
TraceInfos | - | Includes a list of Trace details. Each item contains information such as TraceID, service name, operation name, start time, end time, duration, status code, and custom attributes. |
Parameters | Type | Example value | Description |
Parameters | Type | Example value | Description |
EndTime | Integer | 1625097600000000 | The Trace end time in microseconds, indicating the precise moment this trace operation is completed |
TraceId | String | ef97a7**** | Trace ID。 |
Duration | Integer | 1500000 | The Trace duration, in microseconds, represents the time difference from StartTime to EndTime. |
StartTime | Integer | 1625097600000000 | The start time of Trace in microseconds, indicating the precise moment when the tracing operation began. |
Attributes | JSON Map | [object Object] | In Attributes, the field is key, and value represents the possible values for that field. |
StatusCode | String | OK | Status code of Trace, used to filter Trace records with specific status. |
ServiceName | String | mysql | Used to filter Trace records for a specific service name. This field supports exact matching; only trace records with the service name exactly matching the specified value will be returned. |
OperationName | String | create | Operation name of Trace, used to filter Trace records by specific operation name This field supports exact match. The query results will only include Trace records where the operation name exactly matches the specified value |