When profiling queries it would be easier to isolate queries coming from spark connector if users could add something like
spark.read.format("mongodb").option("comment", "query comment").load()
would be similar to https://www.mongodb.com/docs/manual/reference/operator/query/comment/#mongodb-query-op.-comment. Where profiler would show the $comment