public class TraceInfoAction extends DatadogPluginAction
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:
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.
Modifier and Type | Class and Description |
---|---|
static class |
TraceInfoAction.ConverterImpl |
static class |
TraceInfoAction.ConverterV1 |
Constructor and Description |
---|
TraceInfoAction() |
TraceInfoAction(Map<String,Long> spanIdByNodeId) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Long |
getOrCreate(String flowNodeId) |
int |
hashCode() |
Long |
removeOrCreate(String flowNodeId) |
String |
toString() |
getDisplayName, getIconFileName, getUrlName
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getDisplayName, getIconFileName, getUrlName
Copyright © 2016–2024. All rights reserved.