com.datadoghq.trace.DDSpan Maven / Gradle / Ivy
package com.datadoghq.trace;
import io.opentracing.Span;
/**
* Represents an in-flight span in the opentracing system.
*
*
*
*
Spans are created by the {@link DDTracer#buildSpan}. This implementation adds some features
* according to the DD agent.
*/
public class DDSpan extends DDBaseSpan implements Span {
/**
* A simple constructor. Currently, users have
*
* @param timestampMicro if set, use this time instead of the auto-generated time
* @param context the context
*/
protected DDSpan(long timestampMicro, DDSpanContext context) {
super(timestampMicro, context);
}
@Override
protected DDSpan thisInstance() {
return this;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy