Interface ContextCustomizer<REQUEST>
-
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface ContextCustomizer<REQUEST>
Customizer of theContext. Instrumented libraries will callstart(Context, Object, Attributes)duringInstrumenter.start(Context, Object), allowing customization of theContextthat is returned from that method.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description io.opentelemetry.context.Contextstart(io.opentelemetry.context.Context context, REQUEST request, io.opentelemetry.api.common.Attributes startAttributes)Context customizer method that is called duringInstrumenter.start(Context, Object), allowing customization of theContextthat is returned from that method.
-
-
-
Method Detail
-
start
io.opentelemetry.context.Context start(io.opentelemetry.context.Context context, REQUEST request, io.opentelemetry.api.common.Attributes startAttributes)Context customizer method that is called duringInstrumenter.start(Context, Object), allowing customization of theContextthat is returned from that method.
-
-