Class TraceInfoAction
java.lang.Object
hudson.model.InvisibleAction
org.datadog.jenkins.plugins.datadog.model.DatadogPluginAction
org.datadog.jenkins.plugins.datadog.model.TraceInfoAction
- All Implemented Interfaces:
Action,ModelObject,Serializable,org.jenkinsci.plugins.workflow.actions.PersistentAction
This action stores mapping between IDs of
FlowNode
that are generated by Jenkins, and span IDs that are generated by the plugin.
Span ID is submitted with the rest of the tracing data when a pipeline step finishes, but in certain cases it needs to be known before that:
- before an atomic step starts, we add its span ID to the step's environment so that the logic inside the step could create custom spans that are linked as children to the step's span
- if a stage step contains children, its children need to know their parent stage's span ID to use as their parent ID
There is a single trace info action associated with the pipeline, rather than a separate action with a single ID associated with the node. This is done for performance reasons, as changes to run actions are batched, while changes to node actions are written to disk immediately.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic final class -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class hudson.model.InvisibleAction
getDisplayName, getIconFileName, getUrlNameMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface hudson.model.Action
getDisplayName, getIconFileName, getUrlName