Class OpenTelemetryUtils
java.lang.Object
io.jenkins.plugins.opentelemetry.api.util.OpenTelemetryUtils
Utility methods for working with OpenTelemetry.
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
isOtelInstrumentationEnabled
(String instrumentationName) Check if the OpenTelemetry instrumentation for the given instrumentation name is enabled.static String
-
Method Details
-
isOtelInstrumentationEnabled
Check if the OpenTelemetry instrumentation for the given instrumentation name is enabled.
Search for system properties and environment variables.
See Docs - Zero-code Instrumentation - Java - Agent - Configuration
- Parameters:
instrumentationName
- the name of the instrumentation like "jdbc", "web"...
-
testLogRecordExporter
-