Class InstrumenterUtil

java.lang.Object
io.opentelemetry.instrumentation.api.internal.InstrumenterUtil

public final class InstrumenterUtil extends Object
This class is internal and is hence not for public use. Its APIs are unstable and can change at any time.
  • Method Details

    • startAndEnd

      public static <REQUEST, RESPONSE> io.opentelemetry.context.Context startAndEnd(Instrumenter<REQUEST,RESPONSE> instrumenter, io.opentelemetry.context.Context parentContext, REQUEST request, @Nullable RESPONSE response, @Nullable Throwable error, Instant startTime, Instant endTime)