Class JsonTraceSpanMapper
- java.lang.Object
-
- org.datadog.jenkins.plugins.datadog.traces.mapper.JsonTraceSpanMapper
-
public class JsonTraceSpanMapper extends Object
PayloadMapper to transform TraceSpan into JSON object following the spec: https://docs.datadoghq.com/api/latest/tracing/
-
-
Constructor Summary
Constructors Constructor Description JsonTraceSpanMapper()
-
-
-
Field Detail
-
TRACE_ID
public static final String TRACE_ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
map
public net.sf.json.JSONObject map(TraceSpan span)
-
-