Class DbClientSpanNameExtractor<REQUEST>

java.lang.Object
io.opentelemetry.instrumentation.api.incubator.semconv.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 mainIdentifier)
     
    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>.<identifier>.

    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