Class GlobalOpenTelemetrySdk
java.lang.Object
io.jenkins.plugins.opentelemetry.opentelemetry.GlobalOpenTelemetrySdk
Global singleton similar to the
GlobalOpenTelemetry
in order to also have a
static accessor to the SdkLoggerProvider
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
configure
(Map<String, String> configurationProperties, Map<String, String> resourceAttributes, boolean registerShutDownHook) Configure if configuration has changedstatic io.jenkins.plugins.opentelemetry.api.ReconfigurableOpenTelemetry
get()
static io.opentelemetry.api.logs.Logger
static boolean
-
Constructor Details
-
GlobalOpenTelemetrySdk
public GlobalOpenTelemetrySdk()
-
-
Method Details
-
get
@Nonnull public static io.jenkins.plugins.opentelemetry.api.ReconfigurableOpenTelemetry get() -
isInitialized
public static boolean isInitialized() -
getOtelLogger
@Nonnull public static io.opentelemetry.api.logs.Logger getOtelLogger() -
configure
public static void configure(Map<String, String> configurationProperties, Map<String, String> resourceAttributes, boolean registerShutDownHook) Configure if configuration has changed
-