All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.feingto.cloud.dto.trace.SpanDTO Maven / Gradle / Ivy

There is a newer version: 2.3.5.RELEASE
Show newest version
package com.feingto.cloud.dto.trace;

import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * 数据单元
 *
 * @author longfei
 */
@Data
@Accessors(chain = true)
public class SpanDTO implements Serializable {
    private static final long serialVersionUID = -2885888431663128187L;

    private String id;

    private String parentId;

    private String traceIdHigh;

    private String traceId;

    private String name;

    private long timestamp;

    /**
     * 类型 SERVER / CLIENT / PRODUCER / CONSUMER
     *
     * @see zipkin2.Span
     */
    private String kind;

    private long duration;

    private List annotations = new ArrayList<>();

    private List binaryAnnotations = new ArrayList<>();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy