Class FlowNodeTraceContext
java.lang.Object
io.jenkins.plugins.opentelemetry.job.log.RunTraceContext
io.jenkins.plugins.opentelemetry.job.log.FlowNodeTraceContext
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
int
hashCode()
static FlowNodeTraceContext
newFlowNodeTraceContext
(Run run, org.jenkinsci.plugins.workflow.graph.FlowNode flowNode, io.opentelemetry.api.trace.Span span) io.opentelemetry.api.common.Attributes
toString()
Methods inherited from class io.jenkins.plugins.opentelemetry.job.log.RunTraceContext
getContext, getJobFullName, getRunNumber, getSpanId, getTraceId, getW3cTraceContext
-
Constructor Details
-
FlowNodeTraceContext
-
-
Method Details
-
newFlowNodeTraceContext
public static FlowNodeTraceContext newFlowNodeTraceContext(@NonNull Run run, @NonNull org.jenkinsci.plugins.workflow.graph.FlowNode flowNode, @NonNull io.opentelemetry.api.trace.Span span) -
getFlowNodeId
-
toString
- Overrides:
toString
in classRunTraceContext
-
equals
- Overrides:
equals
in classRunTraceContext
-
hashCode
public int hashCode()- Overrides:
hashCode
in classRunTraceContext
-
toAttributes
@Nonnull public io.opentelemetry.api.common.Attributes toAttributes()- Overrides:
toAttributes
in classRunTraceContext
-