Remove parent observation key instead of setting null.
When completing a MongoObservation without a parent observation, we now remove the parent observation key from the request context instead of setting it to null.
In reactive usage, the context map is a ConcurrentHashMap that does not allow null values.
Closes#5082
Original pull request #5083
@ -191,7 +192,13 @@ public class MongoObservationCommandListener implements CommandListener {
@@ -191,7 +192,13 @@ public class MongoObservationCommandListener implements CommandListener {
log.debug(
"Restoring parent observation ["+observation+"] for Mongo instrumentation and put it in Mongo context");