public static Matcher<SpanData> buildTableAttributesMatcher(TableName tableName) {
    return hasAttributes(allOf(containsEntry("db.name", tableName.getNamespaceAsString()),
      containsEntry("db.hbase.table", tableName.getNameAsString())));
  }
All {@link Span}s involving {@code tableName} should include these attributes.
hbase-client/src/test/java/org/apache/hadoop/hbase/client/trace/hamcrest/TraceTestUtil.java