class TraceMongoCommandListener implements CommandListener {

  @Nullable static String getNonEmptyBsonString(BsonValue bsonValue) {
    if (bsonValue == null || !bsonValue.isString()) return null;
    String stringValue = bsonValue.asString().getValue().trim();
    return stringValue.isEmpty() ? null : stringValue;
  }

    TraceMongoCommandListener(MongoDBTracing mongoDBTracing);
    TraceMongoCommandListener(ThreadLocalSpan threadLocalSpan);

}