Interface Instrumentation
- All Known Implementing Classes:
NoopInstrumentation,OpenTelemetryForElasticsearch
public interface Instrumentation
Instrumentation for an Elasticsearch client. It allows creating a
Instrumentation.Context for each request,
with callbacks for the various stages of request and response processing.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceA context with lifecycle callbacks for the various stages of request and response processing.static interfaceA thread scope. -
Method Summary
Modifier and TypeMethodDescription<TRequest> Instrumentation.ContextnewContext(TRequest request, Endpoint<TRequest, ?, ?> endpoint) Create a context for a given request and the corresponding endpoint.
-
Method Details
-
newContext
Create a context for a given request and the corresponding endpoint.
-