Class DatadogTracePipelineLogic
- java.lang.Object
-
- org.datadog.jenkins.plugins.datadog.traces.DatadogBasePipelineLogic
-
- org.datadog.jenkins.plugins.datadog.traces.DatadogTracePipelineLogic
-
public class DatadogTracePipelineLogic extends DatadogBasePipelineLogic
Keeps the logic to send traces related to inner jobs of Jenkins Pipelines (datadog levels: stage and job). The top-level job (datadog level: pipeline) is handled by DatadogTraceBuildLogic
-
-
Field Summary
-
Fields inherited from class org.datadog.jenkins.plugins.datadog.traces.DatadogBasePipelineLogic
CI_PROVIDER, HOSTNAME_NONE
-
-
Constructor Summary
Constructors Constructor Description DatadogTracePipelineLogic()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description net.sf.json.JSONObject
toJson(PipelineStepData flowNode, Run<?,?> run)
TraceSpan
toSpan(PipelineStepData current, Run<?,?> run)
-
Methods inherited from class org.datadog.jenkins.plugins.datadog.traces.DatadogBasePipelineLogic
buildOperationName, getNodeHostname, getNodeLabels, getNodeName
-
-
-
-
Method Detail
-
toJson
@Nonnull public net.sf.json.JSONObject toJson(PipelineStepData flowNode, Run<?,?> run) throws IOException, InterruptedException
- Specified by:
toJson
in classDatadogBasePipelineLogic
- Throws:
IOException
InterruptedException
-
toSpan
@Nonnull public TraceSpan toSpan(PipelineStepData current, Run<?,?> run) throws IOException, InterruptedException
- Throws:
IOException
InterruptedException
-
-