Make MongoHandlerContext
public to leverage contextual information to customize Observation
s
#4622
Labels
type: enhancement
A general enhancement
Milestone
Observation tracing remote service name is hardcoded as "mongo". For microservices, we may need remote service name in pattern
mongo-dbname
.MongoObservationCommandListener.java
line 108:
---
observationContext.setRemoteServiceName("mongo");+++ observationContext.setRemoteServiceName("mongo-%s".formatted(databaseName));
The text was updated successfully, but these errors were encountered: