Refactor out MongoDBSpanStoreUtils