Class BuildSpanManager
- java.lang.Object
-
- org.datadog.jenkins.plugins.datadog.traces.BuildSpanManager
-
public class BuildSpanManager extends Object
Used to store trace data after the build has finished. The data is needed to link upstream build to a downstream build.
-
-
Field Summary
Fields Modifier and Type Field Description static String
DD_JENKINS_SPAN_CONTEXT_STORAGE_MAX_SIZE_ENV
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BuildSpanManager
get()
TraceSpan.TraceSpanContext
get(String tag)
void
put(String tag, TraceSpan.TraceSpanContext context)
-
-
-
Field Detail
-
DD_JENKINS_SPAN_CONTEXT_STORAGE_MAX_SIZE_ENV
public static final String DD_JENKINS_SPAN_CONTEXT_STORAGE_MAX_SIZE_ENV
- See Also:
- Constant Field Values
-
-
Method Detail
-
get
public static BuildSpanManager get()
-
put
public void put(String tag, TraceSpan.TraceSpanContext context)
-
get
public TraceSpan.TraceSpanContext get(String tag)
-
-