Interface InstrumenterAccess


public interface InstrumenterAccess
This class is internal and is hence not for public use. Its APIs are unstable and can change at any time.
  • Method Summary

    Modifier and Type
    Method
    Description
    <REQUEST, RESPONSE>
    io.opentelemetry.context.Context
    startAndEnd(Instrumenter<REQUEST,RESPONSE> instrumenter, io.opentelemetry.context.Context parentContext, REQUEST request, RESPONSE response, Throwable error, Instant startTime, Instant endTime)
     
    <REQUEST, RESPONSE>
    io.opentelemetry.context.Context
    suppressSpan(Instrumenter<REQUEST,RESPONSE> instrumenter, io.opentelemetry.context.Context parentContext, REQUEST request)
     
  • Method Details

    • startAndEnd

      <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)
    • suppressSpan

      <REQUEST, RESPONSE> io.opentelemetry.context.Context suppressSpan(Instrumenter<REQUEST,RESPONSE> instrumenter, io.opentelemetry.context.Context parentContext, REQUEST request)