Improvements
Rewrote the
cassandra-cqlandmemcachedinstrumentations using theDatastoreShim.Improved instrumentation matching.
Previously, the agent would determine which instrumentation would run for a given module being loaded using the basename of the file path. This lead to false positives (e.g.
myapp/lib/express.jswould trigger the express instrumentation) which we previously just ignored. Matches are now determined using the string passed torequire. This means you can now match local relative paths (./lib/something) as well as package-relative paths (amqplib/callback_api).