public static Matcher<Attributes> containsEntry(String key, String value) {
    return containsEntry(AttributeKey.stringKey(key), value);
  }
Helper methods for matching against instances of {@link io.opentelemetry.api.common.Attributes}.
hbase-client/src/test/java/org/apache/hadoop/hbase/client/trace/hamcrest/AttributesMatchers.java