operationId and operationIdGenerator in 3.x

7 views
Skip to first unread message

bastia...@instana.com

unread,
Sep 4, 2018, 8:58:28 AM9/4/18
to node-mongodb-native
Hi folks,

It seems the concepts operationId and operationIdGenerator have been removed completely in 3.x in this commit 

The corresponding test has been disabled in this commit:


So from looking at the code I guess that specifying an operationIdGenerator does no longer work and that events will never have the operationId property - this also seems to be confirmed by tests with the latest 3.1.4. 

However, the latest 3.1 docs still reference these concepts as if they were a thing: http://mongodb.github.io/node-mongodb-native/3.1/reference/management/apm/

Furthermore (and this is the real issue for us as an APM vendor), there seem to be no docs around how to replace/migrate existing usage of operationId and operationIdGenerator, that is, how to correlate individual commands into a single logical command execution (for example bulk writes).

Kind regards

  Bastian 
Reply all
Reply to author
Forward
0 new messages