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
Modifier and TypeInterfaceDescriptionstatic interface
A context with lifecycle callbacks for the various stages of request and response processing.static interface
A thread scope. -
Method Summary
Modifier and TypeMethodDescription<TRequest> Instrumentation.Context
newContext
(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.
-