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.
Customizer of the
Context. Instrumented libraries will call start(Context, Object, Attributes) during Instrumenter.start(Context, Object), allowing customization
of the Context that is returned from that method.-
Method Summary
Modifier and TypeMethodDescriptionio.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 Details
-
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.
-