Package io.jenkins.plugins.opentelemetry
Class OtelUtils
java.lang.Object
io.jenkins.plugins.opentelemetry.OtelUtils
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Stringstatic StringgetMultibranchType(Run<?, ?> run) static Stringstatic StringgetProjectType(Run<?, ?> run) static StringgetSystemPropertyOrEnvironmentVariable(String environmentVariableName) getW3cTraceContext(io.opentelemetry.api.trace.Span span) static booleanisFreestyle(Run<?, ?> run) static booleanstatic booleanstatic booleanisMultibranch(Run<?, ?> run) static booleanisMultibranchBranch(Run<?, ?> run) static booleanisMultibranchChangeRequest(Run<?, ?> run) static booleanisMultibranchTag(Run<?, ?> run) static booleanisWorkflow(Run<?, ?> run) noteworthyConfigProperties(io.opentelemetry.sdk.autoconfigure.spi.ConfigProperties configProperties) static StringtoDebugString(io.opentelemetry.api.trace.Span span) static StringtoDebugString(org.jenkinsci.plugins.workflow.graph.FlowNode flowNode) static String
-
Field Details
-
FREESTYLE
- See Also:
-
MATRIX
- See Also:
-
MAVEN
- See Also:
-
MULTIBRANCH
- See Also:
-
WORKFLOW
- See Also:
-
UNKNOWN
- See Also:
-
BRANCH
- See Also:
-
CHANGE_REQUEST
- See Also:
-
TAG
- See Also:
-
JENKINS_CORE
- See Also:
-
UNKNOWN_VALUE
- See Also:
-
-
Constructor Details
-
OtelUtils
public OtelUtils()
-
-
Method Details
-
getSystemPropertyOrEnvironmentVariable
-
spanToDebugString
-
getProjectType
-
getMultibranchType
-
isMultibranchTag
-
isMultibranchChangeRequest
-
isMultibranchBranch
-
isMultibranch
-
isWorkflow
-
isFreestyle
-
isMatrix
-
isMaven
-
toDebugString
-
toDebugString
-
flowNodeToDebugString
-
urlEncode
-
getJenkinsVersion
-
getOpentelemetryPluginVersion
-
noteworthyConfigProperties
-
getW3cTraceContext
-