Class NettyScope
java.lang.Object
io.opentelemetry.javaagent.instrumentation.netty.v3_8.NettyScope
Container used to carry state between enter and exit advices
-
Constructor Summary
ConstructorsConstructorDescriptionNettyScope(io.opentelemetry.context.Context parentContext, io.opentelemetry.instrumentation.netty.common.internal.NettyConnectionRequest request, io.opentelemetry.instrumentation.netty.common.internal.Timer timer) -
Method Summary
Modifier and TypeMethodDescriptionio.opentelemetry.context.Contextio.opentelemetry.instrumentation.netty.common.internal.NettyConnectionRequestio.opentelemetry.instrumentation.netty.common.internal.TimergetTimer()
-
Constructor Details
-
NettyScope
public NettyScope(io.opentelemetry.context.Context parentContext, io.opentelemetry.instrumentation.netty.common.internal.NettyConnectionRequest request, io.opentelemetry.instrumentation.netty.common.internal.Timer timer)
-
-
Method Details
-
getParentContext
public io.opentelemetry.context.Context getParentContext() -
getRequest
public io.opentelemetry.instrumentation.netty.common.internal.NettyConnectionRequest getRequest() -
getTimer
public io.opentelemetry.instrumentation.netty.common.internal.Timer getTimer()
-