Class GlobalOpenTelemetrySdk

java.lang.Object
io.jenkins.plugins.opentelemetry.opentelemetry.GlobalOpenTelemetrySdk

public final class GlobalOpenTelemetrySdk extends Object
Global singleton similar to the GlobalOpenTelemetry in order to also have a static accessor to the SdkLoggerProvider
  • 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