Interface DbClientAttributesGetter<REQUEST>
-
- All Superinterfaces:
DbClientCommonAttributesGetter<REQUEST>
public interface DbClientAttributesGetter<REQUEST> extends DbClientCommonAttributesGetter<REQUEST>
An interface for getting database client attributes.Instrumentation authors will create implementations of this interface for their specific library/framework. It will be used by the
DbClientAttributesExtractorto obtain the various database client attributes in a type-generic way.If an attribute is not available in this library, it is appropriate to return
nullfrom the attribute methods, but implement as many as possible for best compliance with the OpenTelemetry specification.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Stringoperation(REQUEST request)Stringstatement(REQUEST request)-
Methods inherited from interface io.opentelemetry.instrumentation.api.instrumenter.db.DbClientCommonAttributesGetter
connectionString, name, system, user
-
-