Class ElasticsearchRestInstrumenterFactory
java.lang.Object
io.opentelemetry.instrumentation.elasticsearch.rest.internal.ElasticsearchRestInstrumenterFactory
This class is internal and is hence not for public use. Its APIs are unstable and can change at
any time.
-
Method Summary
Modifier and TypeMethodDescriptionstatic io.opentelemetry.instrumentation.api.instrumenter.Instrumenter<ElasticsearchRestRequest,org.elasticsearch.client.Response> create(io.opentelemetry.api.OpenTelemetry openTelemetry, String instrumentationName, List<io.opentelemetry.instrumentation.api.instrumenter.AttributesExtractor<ElasticsearchRestRequest, org.elasticsearch.client.Response>> attributesExtractors, Set<String> knownMethods, boolean captureSearchQuery)
-
Method Details
-
create
public static io.opentelemetry.instrumentation.api.instrumenter.Instrumenter<ElasticsearchRestRequest,org.elasticsearch.client.Response> create(io.opentelemetry.api.OpenTelemetry openTelemetry, String instrumentationName, List<io.opentelemetry.instrumentation.api.instrumenter.AttributesExtractor<ElasticsearchRestRequest, org.elasticsearch.client.Response>> attributesExtractors, Set<String> knownMethods, boolean captureSearchQuery)
-