Class DbClientSpanNameExtractor<REQUEST>

java.lang.Object
io.opentelemetry.instrumentation.api.instrumenter.db.DbClientSpanNameExtractor<REQUEST>
All Implemented Interfaces:
io.opentelemetry.instrumentation.api.instrumenter.SpanNameExtractor<REQUEST>

public abstract class DbClientSpanNameExtractor<REQUEST> extends Object implements io.opentelemetry.instrumentation.api.instrumenter.SpanNameExtractor<REQUEST>
  • Method Summary

    Modifier and Type
    Method
    Description
    protected String
    computeSpanName(String dbName, String operation, String table)
     
    static <REQUEST> io.opentelemetry.instrumentation.api.instrumenter.SpanNameExtractor<REQUEST>
    Returns a SpanNameExtractor that constructs the span name according to DB semantic conventions: <db.operation> <db.name>.
    static <REQUEST> io.opentelemetry.instrumentation.api.instrumenter.SpanNameExtractor<REQUEST>
    Returns a SpanNameExtractor that constructs the span name according to DB semantic conventions: <db.operation> <db.name>.<table>.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface io.opentelemetry.instrumentation.api.instrumenter.SpanNameExtractor

    extract