Class ElasticsearchRestClientTracer
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringdbOperation(Void connection, String operation, String ignored)protected StringdbSystem(Void connection)protected StringgetInstrumentationName()voidonResponse(io.opentelemetry.context.Context context, org.elasticsearch.client.Response response)protected InetSocketAddresspeerAddress(Void connection)protected StringsanitizeStatement(String operation)static ElasticsearchRestClientTracertracer()-
Methods inherited from class io.opentelemetry.instrumentation.api.tracer.DatabaseClientTracer
conventionSpanName, conventionSpanName, dbConnectionString, dbName, dbStatement, dbUser, onConnection, onStatement, setNetSemanticConvention, shouldStartSpan, spanName, startSpan
-
Methods inherited from class io.opentelemetry.instrumentation.api.tracer.BaseTracer
end, end, endExceptionally, endExceptionally, extract, getVersion, inject, onException, shouldStartSpan, spanBuilder, startSpan, startSpan, startSpan, unwrapThrowable, withClientSpan, withConsumerSpan, withServerSpan
-
-
-
-
Method Detail
-
tracer
public static ElasticsearchRestClientTracer tracer()
-
onResponse
public void onResponse(io.opentelemetry.context.Context context, org.elasticsearch.client.Response response)
-
peerAddress
protected InetSocketAddress peerAddress(Void connection)
-
getInstrumentationName
protected String getInstrumentationName()
- Specified by:
getInstrumentationNamein classio.opentelemetry.instrumentation.api.tracer.BaseTracer
-
-