Package io.jenkins.plugins.opentelemetry
Class OtelUtils
java.lang.Object
io.jenkins.plugins.opentelemetry.OtelUtils
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
static String
getMultibranchType
(Run<?, ?> run) static String
static String
getProjectType
(Run<?, ?> run) static String
getSystemPropertyOrEnvironmentVariable
(String environmentVariableName) getW3cTraceContext
(io.opentelemetry.api.trace.Span span) static boolean
isFreestyle
(Run<?, ?> run) static boolean
static boolean
static boolean
isMultibranch
(Run<?, ?> run) static boolean
isMultibranchBranch
(Run<?, ?> run) static boolean
isMultibranchChangeRequest
(Run<?, ?> run) static boolean
isMultibranchTag
(Run<?, ?> run) static boolean
isWorkflow
(Run<?, ?> run) noteworthyConfigProperties
(io.opentelemetry.sdk.autoconfigure.spi.ConfigProperties configProperties) static String
toDebugString
(io.opentelemetry.api.trace.Span span) static String
toDebugString
(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
-