Class TableSpanBuilder

java.lang.Object
org.apache.hadoop.hbase.client.trace.TableSpanBuilder
All Implemented Interfaces:
Supplier<io.opentelemetry.api.trace.Span>

@Private public class TableSpanBuilder extends Object implements Supplier<io.opentelemetry.api.trace.Span>
Construct Span instances involving data tables.
  • Field Details

  • Constructor Details

  • Method Details

    • get

      public io.opentelemetry.api.trace.Span get()
      Specified by:
      get in interface Supplier<io.opentelemetry.api.trace.Span>
    • setName

    • setTableName

    • build

      public io.opentelemetry.api.trace.Span build()
    • populateTableNameAttributes

      static void populateTableNameAttributes(Map<io.opentelemetry.api.common.AttributeKey<?>,Object> attributes, TableName tableName)
      Static utility method that performs the primary logic of this builder. It is visible to other classes in this package so that other builders can use this functionality as a mix-in.
      Parameters:
      attributes - the attributes map to be populated.
      tableName - the source of attribute values.