Class TraceTestUtil

java.lang.Object
org.apache.hadoop.hbase.client.trace.hamcrest.TraceTestUtil

public final class TraceTestUtil extends Object
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    private
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.hamcrest.Matcher<io.opentelemetry.sdk.trace.data.SpanData>
    buildConnectionAttributesMatcher(org.apache.hadoop.hbase.client.AsyncConnectionImpl conn)
    All Spans involving conn should include these attributes.
    static org.hamcrest.Matcher<io.opentelemetry.sdk.trace.data.SpanData>
    buildTableAttributesMatcher(org.apache.hadoop.hbase.TableName tableName)
    All Spans involving tableName should include these attributes.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • buildConnectionAttributesMatcher

      public static org.hamcrest.Matcher<io.opentelemetry.sdk.trace.data.SpanData> buildConnectionAttributesMatcher(org.apache.hadoop.hbase.client.AsyncConnectionImpl conn)
      All Spans involving conn should include these attributes.
    • buildTableAttributesMatcher

      public static org.hamcrest.Matcher<io.opentelemetry.sdk.trace.data.SpanData> buildTableAttributesMatcher(org.apache.hadoop.hbase.TableName tableName)
      All Spans involving tableName should include these attributes.