Parameters | Type | Sample value | Description |
Items | [{"Id":"1","Name":"OnlineExportTaskA","Status":0}] | Task list. | |
TotalCount | Long | 100 | The total count. |
Parameters | Type | Sample value | Description |
Id | String | 1 | Task ID. |
Name | String | OnlineExportTaskA | Task name. |
EndAt | Long | 1675180799000 | Timestamp for the task end time, measured in milliseconds. |
Status | Integer | 3 | Task status. Values:
|
StartAt | Long | 1672502400000 | Timestamp of the task start time, measured in milliseconds. |
TaskType | Integer | 0 | Task type. Value: 0, online task. |
CreatedAt | String | 2023-01-01T00:00:00Z | Creation time. |
CreatedBy | String | zhangsan | Username of the task creator. |
UpdatedAt | String | 2023-01-01T01:00:00Z | Update time. |
UpdatedBy | String | lisi | Username of the last operator who updated the task. |
SpanFilter | {"ProjectName":"default","Conditions":[]} | Span filter criteria. | |
TaskConfig | {"DataLimit":10000,"IsCycle":true,"CycleInterval":1,"CycleTimeUnit":"day","CycleDataLimit":100,"CycleStartAt":"0-00:00:00","CycleEndAt":"0-23:59:59"} | Task configuration information. | |
TaskDetail | {"SuccessCount":950,"FailureCount":50,"TotalCount":1000} | Task execution details. | |
Description | String | Online export task example | Task description. |
ExportTarget | Integer | 2 | Target platform for export data. Values:
|
ExportSpanParam | {"ExportFormat":"mapping","FieldMappings":[{"TraceFieldKey":"trace_id","TraceFieldJsonPath":"$.trace_id","FieldSchema":{"Name":"trace_id","ContentType":"Text","IsRequired":true}}]} | Export Span configuration. | |
EvaluationConfig | {"WorkspaceId":"ws-12345","IsNewEvaluationSet":true,"EvaluationSetName":"EvaluationSetA","ExportType":0,"FieldSchemas":[]} | Evaluation configuration. |
Parameters | type | Sample value | Description |
IsCycle | Boolean | true | Whether the task runs in a cycle. Values:
|
DataLimit | Long | 10,000 | Upper data limit. |
CycleEndAt | String | 3-14:00:00 | Cycle window end time. Example:
|
CycleStartAt | String | 1-14:00:00 | Cycle window start time. Example:
|
CycleInterval | Long | 1 | Cycle period. |
CycleTimeUnit | String | week | Cycle time unit. Values:
|
CycleDataLimit | Long | 100 | Single-cycle data volume. |
Parameters | Type | Sample value | Description |
TotalCount | Long | 1,000 | Total export volume. |
FailureCount | Long | 50 | Failure count. |
SuccessCount | Long | 950 | Success count. |
Parameters | Type | Sample value | Description |
ExportFormat | String | mapping | Export format. Values:
|
FieldMappings | [{"TraceFieldKey":"trace_id","TraceFieldJsonPath":"$.trace_id","FieldSchema":{"Name":"trace_id","ContentType":"Text","IsRequired":true}}] | Field mapping. tip This parameter is required only when ExportFormat is set to mapping. | |
CustomTemplate | String | {"trace_id":"{{.TraceId}}"} | Custom export template. tip This parameter is required only when ExportFormat is set to custom_template. |
Parameters | Type | Sample value | Description |
FieldSchema | {"Name":"trace_id","Description":"Trace ID","ContentType":"Text","IsRequired":true} | Target evaluation set field structure. | |
TraceFieldKey | String | trace_id | Name of the Trace field. Sample value:
|
TraceFieldJsonPath | String | $.trace_id | JSON path of the trace field. |
Parameters | Type | Sample value | Description |
Name | String | trace_id | Field name. |
IsRequired | Boolean | true | Whether the field is required. Values:
|
TextSchema | String | {"type":"string"} | JSON Schema definition for text fields. |
ContentType | String | Text | Field content type. |
Description | String | Trace ID | Field description. |
DefaultDisplayFormat | String | plain_text | Default display format for fields. |
Parameters | Type | Sample value | Description |
ExportType | Integer | 0 | Export method. Values:
|
WorkspaceId | String | ws-12345 | Workspace ID of evaluation platform. |
FieldSchemas | [{"Name":"trace_id","Description":"Trace ID","ContentType":"Text","IsRequired":true}] | Field structure list of the evaluation set. | |
EvaluationSetId | String | eval-set-67890 | Existing evaluation set ID. Description This parameter is required when IsNewEvaluationSet is set to false. |
EvaluationSetName | String | Trace Evaluation Set | Name of the new evaluation set. Description This parameter is required when IsNewEvaluationSet is set to true. |
IsNewEvaluationSet | Boolean | true | Whether to create a new evaluation set. Values:
|