Class ElasticsearchRestInstrumenterFactory

java.lang.Object
io.opentelemetry.instrumentation.elasticsearch.rest.internal.ElasticsearchRestInstrumenterFactory

public final class ElasticsearchRestInstrumenterFactory extends Object
This class is internal and is hence not for public use. Its APIs are unstable and can change at any time.
  • 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)