Clarify local connection expectations
@@ -27,6 +27,7 @@ func main() {
ctx := context.Background()
// nrMon must be added after any other monitors are added, as previous options get overwritten.
+ // This example assumes Mongo is running locally on port 27017
client, err := mongo.Connect(ctx, options.Client().ApplyURI("mongodb://localhost:27017").SetMonitor(nrMon))
if err != nil {
panic(err)
