Class MonitoringAction
- java.lang.Object
-
- io.jenkins.plugins.opentelemetry.job.action.AbstractMonitoringAction
-
- io.jenkins.plugins.opentelemetry.job.MonitoringAction
-
- All Implemented Interfaces:
Action
,ModelObject
,OtelMonitoringAction
,RunAction2
,SimpleBuildStep.LastBuildAction
public class MonitoringAction extends AbstractMonitoringAction implements Action, RunAction2, SimpleBuildStep.LastBuildAction
Span reference associate with aRun
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MonitoringAction.ObservabilityBackendLink
-
Field Summary
-
Fields inherited from class io.jenkins.plugins.opentelemetry.job.action.AbstractMonitoringAction
spanName, w3cTraceContext
-
-
Constructor Summary
Constructors Constructor Description MonitoringAction(io.opentelemetry.api.trace.Span span)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDisplayName()
String
getIconFileName()
List<MonitoringAction.ObservabilityBackendLink>
getLinks()
Collection<? extends Action>
getProjectActions()
String
getUrlName()
Map<String,String>
getW3cTraceContext(String flowNodeId)
void
onAttached(Run<?,?> r)
void
onLoad(Run<?,?> r)
protected Object
readResolve()
Backward compatibility-
Methods inherited from class io.jenkins.plugins.opentelemetry.job.action.AbstractMonitoringAction
getSpan, getSpanId, getSpanName, getTraceId, getW3cTraceContext, hasEnded, purgeSpan, toString
-
-
-
-
Method Detail
-
onAttached
public void onAttached(Run<?,?> r)
- Specified by:
onAttached
in interfaceRunAction2
-
onLoad
public void onLoad(Run<?,?> r)
- Specified by:
onLoad
in interfaceRunAction2
-
getIconFileName
public String getIconFileName()
- Specified by:
getIconFileName
in interfaceAction
-
getDisplayName
public String getDisplayName()
- Specified by:
getDisplayName
in interfaceAction
- Specified by:
getDisplayName
in interfaceModelObject
-
getProjectActions
public Collection<? extends Action> getProjectActions()
- Specified by:
getProjectActions
in interfaceSimpleBuildStep.LastBuildAction
-
getUrlName
public String getUrlName()
- Specified by:
getUrlName
in interfaceAction
-
readResolve
protected Object readResolve()
Backward compatibility
-
getW3cTraceContext
@CheckForNull public Map<String,String> getW3cTraceContext(@NonNull String flowNodeId)
-
getLinks
@NonNull public List<MonitoringAction.ObservabilityBackendLink> getLinks()
-
-